files.com 1.0.145 → 1.0.149
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/lib/Api.js +6 -5
- package/lib/Files.js +4 -4
- package/lib/Logger.js +4 -3
- package/lib/models/AccountLineItem.js +6 -5
- package/lib/models/Action.js +6 -5
- package/lib/models/ActionNotificationExport.js +6 -5
- package/lib/models/ActionNotificationExportResult.js +6 -5
- package/lib/models/ActionWebhookFailure.js +6 -5
- package/lib/models/ApiKey.js +6 -5
- package/lib/models/App.js +6 -5
- package/lib/models/As2Key.js +6 -5
- package/lib/models/Auto.js +6 -5
- package/lib/models/Automation.js +6 -5
- package/lib/models/AutomationRun.js +6 -5
- package/lib/models/BandwidthSnapshot.js +6 -5
- package/lib/models/Behavior.js +6 -5
- package/lib/models/Bundle.js +6 -5
- package/lib/models/BundleDownload.js +6 -5
- package/lib/models/BundleRecipient.js +6 -5
- package/lib/models/BundleRegistration.js +6 -5
- package/lib/models/Clickwrap.js +6 -5
- package/lib/models/DnsRecord.js +6 -5
- package/lib/models/Errors.js +6 -5
- package/lib/models/ExternalEvent.js +6 -5
- package/lib/models/File.js +6 -5
- package/lib/models/FileAction.js +6 -5
- package/lib/models/FileComment.js +6 -5
- package/lib/models/FileCommentReaction.js +6 -5
- package/lib/models/FileMigration.js +6 -5
- package/lib/models/FileUploadPart.js +6 -5
- package/lib/models/Folder.js +6 -5
- package/lib/models/FormField.js +6 -5
- package/lib/models/FormFieldSet.js +6 -5
- package/lib/models/Group.js +6 -5
- package/lib/models/GroupUser.js +6 -5
- package/lib/models/History.js +6 -5
- package/lib/models/HistoryExport.js +6 -5
- package/lib/models/HistoryExportResult.js +6 -5
- package/lib/models/Image.js +6 -5
- package/lib/models/InboxRecipient.js +6 -5
- package/lib/models/InboxRegistration.js +6 -5
- package/lib/models/InboxUpload.js +6 -5
- package/lib/models/Invoice.js +6 -5
- package/lib/models/InvoiceLineItem.js +6 -5
- package/lib/models/IpAddress.js +6 -5
- package/lib/models/Lock.js +6 -5
- package/lib/models/Message.js +6 -5
- package/lib/models/MessageComment.js +6 -5
- package/lib/models/MessageCommentReaction.js +6 -5
- package/lib/models/MessageReaction.js +6 -5
- package/lib/models/Notification.js +6 -5
- package/lib/models/Payment.js +6 -5
- package/lib/models/PaymentLineItem.js +6 -5
- package/lib/models/Permission.js +6 -5
- package/lib/models/Preview.js +6 -5
- package/lib/models/Priority.js +6 -5
- package/lib/models/Project.js +6 -5
- package/lib/models/PublicIpAddress.js +6 -5
- package/lib/models/PublicKey.js +6 -5
- package/lib/models/RemoteServer.js +6 -5
- package/lib/models/Request.js +6 -5
- package/lib/models/Session.js +6 -5
- package/lib/models/SettingsChange.js +6 -5
- package/lib/models/Site.js +6 -5
- package/lib/models/SsoStrategy.js +6 -5
- package/lib/models/Status.js +6 -5
- package/lib/models/Style.js +6 -5
- package/lib/models/SyncJob.js +6 -5
- package/lib/models/UsageDailySnapshot.js +6 -5
- package/lib/models/UsageSnapshot.js +6 -5
- package/lib/models/User.js +6 -5
- package/lib/models/UserCipherUse.js +6 -5
- package/lib/models/UserRequest.js +6 -5
- package/lib/models/WebhookTest.js +6 -5
- package/package.json +1 -1
- package/src/models/ActionNotificationExportResult.js +1 -1
- package/src/models/ApiKey.js +1 -1
- package/src/models/App.js +7 -7
- package/src/models/As2Key.js +1 -1
- package/src/models/Automation.js +1 -1
- package/src/models/AutomationRun.js +1 -1
- package/src/models/BandwidthSnapshot.js +1 -1
- package/src/models/Behavior.js +2 -2
- package/src/models/Bundle.js +1 -1
- package/src/models/BundleDownload.js +1 -1
- package/src/models/BundleRecipient.js +1 -1
- 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 +7 -7
- package/src/models/FileComment.js +1 -1
- package/src/models/Folder.js +1 -1
- package/src/models/FormFieldSet.js +1 -1
- package/src/models/Group.js +1 -1
- package/src/models/GroupUser.js +1 -1
- package/src/models/History.js +5 -5
- package/src/models/HistoryExportResult.js +1 -1
- package/src/models/InboxRecipient.js +1 -1
- package/src/models/InboxRegistration.js +1 -1
- package/src/models/InboxUpload.js +1 -1
- package/src/models/Invoice.js +1 -1
- package/src/models/IpAddress.js +2 -2
- 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 +1 -1
- package/src/models/Payment.js +1 -1
- package/src/models/Permission.js +7 -7
- package/src/models/Priority.js +1 -1
- package/src/models/Project.js +1 -1
- package/src/models/PublicKey.js +1 -1
- package/src/models/RemoteServer.js +1 -1
- package/src/models/Request.js +2 -2
- package/src/models/SettingsChange.js +1 -1
- package/src/models/SsoStrategy.js +1 -1
- package/src/models/SyncJob.js +1 -1
- package/src/models/UsageDailySnapshot.js +7 -7
- package/src/models/UsageSnapshot.js +1 -1
- package/src/models/User.js +7 -7
- package/src/models/UserCipherUse.js +1 -1
- package/src/models/UserRequest.js +1 -1
package/src/models/Group.js
CHANGED
@@ -146,7 +146,7 @@ class Group {
|
|
146
146
|
}
|
147
147
|
|
148
148
|
// Parameters:
|
149
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
149
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
150
150
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
151
151
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name`.
|
152
152
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
|
package/src/models/GroupUser.js
CHANGED
@@ -181,7 +181,7 @@ class GroupUser {
|
|
181
181
|
|
182
182
|
// Parameters:
|
183
183
|
// user_id - int64 - User ID. If provided, will return group_users of this user.
|
184
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
184
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
185
185
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
186
186
|
// group_id - int64 - Group ID. If provided, will return group_users of this group.
|
187
187
|
static list = async (params = {}, options = {}) => {
|
package/src/models/History.js
CHANGED
@@ -66,7 +66,7 @@ class History {
|
|
66
66
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
67
67
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
68
68
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
69
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
69
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
70
70
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
71
71
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
72
72
|
// path (required) - string - Path to operate on.
|
@@ -114,7 +114,7 @@ class History {
|
|
114
114
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
115
115
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
116
116
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
117
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
117
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
118
118
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
119
119
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
120
120
|
// path (required) - string - Path to operate on.
|
@@ -162,7 +162,7 @@ class History {
|
|
162
162
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
163
163
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
164
164
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
165
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
165
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
166
166
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
167
167
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
168
168
|
// user_id (required) - int64 - User ID.
|
@@ -210,7 +210,7 @@ class History {
|
|
210
210
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
211
211
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
212
212
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
213
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
213
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
214
214
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
215
215
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `user_id` and `created_at`.
|
216
216
|
static listLogins = async (params = {}, options = {}) => {
|
@@ -243,7 +243,7 @@ class History {
|
|
243
243
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
244
244
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
245
245
|
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
246
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
246
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
247
247
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
248
248
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
|
249
249
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
|
@@ -94,7 +94,7 @@ class HistoryExportResult {
|
|
94
94
|
|
95
95
|
// Parameters:
|
96
96
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
97
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
97
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
98
98
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
99
99
|
// history_export_id (required) - int64 - ID of the associated history export.
|
100
100
|
static list = async (params = {}, options = {}) => {
|
@@ -91,7 +91,7 @@ class InboxRecipient {
|
|
91
91
|
|
92
92
|
// Parameters:
|
93
93
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
94
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
94
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
95
95
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
96
96
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
|
97
97
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
@@ -54,7 +54,7 @@ class InboxRegistration {
|
|
54
54
|
|
55
55
|
|
56
56
|
// Parameters:
|
57
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
57
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
58
58
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
59
59
|
// folder_behavior_id - int64 - ID of the associated Inbox.
|
60
60
|
static list = async (params = {}, options = {}) => {
|
@@ -32,7 +32,7 @@ class InboxUpload {
|
|
32
32
|
|
33
33
|
|
34
34
|
// Parameters:
|
35
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
35
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
36
36
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
37
37
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
|
38
38
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
package/src/models/Invoice.js
CHANGED
@@ -66,7 +66,7 @@ class Invoice {
|
|
66
66
|
|
67
67
|
|
68
68
|
// Parameters:
|
69
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
69
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
70
70
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
71
71
|
static list = async (params = {}, options = {}) => {
|
72
72
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/IpAddress.js
CHANGED
@@ -36,7 +36,7 @@ class IpAddress {
|
|
36
36
|
|
37
37
|
|
38
38
|
// Parameters:
|
39
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
39
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
40
40
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
41
41
|
static list = async (params = {}, options = {}) => {
|
42
42
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -56,7 +56,7 @@ class IpAddress {
|
|
56
56
|
IpAddress.list(params, options)
|
57
57
|
|
58
58
|
// Parameters:
|
59
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
59
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
60
60
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
61
61
|
static getReserved = async (params = {}, options = {}) => {
|
62
62
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Lock.js
CHANGED
@@ -155,7 +155,7 @@ class Lock {
|
|
155
155
|
}
|
156
156
|
|
157
157
|
// Parameters:
|
158
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
158
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
159
159
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
160
160
|
// path (required) - string - Path to operate on.
|
161
161
|
// include_children - boolean - Include locks from children objects?
|
package/src/models/Message.js
CHANGED
@@ -167,7 +167,7 @@ class Message {
|
|
167
167
|
|
168
168
|
// Parameters:
|
169
169
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
170
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
170
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
171
171
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
172
172
|
// project_id (required) - int64 - Project for which to return messages.
|
173
173
|
static list = async (params = {}, options = {}) => {
|
@@ -129,7 +129,7 @@ class MessageComment {
|
|
129
129
|
|
130
130
|
// Parameters:
|
131
131
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
132
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
132
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
133
133
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
134
134
|
// message_id (required) - int64 - Message comment to return comments for.
|
135
135
|
static list = async (params = {}, options = {}) => {
|
@@ -84,7 +84,7 @@ class MessageCommentReaction {
|
|
84
84
|
|
85
85
|
// Parameters:
|
86
86
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
87
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
87
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
88
88
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
// message_comment_id (required) - int64 - Message comment to return reactions for.
|
90
90
|
static list = async (params = {}, options = {}) => {
|
@@ -84,7 +84,7 @@ class MessageReaction {
|
|
84
84
|
|
85
85
|
// Parameters:
|
86
86
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
87
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
87
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
88
88
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
// message_id (required) - int64 - Message to return reactions for.
|
90
90
|
static list = async (params = {}, options = {}) => {
|
@@ -187,7 +187,7 @@ class Notification {
|
|
187
187
|
|
188
188
|
// Parameters:
|
189
189
|
// user_id - int64 - DEPRECATED: Show notifications for this User ID. Use `filter[user_id]` instead.
|
190
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
190
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
191
191
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
192
192
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `user_id` or `group_id`.
|
193
193
|
// 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`.
|
package/src/models/Payment.js
CHANGED
@@ -66,7 +66,7 @@ class Payment {
|
|
66
66
|
|
67
67
|
|
68
68
|
// Parameters:
|
69
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
69
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
70
70
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
71
71
|
static list = async (params = {}, options = {}) => {
|
72
72
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Permission.js
CHANGED
@@ -118,15 +118,15 @@ class Permission {
|
|
118
118
|
}
|
119
119
|
|
120
120
|
// Parameters:
|
121
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
121
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
122
122
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
123
123
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `group_id`, `path`, `user_id` or `permission`.
|
124
|
-
// 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`.
|
125
|
-
// 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`.
|
126
|
-
// 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`.
|
127
|
-
// filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
|
128
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `group_id`, `user_id` or `path`.
|
129
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
|
124
|
+
// 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 ]`.
|
125
|
+
// 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 ]`.
|
126
|
+
// 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 ]`.
|
127
|
+
// filter_like - 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
|
+
// filter_lt - object - If set, return records where the specified field is less 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
|
+
// filter_lteq - object - If set, return records where the specified field is less 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 ]`.
|
130
130
|
// path - string - DEPRECATED: Permission path. If provided, will scope permissions to this path. Use `filter[path]` instead.
|
131
131
|
// group_id - string - DEPRECATED: Group ID. If provided, will scope permissions to this group. Use `filter[group_id]` instead.`
|
132
132
|
// user_id - string - DEPRECATED: User ID. If provided, will scope permissions to this user. Use `filter[user_id]` instead.`
|
package/src/models/Priority.js
CHANGED
@@ -30,7 +30,7 @@ class Priority {
|
|
30
30
|
|
31
31
|
|
32
32
|
// Parameters:
|
33
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
33
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
34
34
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
// path (required) - string - The path to query for priorities
|
36
36
|
static list = async (path, params = {}, options = {}) => {
|
package/src/models/Project.js
CHANGED
@@ -114,7 +114,7 @@ class Project {
|
|
114
114
|
}
|
115
115
|
|
116
116
|
// Parameters:
|
117
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
117
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
118
118
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
119
119
|
static list = async (params = {}, options = {}) => {
|
120
120
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/PublicKey.js
CHANGED
@@ -139,7 +139,7 @@ class PublicKey {
|
|
139
139
|
|
140
140
|
// Parameters:
|
141
141
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
142
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
142
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
143
143
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
144
144
|
static list = async (params = {}, options = {}) => {
|
145
145
|
if (params['user_id'] && !isInt(params['user_id'])) {
|
@@ -575,7 +575,7 @@ class RemoteServer {
|
|
575
575
|
}
|
576
576
|
|
577
577
|
// Parameters:
|
578
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
578
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
579
579
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
580
580
|
static list = async (params = {}, options = {}) => {
|
581
581
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/Request.js
CHANGED
@@ -118,7 +118,7 @@ class Request {
|
|
118
118
|
}
|
119
119
|
|
120
120
|
// Parameters:
|
121
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
121
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
122
122
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
123
123
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `destination`.
|
124
124
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
@@ -145,7 +145,7 @@ class Request {
|
|
145
145
|
Request.list(params, options)
|
146
146
|
|
147
147
|
// Parameters:
|
148
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
148
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
149
149
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
150
150
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `destination`.
|
151
151
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
@@ -36,7 +36,7 @@ class SettingsChange {
|
|
36
36
|
|
37
37
|
|
38
38
|
// Parameters:
|
39
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
39
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
40
40
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
41
41
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `api_key_id`, `created_at` or `user_id`.
|
42
42
|
// 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`.
|
@@ -153,7 +153,7 @@ class SsoStrategy {
|
|
153
153
|
|
154
154
|
|
155
155
|
// Parameters:
|
156
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
156
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
157
157
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
158
158
|
static list = async (params = {}, options = {}) => {
|
159
159
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/SyncJob.js
CHANGED
@@ -42,7 +42,7 @@ class SyncJob {
|
|
42
42
|
|
43
43
|
|
44
44
|
// Parameters:
|
45
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
45
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
46
46
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
47
47
|
static list = async (params = {}, options = {}) => {
|
48
48
|
if (params['cursor'] && !isString(params['cursor'])) {
|
@@ -36,15 +36,15 @@ class UsageDailySnapshot {
|
|
36
36
|
|
37
37
|
|
38
38
|
// Parameters:
|
39
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
39
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
40
40
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
41
41
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `date` and `usage_snapshot_id`.
|
42
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
43
|
-
// 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`.
|
44
|
-
// 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`.
|
45
|
-
// filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
46
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
47
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
|
42
|
+
// 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 ]`.
|
43
|
+
// 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 ]`.
|
44
|
+
// 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 ]`.
|
45
|
+
// filter_like - 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 ]`.
|
46
|
+
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
47
|
+
// filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
|
48
48
|
static list = async (params = {}, options = {}) => {
|
49
49
|
if (params['cursor'] && !isString(params['cursor'])) {
|
50
50
|
throw new Error(`Bad parameter: cursor must be of type String, received ${getType(cursor)}`)
|
@@ -66,7 +66,7 @@ class UsageSnapshot {
|
|
66
66
|
|
67
67
|
|
68
68
|
// Parameters:
|
69
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
69
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
70
70
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
71
71
|
static list = async (params = {}, options = {}) => {
|
72
72
|
if (params['cursor'] && !isString(params['cursor'])) {
|
package/src/models/User.js
CHANGED
@@ -687,15 +687,15 @@ class User {
|
|
687
687
|
}
|
688
688
|
|
689
689
|
// Parameters:
|
690
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
690
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
691
691
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
692
692
|
// sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `authenticate_until`, `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`.
|
693
|
-
// 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`.
|
694
|
-
// 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`.
|
695
|
-
// 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`.
|
696
|
-
// filter_like - 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`.
|
697
|
-
// filter_lt - object - If set, return records where the specified field is less 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`.
|
698
|
-
// filter_lteq - object - If set, return records where the specified field is less 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`.
|
693
|
+
// 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 ]`.
|
694
|
+
// 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 ]`.
|
695
|
+
// 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 ]`.
|
696
|
+
// filter_like - 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 ]`.
|
697
|
+
// filter_lt - object - If set, return records where the specified field is less 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 ]`.
|
698
|
+
// filter_lteq - object - If set, return records where the specified field is less 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 ]`.
|
699
699
|
// ids - string - comma-separated list of User IDs
|
700
700
|
// q[username] - string - List users matching username.
|
701
701
|
// q[email] - string - List users matching email.
|
@@ -43,7 +43,7 @@ class UserCipherUse {
|
|
43
43
|
|
44
44
|
// Parameters:
|
45
45
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
46
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
46
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
47
47
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
48
48
|
static list = async (params = {}, options = {}) => {
|
49
49
|
if (params['user_id'] && !isInt(params['user_id'])) {
|
@@ -90,7 +90,7 @@ class UserRequest {
|
|
90
90
|
}
|
91
91
|
|
92
92
|
// Parameters:
|
93
|
-
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
93
|
+
// cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
|
94
94
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
95
95
|
static list = async (params = {}, options = {}) => {
|
96
96
|
if (params['cursor'] && !isString(params['cursor'])) {
|