files.com 1.2.170 → 1.2.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +17 -0
- package/docs/models/ApiKey.md +21 -0
- package/docs/models/ApiRequestLog.md +14 -0
- package/docs/models/App.md +15 -0
- package/docs/models/As2IncomingMessage.md +21 -0
- package/docs/models/As2OutgoingMessage.md +21 -0
- package/docs/models/As2Partner.md +9 -0
- package/docs/models/As2Station.md +9 -0
- package/docs/models/Automation.md +18 -0
- package/docs/models/AutomationLog.md +14 -0
- package/docs/models/AutomationRun.md +17 -0
- package/docs/models/BandwidthSnapshot.md +18 -0
- package/docs/models/Behavior.md +15 -0
- package/docs/models/Bundle.md +22 -0
- package/docs/models/BundleAction.md +18 -0
- package/docs/models/BundleDownload.md +23 -0
- package/docs/models/BundleNotification.md +14 -0
- package/docs/models/BundleRecipient.md +17 -0
- package/docs/models/BundleRegistration.md +15 -0
- package/docs/models/Clickwrap.md +9 -0
- package/docs/models/DnsRecord.md +9 -0
- package/docs/models/EmailIncomingMessage.md +19 -0
- package/docs/models/EmailLog.md +14 -0
- package/docs/models/ExavaultApiRequestLog.md +14 -0
- package/docs/models/Export.md +27 -1
- package/docs/models/ExternalEvent.md +19 -0
- package/docs/models/FileMigrationLog.md +14 -0
- package/docs/models/FormFieldSet.md +15 -0
- package/docs/models/FtpActionLog.md +14 -0
- package/docs/models/GpgKey.md +16 -0
- package/docs/models/Group.md +19 -0
- package/docs/models/GroupUser.md +17 -0
- package/docs/models/History.md +85 -0
- package/docs/models/HistoryExportResult.md +17 -0
- package/docs/models/InboxRecipient.md +17 -0
- package/docs/models/InboxRegistration.md +15 -0
- package/docs/models/InboxUpload.md +19 -1
- package/docs/models/Invoice.md +9 -0
- package/docs/models/IpAddress.md +36 -0
- package/docs/models/Message.md +17 -0
- package/docs/models/MessageComment.md +17 -0
- package/docs/models/MessageCommentReaction.md +17 -0
- package/docs/models/MessageReaction.md +17 -0
- package/docs/models/Notification.md +20 -0
- package/docs/models/OutboundConnectionLog.md +14 -0
- package/docs/models/Payment.md +9 -0
- package/docs/models/Permission.md +21 -0
- package/docs/models/Priority.md +13 -0
- package/docs/models/Project.md +9 -0
- package/docs/models/PublicHostingRequestLog.md +14 -0
- package/docs/models/PublicKey.md +15 -0
- package/docs/models/RemoteBandwidthSnapshot.md +18 -0
- package/docs/models/RemoteServer.md +15 -0
- package/docs/models/Request.md +17 -0
- package/docs/models/SettingsChange.md +14 -0
- package/docs/models/SftpActionLog.md +14 -0
- package/docs/models/SftpHostKey.md +9 -0
- package/docs/models/ShareGroup.md +15 -0
- package/docs/models/SiemHttpDestination.md +9 -0
- package/docs/models/Snapshot.md +9 -0
- package/docs/models/SsoStrategy.md +9 -0
- package/docs/models/SyncLog.md +14 -0
- package/docs/models/UsageDailySnapshot.md +18 -0
- package/docs/models/UsageSnapshot.md +9 -0
- package/docs/models/User.md +24 -0
- package/docs/models/UserCipherUse.md +15 -0
- package/docs/models/UserRequest.md +9 -0
- package/docs/models/UserSftpClientUse.md +15 -0
- package/docs/models/WebDavActionLog.md +14 -0
- package/lib/Files.js +1 -1
- package/lib/models/ActionNotificationExportResult.js +44 -0
- package/lib/models/ApiKey.js +57 -20
- package/lib/models/ApiRequestLog.js +26 -0
- package/lib/models/App.js +27 -0
- package/lib/models/As2IncomingMessage.js +37 -0
- package/lib/models/As2OutgoingMessage.js +37 -0
- package/lib/models/As2Partner.js +21 -0
- package/lib/models/As2Station.js +21 -0
- package/lib/models/Automation.js +30 -0
- package/lib/models/AutomationLog.js +26 -0
- package/lib/models/AutomationRun.js +39 -0
- package/lib/models/BandwidthSnapshot.js +30 -0
- package/lib/models/Behavior.js +27 -0
- package/lib/models/Bundle.js +38 -0
- package/lib/models/BundleAction.js +30 -0
- package/lib/models/BundleDownload.js +44 -0
- package/lib/models/BundleNotification.js +26 -0
- package/lib/models/BundleRecipient.js +39 -0
- package/lib/models/BundleRegistration.js +31 -0
- package/lib/models/Clickwrap.js +21 -0
- package/lib/models/DnsRecord.js +21 -0
- package/lib/models/EmailIncomingMessage.js +31 -0
- package/lib/models/EmailLog.js +26 -0
- package/lib/models/ExavaultApiRequestLog.js +26 -0
- package/lib/models/Export.js +143 -34
- package/lib/models/ExternalEvent.js +31 -0
- package/lib/models/FileMigrationLog.js +26 -0
- package/lib/models/FormFieldSet.js +31 -0
- package/lib/models/FtpActionLog.js +26 -0
- package/lib/models/GpgKey.js +32 -0
- package/lib/models/Group.js +35 -0
- package/lib/models/GroupUser.js +38 -0
- package/lib/models/History.js +307 -0
- package/lib/models/HistoryExportResult.js +44 -0
- package/lib/models/InboxRecipient.js +39 -0
- package/lib/models/InboxRegistration.js +31 -0
- package/lib/models/InboxUpload.js +31 -1
- package/lib/models/Invoice.js +21 -0
- package/lib/models/IpAddress.js +84 -0
- package/lib/models/Message.js +44 -0
- package/lib/models/MessageComment.js +44 -0
- package/lib/models/MessageCommentReaction.js +44 -0
- package/lib/models/MessageReaction.js +44 -0
- package/lib/models/Notification.js +42 -0
- package/lib/models/OutboundConnectionLog.js +26 -0
- package/lib/models/Payment.js +21 -0
- package/lib/models/Permission.js +49 -0
- package/lib/models/Priority.js +49 -0
- package/lib/models/Project.js +21 -0
- package/lib/models/PublicHostingRequestLog.js +26 -0
- package/lib/models/PublicKey.js +31 -0
- package/lib/models/RemoteBandwidthSnapshot.js +30 -0
- package/lib/models/RemoteServer.js +27 -0
- package/lib/models/Request.js +33 -0
- package/lib/models/SettingsChange.js +26 -0
- package/lib/models/SftpActionLog.js +26 -0
- package/lib/models/SftpHostKey.js +21 -0
- package/lib/models/ShareGroup.js +31 -0
- package/lib/models/SiemHttpDestination.js +46 -25
- package/lib/models/Snapshot.js +21 -0
- package/lib/models/SsoStrategy.js +21 -0
- package/lib/models/SyncLog.js +26 -0
- package/lib/models/UsageDailySnapshot.js +30 -0
- package/lib/models/UsageSnapshot.js +21 -0
- package/lib/models/User.js +46 -0
- package/lib/models/UserCipherUse.js +31 -0
- package/lib/models/UserRequest.js +21 -0
- package/lib/models/UserSftpClientUse.js +31 -0
- package/lib/models/WebDavActionLog.js +26 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ActionNotificationExportResult.js +22 -0
- package/src/models/ApiKey.js +19 -0
- package/src/models/ApiRequestLog.js +10 -0
- package/src/models/App.js +11 -0
- package/src/models/As2IncomingMessage.js +19 -0
- package/src/models/As2OutgoingMessage.js +19 -0
- package/src/models/As2Partner.js +7 -0
- package/src/models/As2Station.js +7 -0
- package/src/models/Automation.js +14 -0
- package/src/models/AutomationLog.js +10 -0
- package/src/models/AutomationRun.js +19 -0
- package/src/models/BandwidthSnapshot.js +14 -0
- package/src/models/Behavior.js +11 -0
- package/src/models/Bundle.js +20 -0
- package/src/models/BundleAction.js +14 -0
- package/src/models/BundleDownload.js +24 -0
- package/src/models/BundleNotification.js +10 -0
- package/src/models/BundleRecipient.js +19 -0
- package/src/models/BundleRegistration.js +13 -0
- package/src/models/Clickwrap.js +7 -0
- package/src/models/DnsRecord.js +7 -0
- package/src/models/EmailIncomingMessage.js +15 -0
- package/src/models/EmailLog.js +10 -0
- package/src/models/ExavaultApiRequestLog.js +10 -0
- package/src/models/Export.js +83 -0
- package/src/models/ExternalEvent.js +15 -0
- package/src/models/FileMigrationLog.js +10 -0
- package/src/models/FormFieldSet.js +13 -0
- package/src/models/FtpActionLog.js +10 -0
- package/src/models/GpgKey.js +14 -0
- package/src/models/Group.js +17 -0
- package/src/models/GroupUser.js +18 -0
- package/src/models/History.js +167 -0
- package/src/models/HistoryExportResult.js +22 -0
- package/src/models/InboxRecipient.js +19 -0
- package/src/models/InboxRegistration.js +13 -0
- package/src/models/InboxUpload.js +15 -1
- package/src/models/Invoice.js +7 -0
- package/src/models/IpAddress.js +28 -0
- package/src/models/Message.js +22 -0
- package/src/models/MessageComment.js +22 -0
- package/src/models/MessageCommentReaction.js +22 -0
- package/src/models/MessageReaction.js +22 -0
- package/src/models/Notification.js +22 -0
- package/src/models/OutboundConnectionLog.js +10 -0
- package/src/models/Payment.js +7 -0
- package/src/models/Permission.js +27 -0
- package/src/models/Priority.js +23 -0
- package/src/models/Project.js +7 -0
- package/src/models/PublicHostingRequestLog.js +10 -0
- package/src/models/PublicKey.js +13 -0
- package/src/models/RemoteBandwidthSnapshot.js +14 -0
- package/src/models/RemoteServer.js +11 -0
- package/src/models/Request.js +15 -0
- package/src/models/SettingsChange.js +10 -0
- package/src/models/SftpActionLog.js +10 -0
- package/src/models/SftpHostKey.js +7 -0
- package/src/models/ShareGroup.js +13 -0
- package/src/models/SiemHttpDestination.js +7 -0
- package/src/models/Snapshot.js +7 -0
- package/src/models/SsoStrategy.js +7 -0
- package/src/models/SyncLog.js +10 -0
- package/src/models/UsageDailySnapshot.js +14 -0
- package/src/models/UsageSnapshot.js +7 -0
- package/src/models/User.js +26 -0
- package/src/models/UserCipherUse.js +13 -0
- package/src/models/UserRequest.js +7 -0
- package/src/models/UserSftpClientUse.js +13 -0
- package/src/models/WebDavActionLog.js +10 -0
|
@@ -239,6 +239,19 @@ class FormFieldSet {
|
|
|
239
239
|
|
|
240
240
|
return new FormFieldSet(response?.data, options)
|
|
241
241
|
}
|
|
242
|
+
|
|
243
|
+
// Parameters:
|
|
244
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
245
|
+
static createExport = async (params = {}, options = {}) => {
|
|
246
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
247
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
const response = await Api.sendRequest('/form_field_sets/create_export', 'POST', params, options)
|
|
251
|
+
|
|
252
|
+
const Export = require('./Export.js').default
|
|
253
|
+
return new Export(response?.data, options)
|
|
254
|
+
}
|
|
242
255
|
}
|
|
243
256
|
|
|
244
257
|
export default FormFieldSet
|
|
@@ -103,6 +103,16 @@ class FtpActionLog {
|
|
|
103
103
|
|
|
104
104
|
static all = (params = {}, options = {}) =>
|
|
105
105
|
FtpActionLog.list(params, options)
|
|
106
|
+
|
|
107
|
+
// Parameters:
|
|
108
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `path`, `true_path`, `remote_ip`, `session_uuid`, `success`, `action_type` or `username`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ action_type ]`, `[ username ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, true_path ]`, `[ start_date, remote_ip ]`, `[ start_date, session_uuid ]`, `[ start_date, success ]`, `[ start_date, action_type ]`, `[ start_date, username ]`, `[ end_date, path ]`, `[ end_date, true_path ]`, `[ end_date, remote_ip ]`, `[ end_date, session_uuid ]`, `[ end_date, success ]`, `[ end_date, action_type ]`, `[ end_date, username ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, action_type ]`, `[ path, username ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ session_uuid, success ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ success, action_type ]`, `[ success, username ]`, `[ action_type, username ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, true_path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, session_uuid ]`, `[ start_date, end_date, success ]`, `[ start_date, end_date, action_type ]`, `[ start_date, end_date, username ]`, `[ start_date, path, true_path ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, session_uuid ]`, `[ start_date, path, success ]`, `[ start_date, path, action_type ]`, `[ start_date, path, username ]`, `[ start_date, true_path, remote_ip ]`, `[ start_date, true_path, session_uuid ]`, `[ start_date, true_path, success ]`, `[ start_date, true_path, action_type ]`, `[ start_date, true_path, username ]`, `[ start_date, remote_ip, session_uuid ]`, `[ start_date, remote_ip, success ]`, `[ start_date, remote_ip, action_type ]`, `[ start_date, remote_ip, username ]`, `[ start_date, session_uuid, success ]`, `[ start_date, session_uuid, action_type ]`, `[ start_date, session_uuid, username ]`, `[ start_date, success, action_type ]`, `[ start_date, success, username ]`, `[ start_date, action_type, username ]`, `[ end_date, path, true_path ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, session_uuid ]`, `[ end_date, path, success ]`, `[ end_date, path, action_type ]`, `[ end_date, path, username ]`, `[ end_date, true_path, remote_ip ]`, `[ end_date, true_path, session_uuid ]`, `[ end_date, true_path, success ]`, `[ end_date, true_path, action_type ]`, `[ end_date, true_path, username ]`, `[ end_date, remote_ip, session_uuid ]`, `[ end_date, remote_ip, success ]`, `[ end_date, remote_ip, action_type ]`, `[ end_date, remote_ip, username ]`, `[ end_date, session_uuid, success ]`, `[ end_date, session_uuid, action_type ]`, `[ end_date, session_uuid, username ]`, `[ end_date, success, action_type ]`, `[ end_date, success, username ]`, `[ end_date, action_type, username ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, action_type, username ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, action_type, username ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, action_type, username ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, action_type, username ]`, `[ success, action_type, username ]`, `[ start_date, end_date, path, true_path ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, session_uuid ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, path, action_type ]`, `[ start_date, end_date, path, username ]`, `[ start_date, end_date, true_path, remote_ip ]`, `[ start_date, end_date, true_path, session_uuid ]`, `[ start_date, end_date, true_path, success ]`, `[ start_date, end_date, true_path, action_type ]`, `[ start_date, end_date, true_path, username ]`, `[ start_date, end_date, remote_ip, session_uuid ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, end_date, remote_ip, action_type ]`, `[ start_date, end_date, remote_ip, username ]`, `[ start_date, end_date, session_uuid, success ]`, `[ start_date, end_date, session_uuid, action_type ]`, `[ start_date, end_date, session_uuid, username ]`, `[ start_date, end_date, success, action_type ]`, `[ start_date, end_date, success, username ]`, `[ start_date, end_date, action_type, username ]`, `[ start_date, path, true_path, remote_ip ]`, `[ start_date, path, true_path, session_uuid ]`, `[ start_date, path, true_path, success ]`, `[ start_date, path, true_path, action_type ]`, `[ start_date, path, true_path, username ]`, `[ start_date, path, remote_ip, session_uuid ]`, `[ start_date, path, remote_ip, success ]`, `[ start_date, path, remote_ip, action_type ]`, `[ start_date, path, remote_ip, username ]`, `[ start_date, path, session_uuid, success ]`, `[ start_date, path, session_uuid, action_type ]`, `[ start_date, path, session_uuid, username ]`, `[ start_date, path, success, action_type ]`, `[ start_date, path, success, username ]`, `[ start_date, path, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid ]`, `[ start_date, true_path, remote_ip, success ]`, `[ start_date, true_path, remote_ip, action_type ]`, `[ start_date, true_path, remote_ip, username ]`, `[ start_date, true_path, session_uuid, success ]`, `[ start_date, true_path, session_uuid, action_type ]`, `[ start_date, true_path, session_uuid, username ]`, `[ start_date, true_path, success, action_type ]`, `[ start_date, true_path, success, username ]`, `[ start_date, true_path, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success ]`, `[ start_date, remote_ip, session_uuid, action_type ]`, `[ start_date, remote_ip, session_uuid, username ]`, `[ start_date, remote_ip, success, action_type ]`, `[ start_date, remote_ip, success, username ]`, `[ start_date, remote_ip, action_type, username ]`, `[ start_date, session_uuid, success, action_type ]`, `[ start_date, session_uuid, success, username ]`, `[ start_date, session_uuid, action_type, username ]`, `[ start_date, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip ]`, `[ end_date, path, true_path, session_uuid ]`, `[ end_date, path, true_path, success ]`, `[ end_date, path, true_path, action_type ]`, `[ end_date, path, true_path, username ]`, `[ end_date, path, remote_ip, session_uuid ]`, `[ end_date, path, remote_ip, success ]`, `[ end_date, path, remote_ip, action_type ]`, `[ end_date, path, remote_ip, username ]`, `[ end_date, path, session_uuid, success ]`, `[ end_date, path, session_uuid, action_type ]`, `[ end_date, path, session_uuid, username ]`, `[ end_date, path, success, action_type ]`, `[ end_date, path, success, username ]`, `[ end_date, path, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid ]`, `[ end_date, true_path, remote_ip, success ]`, `[ end_date, true_path, remote_ip, action_type ]`, `[ end_date, true_path, remote_ip, username ]`, `[ end_date, true_path, session_uuid, success ]`, `[ end_date, true_path, session_uuid, action_type ]`, `[ end_date, true_path, session_uuid, username ]`, `[ end_date, true_path, success, action_type ]`, `[ end_date, true_path, success, username ]`, `[ end_date, true_path, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success ]`, `[ end_date, remote_ip, session_uuid, action_type ]`, `[ end_date, remote_ip, session_uuid, username ]`, `[ end_date, remote_ip, success, action_type ]`, `[ end_date, remote_ip, success, username ]`, `[ end_date, remote_ip, action_type, username ]`, `[ end_date, session_uuid, success, action_type ]`, `[ end_date, session_uuid, success, username ]`, `[ end_date, session_uuid, action_type, username ]`, `[ end_date, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, action_type, username ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, action_type, username ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, action_type, username ]`, `[ path, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, success, action_type, username ]`, `[ session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip ]`, `[ start_date, end_date, path, true_path, session_uuid ]`, `[ start_date, end_date, path, true_path, success ]`, `[ start_date, end_date, path, true_path, action_type ]`, `[ start_date, end_date, path, true_path, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid ]`, `[ start_date, end_date, path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip, action_type ]`, `[ start_date, end_date, path, remote_ip, username ]`, `[ start_date, end_date, path, session_uuid, success ]`, `[ start_date, end_date, path, session_uuid, action_type ]`, `[ start_date, end_date, path, session_uuid, username ]`, `[ start_date, end_date, path, success, action_type ]`, `[ start_date, end_date, path, success, username ]`, `[ start_date, end_date, path, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid ]`, `[ start_date, end_date, true_path, remote_ip, success ]`, `[ start_date, end_date, true_path, remote_ip, action_type ]`, `[ start_date, end_date, true_path, remote_ip, username ]`, `[ start_date, end_date, true_path, session_uuid, success ]`, `[ start_date, end_date, true_path, session_uuid, action_type ]`, `[ start_date, end_date, true_path, session_uuid, username ]`, `[ start_date, end_date, true_path, success, action_type ]`, `[ start_date, end_date, true_path, success, username ]`, `[ start_date, end_date, true_path, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success ]`, `[ start_date, end_date, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, remote_ip, session_uuid, username ]`, `[ start_date, end_date, remote_ip, success, action_type ]`, `[ start_date, end_date, remote_ip, success, username ]`, `[ start_date, end_date, remote_ip, action_type, username ]`, `[ start_date, end_date, session_uuid, success, action_type ]`, `[ start_date, end_date, session_uuid, success, username ]`, `[ start_date, end_date, session_uuid, action_type, username ]`, `[ start_date, end_date, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid ]`, `[ start_date, path, true_path, remote_ip, success ]`, `[ start_date, path, true_path, remote_ip, action_type ]`, `[ start_date, path, true_path, remote_ip, username ]`, `[ start_date, path, true_path, session_uuid, success ]`, `[ start_date, path, true_path, session_uuid, action_type ]`, `[ start_date, path, true_path, session_uuid, username ]`, `[ start_date, path, true_path, success, action_type ]`, `[ start_date, path, true_path, success, username ]`, `[ start_date, path, true_path, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success ]`, `[ start_date, path, remote_ip, session_uuid, action_type ]`, `[ start_date, path, remote_ip, session_uuid, username ]`, `[ start_date, path, remote_ip, success, action_type ]`, `[ start_date, path, remote_ip, success, username ]`, `[ start_date, path, remote_ip, action_type, username ]`, `[ start_date, path, session_uuid, success, action_type ]`, `[ start_date, path, session_uuid, success, username ]`, `[ start_date, path, session_uuid, action_type, username ]`, `[ start_date, path, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, true_path, remote_ip, success, action_type ]`, `[ start_date, true_path, remote_ip, success, username ]`, `[ start_date, true_path, remote_ip, action_type, username ]`, `[ start_date, true_path, session_uuid, success, action_type ]`, `[ start_date, true_path, session_uuid, success, username ]`, `[ start_date, true_path, session_uuid, action_type, username ]`, `[ start_date, true_path, success, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success, action_type ]`, `[ start_date, remote_ip, session_uuid, success, username ]`, `[ start_date, remote_ip, session_uuid, action_type, username ]`, `[ start_date, remote_ip, success, action_type, username ]`, `[ start_date, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid ]`, `[ end_date, path, true_path, remote_ip, success ]`, `[ end_date, path, true_path, remote_ip, action_type ]`, `[ end_date, path, true_path, remote_ip, username ]`, `[ end_date, path, true_path, session_uuid, success ]`, `[ end_date, path, true_path, session_uuid, action_type ]`, `[ end_date, path, true_path, session_uuid, username ]`, `[ end_date, path, true_path, success, action_type ]`, `[ end_date, path, true_path, success, username ]`, `[ end_date, path, true_path, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success ]`, `[ end_date, path, remote_ip, session_uuid, action_type ]`, `[ end_date, path, remote_ip, session_uuid, username ]`, `[ end_date, path, remote_ip, success, action_type ]`, `[ end_date, path, remote_ip, success, username ]`, `[ end_date, path, remote_ip, action_type, username ]`, `[ end_date, path, session_uuid, success, action_type ]`, `[ end_date, path, session_uuid, success, username ]`, `[ end_date, path, session_uuid, action_type, username ]`, `[ end_date, path, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success ]`, `[ end_date, true_path, remote_ip, session_uuid, action_type ]`, `[ end_date, true_path, remote_ip, session_uuid, username ]`, `[ end_date, true_path, remote_ip, success, action_type ]`, `[ end_date, true_path, remote_ip, success, username ]`, `[ end_date, true_path, remote_ip, action_type, username ]`, `[ end_date, true_path, session_uuid, success, action_type ]`, `[ end_date, true_path, session_uuid, success, username ]`, `[ end_date, true_path, session_uuid, action_type, username ]`, `[ end_date, true_path, success, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success, action_type ]`, `[ end_date, remote_ip, session_uuid, success, username ]`, `[ end_date, remote_ip, session_uuid, action_type, username ]`, `[ end_date, remote_ip, success, action_type, username ]`, `[ end_date, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid ]`, `[ start_date, end_date, path, true_path, remote_ip, success ]`, `[ start_date, end_date, path, true_path, remote_ip, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success ]`, `[ start_date, end_date, path, true_path, session_uuid, action_type ]`, `[ start_date, end_date, path, true_path, session_uuid, username ]`, `[ start_date, end_date, path, true_path, success, action_type ]`, `[ start_date, end_date, path, true_path, success, username ]`, `[ start_date, end_date, path, true_path, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, remote_ip, success, action_type ]`, `[ start_date, end_date, path, remote_ip, success, username ]`, `[ start_date, end_date, path, remote_ip, action_type, username ]`, `[ start_date, end_date, path, session_uuid, success, action_type ]`, `[ start_date, end_date, path, session_uuid, success, username ]`, `[ start_date, end_date, path, session_uuid, action_type, username ]`, `[ start_date, end_date, path, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, true_path, remote_ip, success, action_type ]`, `[ start_date, end_date, true_path, remote_ip, success, username ]`, `[ start_date, end_date, true_path, remote_ip, action_type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, action_type ]`, `[ start_date, end_date, true_path, session_uuid, success, username ]`, `[ start_date, end_date, true_path, session_uuid, action_type, username ]`, `[ start_date, end_date, true_path, success, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, remote_ip, success, action_type, username ]`, `[ start_date, end_date, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, path, true_path, remote_ip, success, action_type ]`, `[ start_date, path, true_path, remote_ip, success, username ]`, `[ start_date, path, true_path, remote_ip, action_type, username ]`, `[ start_date, path, true_path, session_uuid, success, action_type ]`, `[ start_date, path, true_path, session_uuid, success, username ]`, `[ start_date, path, true_path, session_uuid, action_type, username ]`, `[ start_date, path, true_path, success, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, path, remote_ip, success, action_type, username ]`, `[ start_date, path, session_uuid, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, true_path, remote_ip, success, action_type, username ]`, `[ start_date, true_path, session_uuid, success, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ end_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ end_date, path, true_path, remote_ip, success, action_type ]`, `[ end_date, path, true_path, remote_ip, success, username ]`, `[ end_date, path, true_path, remote_ip, action_type, username ]`, `[ end_date, path, true_path, session_uuid, success, action_type ]`, `[ end_date, path, true_path, session_uuid, success, username ]`, `[ end_date, path, true_path, session_uuid, action_type, username ]`, `[ end_date, path, true_path, success, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, path, remote_ip, success, action_type, username ]`, `[ end_date, path, session_uuid, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, true_path, remote_ip, success, action_type, username ]`, `[ end_date, true_path, session_uuid, success, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, action_type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, action_type ]`, `[ start_date, end_date, path, true_path, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, session_uuid, action_type, username ]`, `[ start_date, end_date, path, true_path, success, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, path, true_path, remote_ip, success, action_type, username ]`, `[ start_date, path, true_path, session_uuid, success, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, path, true_path, remote_ip, success, action_type, username ]`, `[ end_date, path, true_path, session_uuid, success, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, action_type, username ]` or `[ end_date, path, true_path, remote_ip, session_uuid, success, action_type, username ]`.
|
|
109
|
+
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`, `true_path`, `action_type` or `username`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ action_type ]`, `[ username ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, true_path ]`, `[ start_date, remote_ip ]`, `[ start_date, session_uuid ]`, `[ start_date, success ]`, `[ start_date, action_type ]`, `[ start_date, username ]`, `[ end_date, path ]`, `[ end_date, true_path ]`, `[ end_date, remote_ip ]`, `[ end_date, session_uuid ]`, `[ end_date, success ]`, `[ end_date, action_type ]`, `[ end_date, username ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, action_type ]`, `[ path, username ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ session_uuid, success ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ success, action_type ]`, `[ success, username ]`, `[ action_type, username ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, true_path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, session_uuid ]`, `[ start_date, end_date, success ]`, `[ start_date, end_date, action_type ]`, `[ start_date, end_date, username ]`, `[ start_date, path, true_path ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, session_uuid ]`, `[ start_date, path, success ]`, `[ start_date, path, action_type ]`, `[ start_date, path, username ]`, `[ start_date, true_path, remote_ip ]`, `[ start_date, true_path, session_uuid ]`, `[ start_date, true_path, success ]`, `[ start_date, true_path, action_type ]`, `[ start_date, true_path, username ]`, `[ start_date, remote_ip, session_uuid ]`, `[ start_date, remote_ip, success ]`, `[ start_date, remote_ip, action_type ]`, `[ start_date, remote_ip, username ]`, `[ start_date, session_uuid, success ]`, `[ start_date, session_uuid, action_type ]`, `[ start_date, session_uuid, username ]`, `[ start_date, success, action_type ]`, `[ start_date, success, username ]`, `[ start_date, action_type, username ]`, `[ end_date, path, true_path ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, session_uuid ]`, `[ end_date, path, success ]`, `[ end_date, path, action_type ]`, `[ end_date, path, username ]`, `[ end_date, true_path, remote_ip ]`, `[ end_date, true_path, session_uuid ]`, `[ end_date, true_path, success ]`, `[ end_date, true_path, action_type ]`, `[ end_date, true_path, username ]`, `[ end_date, remote_ip, session_uuid ]`, `[ end_date, remote_ip, success ]`, `[ end_date, remote_ip, action_type ]`, `[ end_date, remote_ip, username ]`, `[ end_date, session_uuid, success ]`, `[ end_date, session_uuid, action_type ]`, `[ end_date, session_uuid, username ]`, `[ end_date, success, action_type ]`, `[ end_date, success, username ]`, `[ end_date, action_type, username ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, action_type, username ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, action_type, username ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, action_type, username ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, action_type, username ]`, `[ success, action_type, username ]`, `[ start_date, end_date, path, true_path ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, session_uuid ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, path, action_type ]`, `[ start_date, end_date, path, username ]`, `[ start_date, end_date, true_path, remote_ip ]`, `[ start_date, end_date, true_path, session_uuid ]`, `[ start_date, end_date, true_path, success ]`, `[ start_date, end_date, true_path, action_type ]`, `[ start_date, end_date, true_path, username ]`, `[ start_date, end_date, remote_ip, session_uuid ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, end_date, remote_ip, action_type ]`, `[ start_date, end_date, remote_ip, username ]`, `[ start_date, end_date, session_uuid, success ]`, `[ start_date, end_date, session_uuid, action_type ]`, `[ start_date, end_date, session_uuid, username ]`, `[ start_date, end_date, success, action_type ]`, `[ start_date, end_date, success, username ]`, `[ start_date, end_date, action_type, username ]`, `[ start_date, path, true_path, remote_ip ]`, `[ start_date, path, true_path, session_uuid ]`, `[ start_date, path, true_path, success ]`, `[ start_date, path, true_path, action_type ]`, `[ start_date, path, true_path, username ]`, `[ start_date, path, remote_ip, session_uuid ]`, `[ start_date, path, remote_ip, success ]`, `[ start_date, path, remote_ip, action_type ]`, `[ start_date, path, remote_ip, username ]`, `[ start_date, path, session_uuid, success ]`, `[ start_date, path, session_uuid, action_type ]`, `[ start_date, path, session_uuid, username ]`, `[ start_date, path, success, action_type ]`, `[ start_date, path, success, username ]`, `[ start_date, path, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid ]`, `[ start_date, true_path, remote_ip, success ]`, `[ start_date, true_path, remote_ip, action_type ]`, `[ start_date, true_path, remote_ip, username ]`, `[ start_date, true_path, session_uuid, success ]`, `[ start_date, true_path, session_uuid, action_type ]`, `[ start_date, true_path, session_uuid, username ]`, `[ start_date, true_path, success, action_type ]`, `[ start_date, true_path, success, username ]`, `[ start_date, true_path, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success ]`, `[ start_date, remote_ip, session_uuid, action_type ]`, `[ start_date, remote_ip, session_uuid, username ]`, `[ start_date, remote_ip, success, action_type ]`, `[ start_date, remote_ip, success, username ]`, `[ start_date, remote_ip, action_type, username ]`, `[ start_date, session_uuid, success, action_type ]`, `[ start_date, session_uuid, success, username ]`, `[ start_date, session_uuid, action_type, username ]`, `[ start_date, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip ]`, `[ end_date, path, true_path, session_uuid ]`, `[ end_date, path, true_path, success ]`, `[ end_date, path, true_path, action_type ]`, `[ end_date, path, true_path, username ]`, `[ end_date, path, remote_ip, session_uuid ]`, `[ end_date, path, remote_ip, success ]`, `[ end_date, path, remote_ip, action_type ]`, `[ end_date, path, remote_ip, username ]`, `[ end_date, path, session_uuid, success ]`, `[ end_date, path, session_uuid, action_type ]`, `[ end_date, path, session_uuid, username ]`, `[ end_date, path, success, action_type ]`, `[ end_date, path, success, username ]`, `[ end_date, path, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid ]`, `[ end_date, true_path, remote_ip, success ]`, `[ end_date, true_path, remote_ip, action_type ]`, `[ end_date, true_path, remote_ip, username ]`, `[ end_date, true_path, session_uuid, success ]`, `[ end_date, true_path, session_uuid, action_type ]`, `[ end_date, true_path, session_uuid, username ]`, `[ end_date, true_path, success, action_type ]`, `[ end_date, true_path, success, username ]`, `[ end_date, true_path, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success ]`, `[ end_date, remote_ip, session_uuid, action_type ]`, `[ end_date, remote_ip, session_uuid, username ]`, `[ end_date, remote_ip, success, action_type ]`, `[ end_date, remote_ip, success, username ]`, `[ end_date, remote_ip, action_type, username ]`, `[ end_date, session_uuid, success, action_type ]`, `[ end_date, session_uuid, success, username ]`, `[ end_date, session_uuid, action_type, username ]`, `[ end_date, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, action_type, username ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, action_type, username ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, action_type, username ]`, `[ path, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, success, action_type, username ]`, `[ session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip ]`, `[ start_date, end_date, path, true_path, session_uuid ]`, `[ start_date, end_date, path, true_path, success ]`, `[ start_date, end_date, path, true_path, action_type ]`, `[ start_date, end_date, path, true_path, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid ]`, `[ start_date, end_date, path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip, action_type ]`, `[ start_date, end_date, path, remote_ip, username ]`, `[ start_date, end_date, path, session_uuid, success ]`, `[ start_date, end_date, path, session_uuid, action_type ]`, `[ start_date, end_date, path, session_uuid, username ]`, `[ start_date, end_date, path, success, action_type ]`, `[ start_date, end_date, path, success, username ]`, `[ start_date, end_date, path, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid ]`, `[ start_date, end_date, true_path, remote_ip, success ]`, `[ start_date, end_date, true_path, remote_ip, action_type ]`, `[ start_date, end_date, true_path, remote_ip, username ]`, `[ start_date, end_date, true_path, session_uuid, success ]`, `[ start_date, end_date, true_path, session_uuid, action_type ]`, `[ start_date, end_date, true_path, session_uuid, username ]`, `[ start_date, end_date, true_path, success, action_type ]`, `[ start_date, end_date, true_path, success, username ]`, `[ start_date, end_date, true_path, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success ]`, `[ start_date, end_date, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, remote_ip, session_uuid, username ]`, `[ start_date, end_date, remote_ip, success, action_type ]`, `[ start_date, end_date, remote_ip, success, username ]`, `[ start_date, end_date, remote_ip, action_type, username ]`, `[ start_date, end_date, session_uuid, success, action_type ]`, `[ start_date, end_date, session_uuid, success, username ]`, `[ start_date, end_date, session_uuid, action_type, username ]`, `[ start_date, end_date, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid ]`, `[ start_date, path, true_path, remote_ip, success ]`, `[ start_date, path, true_path, remote_ip, action_type ]`, `[ start_date, path, true_path, remote_ip, username ]`, `[ start_date, path, true_path, session_uuid, success ]`, `[ start_date, path, true_path, session_uuid, action_type ]`, `[ start_date, path, true_path, session_uuid, username ]`, `[ start_date, path, true_path, success, action_type ]`, `[ start_date, path, true_path, success, username ]`, `[ start_date, path, true_path, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success ]`, `[ start_date, path, remote_ip, session_uuid, action_type ]`, `[ start_date, path, remote_ip, session_uuid, username ]`, `[ start_date, path, remote_ip, success, action_type ]`, `[ start_date, path, remote_ip, success, username ]`, `[ start_date, path, remote_ip, action_type, username ]`, `[ start_date, path, session_uuid, success, action_type ]`, `[ start_date, path, session_uuid, success, username ]`, `[ start_date, path, session_uuid, action_type, username ]`, `[ start_date, path, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, true_path, remote_ip, success, action_type ]`, `[ start_date, true_path, remote_ip, success, username ]`, `[ start_date, true_path, remote_ip, action_type, username ]`, `[ start_date, true_path, session_uuid, success, action_type ]`, `[ start_date, true_path, session_uuid, success, username ]`, `[ start_date, true_path, session_uuid, action_type, username ]`, `[ start_date, true_path, success, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success, action_type ]`, `[ start_date, remote_ip, session_uuid, success, username ]`, `[ start_date, remote_ip, session_uuid, action_type, username ]`, `[ start_date, remote_ip, success, action_type, username ]`, `[ start_date, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid ]`, `[ end_date, path, true_path, remote_ip, success ]`, `[ end_date, path, true_path, remote_ip, action_type ]`, `[ end_date, path, true_path, remote_ip, username ]`, `[ end_date, path, true_path, session_uuid, success ]`, `[ end_date, path, true_path, session_uuid, action_type ]`, `[ end_date, path, true_path, session_uuid, username ]`, `[ end_date, path, true_path, success, action_type ]`, `[ end_date, path, true_path, success, username ]`, `[ end_date, path, true_path, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success ]`, `[ end_date, path, remote_ip, session_uuid, action_type ]`, `[ end_date, path, remote_ip, session_uuid, username ]`, `[ end_date, path, remote_ip, success, action_type ]`, `[ end_date, path, remote_ip, success, username ]`, `[ end_date, path, remote_ip, action_type, username ]`, `[ end_date, path, session_uuid, success, action_type ]`, `[ end_date, path, session_uuid, success, username ]`, `[ end_date, path, session_uuid, action_type, username ]`, `[ end_date, path, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success ]`, `[ end_date, true_path, remote_ip, session_uuid, action_type ]`, `[ end_date, true_path, remote_ip, session_uuid, username ]`, `[ end_date, true_path, remote_ip, success, action_type ]`, `[ end_date, true_path, remote_ip, success, username ]`, `[ end_date, true_path, remote_ip, action_type, username ]`, `[ end_date, true_path, session_uuid, success, action_type ]`, `[ end_date, true_path, session_uuid, success, username ]`, `[ end_date, true_path, session_uuid, action_type, username ]`, `[ end_date, true_path, success, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success, action_type ]`, `[ end_date, remote_ip, session_uuid, success, username ]`, `[ end_date, remote_ip, session_uuid, action_type, username ]`, `[ end_date, remote_ip, success, action_type, username ]`, `[ end_date, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid ]`, `[ start_date, end_date, path, true_path, remote_ip, success ]`, `[ start_date, end_date, path, true_path, remote_ip, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success ]`, `[ start_date, end_date, path, true_path, session_uuid, action_type ]`, `[ start_date, end_date, path, true_path, session_uuid, username ]`, `[ start_date, end_date, path, true_path, success, action_type ]`, `[ start_date, end_date, path, true_path, success, username ]`, `[ start_date, end_date, path, true_path, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, remote_ip, success, action_type ]`, `[ start_date, end_date, path, remote_ip, success, username ]`, `[ start_date, end_date, path, remote_ip, action_type, username ]`, `[ start_date, end_date, path, session_uuid, success, action_type ]`, `[ start_date, end_date, path, session_uuid, success, username ]`, `[ start_date, end_date, path, session_uuid, action_type, username ]`, `[ start_date, end_date, path, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, true_path, remote_ip, success, action_type ]`, `[ start_date, end_date, true_path, remote_ip, success, username ]`, `[ start_date, end_date, true_path, remote_ip, action_type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, action_type ]`, `[ start_date, end_date, true_path, session_uuid, success, username ]`, `[ start_date, end_date, true_path, session_uuid, action_type, username ]`, `[ start_date, end_date, true_path, success, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, remote_ip, success, action_type, username ]`, `[ start_date, end_date, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, path, true_path, remote_ip, success, action_type ]`, `[ start_date, path, true_path, remote_ip, success, username ]`, `[ start_date, path, true_path, remote_ip, action_type, username ]`, `[ start_date, path, true_path, session_uuid, success, action_type ]`, `[ start_date, path, true_path, session_uuid, success, username ]`, `[ start_date, path, true_path, session_uuid, action_type, username ]`, `[ start_date, path, true_path, success, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, path, remote_ip, success, action_type, username ]`, `[ start_date, path, session_uuid, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, true_path, remote_ip, success, action_type, username ]`, `[ start_date, true_path, session_uuid, success, action_type, username ]`, `[ start_date, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ end_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ end_date, path, true_path, remote_ip, success, action_type ]`, `[ end_date, path, true_path, remote_ip, success, username ]`, `[ end_date, path, true_path, remote_ip, action_type, username ]`, `[ end_date, path, true_path, session_uuid, success, action_type ]`, `[ end_date, path, true_path, session_uuid, success, username ]`, `[ end_date, path, true_path, session_uuid, action_type, username ]`, `[ end_date, path, true_path, success, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, path, remote_ip, success, action_type, username ]`, `[ end_date, path, session_uuid, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, true_path, remote_ip, success, action_type, username ]`, `[ end_date, true_path, session_uuid, success, action_type, username ]`, `[ end_date, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, action_type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, action_type ]`, `[ start_date, end_date, path, true_path, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, session_uuid, action_type, username ]`, `[ start_date, end_date, path, true_path, success, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, path, true_path, remote_ip, success, action_type, username ]`, `[ start_date, path, true_path, session_uuid, success, action_type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ end_date, path, true_path, remote_ip, success, action_type, username ]`, `[ end_date, path, true_path, session_uuid, success, action_type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, action_type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, action_type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, action_type, username ]` or `[ end_date, path, true_path, remote_ip, session_uuid, success, action_type, username ]`.
|
|
110
|
+
static createExport = async (params = {}, options = {}) => {
|
|
111
|
+
const response = await Api.sendRequest('/ftp_action_logs/create_export', 'POST', params, options)
|
|
112
|
+
|
|
113
|
+
const Export = require('./Export.js').default
|
|
114
|
+
return new Export(response?.data, options)
|
|
115
|
+
}
|
|
106
116
|
}
|
|
107
117
|
|
|
108
118
|
export default FtpActionLog
|
package/src/models/GpgKey.js
CHANGED
|
@@ -251,6 +251,20 @@ class GpgKey {
|
|
|
251
251
|
|
|
252
252
|
return new GpgKey(response?.data, options)
|
|
253
253
|
}
|
|
254
|
+
|
|
255
|
+
// Parameters:
|
|
256
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
257
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name` and `expires_at`.
|
|
258
|
+
static createExport = async (params = {}, options = {}) => {
|
|
259
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
260
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const response = await Api.sendRequest('/gpg_keys/create_export', 'POST', params, options)
|
|
264
|
+
|
|
265
|
+
const Export = require('./Export.js').default
|
|
266
|
+
return new Export(response?.data, options)
|
|
267
|
+
}
|
|
254
268
|
}
|
|
255
269
|
|
|
256
270
|
export default GpgKey
|
package/src/models/Group.js
CHANGED
|
@@ -302,6 +302,23 @@ class Group {
|
|
|
302
302
|
|
|
303
303
|
return new Group(response?.data, options)
|
|
304
304
|
}
|
|
305
|
+
|
|
306
|
+
// Parameters:
|
|
307
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `name`.
|
|
308
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
|
|
309
|
+
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
|
|
310
|
+
// ids - string - Comma-separated list of group ids to include in results.
|
|
311
|
+
// include_parent_site_groups - boolean - Include groups from the parent site.
|
|
312
|
+
static createExport = async (params = {}, options = {}) => {
|
|
313
|
+
if (params.ids && !isString(params.ids)) {
|
|
314
|
+
throw new errors.InvalidParameterError(`Bad parameter: ids must be of type String, received ${getType(params.ids)}`)
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
const response = await Api.sendRequest('/groups/create_export', 'POST', params, options)
|
|
318
|
+
|
|
319
|
+
const Export = require('./Export.js').default
|
|
320
|
+
return new Export(response?.data, options)
|
|
321
|
+
}
|
|
305
322
|
}
|
|
306
323
|
|
|
307
324
|
export default Group
|
package/src/models/GroupUser.js
CHANGED
|
@@ -247,6 +247,24 @@ class GroupUser {
|
|
|
247
247
|
|
|
248
248
|
return new GroupUser(response?.data, options)
|
|
249
249
|
}
|
|
250
|
+
|
|
251
|
+
// Parameters:
|
|
252
|
+
// user_id - int64 - User ID. If provided, will return group_users of this user.
|
|
253
|
+
// group_id - int64 - Group ID. If provided, will return group_users of this group.
|
|
254
|
+
static createExport = async (params = {}, options = {}) => {
|
|
255
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
256
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
if (params.group_id && !isInt(params.group_id)) {
|
|
260
|
+
throw new errors.InvalidParameterError(`Bad parameter: group_id must be of type Int, received ${getType(params.group_id)}`)
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const response = await Api.sendRequest('/group_users/create_export', 'POST', params, options)
|
|
264
|
+
|
|
265
|
+
const Export = require('./Export.js').default
|
|
266
|
+
return new Export(response?.data, options)
|
|
267
|
+
}
|
|
250
268
|
}
|
|
251
269
|
|
|
252
270
|
export default GroupUser
|
package/src/models/History.js
CHANGED
|
@@ -289,6 +289,173 @@ class History {
|
|
|
289
289
|
|
|
290
290
|
static all = (params = {}, options = {}) =>
|
|
291
291
|
History.list(params, options)
|
|
292
|
+
|
|
293
|
+
// Parameters:
|
|
294
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
295
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
296
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
297
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path` and `created_at`.
|
|
298
|
+
// path (required) - int64
|
|
299
|
+
static listForFileCreateExport = async (path, params = {}, options = {}) => {
|
|
300
|
+
if (!isObject(params)) {
|
|
301
|
+
throw new errors.InvalidParameterError(`Bad parameter: params must be of type object, received ${getType(params)}`)
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
params.path = path
|
|
305
|
+
|
|
306
|
+
if (!params.path) {
|
|
307
|
+
throw new errors.MissingParameterError('Parameter missing: path')
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
if (params.start_at && !isString(params.start_at)) {
|
|
311
|
+
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params.start_at)}`)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
if (params.end_at && !isString(params.end_at)) {
|
|
315
|
+
throw new errors.InvalidParameterError(`Bad parameter: end_at must be of type String, received ${getType(params.end_at)}`)
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
if (params.display && !isString(params.display)) {
|
|
319
|
+
throw new errors.InvalidParameterError(`Bad parameter: display must be of type String, received ${getType(params.display)}`)
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (params.path && !isInt(params.path)) {
|
|
323
|
+
throw new errors.InvalidParameterError(`Bad parameter: path must be of type Int, received ${getType(params.path)}`)
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
const response = await Api.sendRequest(`/history/files/${encodeURIComponent(params.path)}/create_export`, 'POST', params, options)
|
|
327
|
+
|
|
328
|
+
const Export = require('./Export.js').default
|
|
329
|
+
return new Export(response?.data, options)
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// Parameters:
|
|
333
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
334
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
335
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
336
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
337
|
+
// path (required) - int64
|
|
338
|
+
static listForFolderCreateExport = async (path, params = {}, options = {}) => {
|
|
339
|
+
if (!isObject(params)) {
|
|
340
|
+
throw new errors.InvalidParameterError(`Bad parameter: params must be of type object, received ${getType(params)}`)
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
params.path = path
|
|
344
|
+
|
|
345
|
+
if (!params.path) {
|
|
346
|
+
throw new errors.MissingParameterError('Parameter missing: path')
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
if (params.start_at && !isString(params.start_at)) {
|
|
350
|
+
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params.start_at)}`)
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
if (params.end_at && !isString(params.end_at)) {
|
|
354
|
+
throw new errors.InvalidParameterError(`Bad parameter: end_at must be of type String, received ${getType(params.end_at)}`)
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
if (params.display && !isString(params.display)) {
|
|
358
|
+
throw new errors.InvalidParameterError(`Bad parameter: display must be of type String, received ${getType(params.display)}`)
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
if (params.path && !isInt(params.path)) {
|
|
362
|
+
throw new errors.InvalidParameterError(`Bad parameter: path must be of type Int, received ${getType(params.path)}`)
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
const response = await Api.sendRequest(`/history/folders/${encodeURIComponent(params.path)}/create_export`, 'POST', params, options)
|
|
366
|
+
|
|
367
|
+
const Export = require('./Export.js').default
|
|
368
|
+
return new Export(response?.data, options)
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// Parameters:
|
|
372
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
373
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
374
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
375
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
|
|
376
|
+
// user_id (required) - int64 - User ID.
|
|
377
|
+
static listForUserCreateExport = async (userId, params = {}, options = {}) => {
|
|
378
|
+
if (!isObject(params)) {
|
|
379
|
+
throw new errors.InvalidParameterError(`Bad parameter: params must be of type object, received ${getType(params)}`)
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
params.user_id = userId
|
|
383
|
+
|
|
384
|
+
if (!params.user_id) {
|
|
385
|
+
throw new errors.MissingParameterError('Parameter missing: user_id')
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
if (params.start_at && !isString(params.start_at)) {
|
|
389
|
+
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params.start_at)}`)
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
if (params.end_at && !isString(params.end_at)) {
|
|
393
|
+
throw new errors.InvalidParameterError(`Bad parameter: end_at must be of type String, received ${getType(params.end_at)}`)
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
if (params.display && !isString(params.display)) {
|
|
397
|
+
throw new errors.InvalidParameterError(`Bad parameter: display must be of type String, received ${getType(params.display)}`)
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
401
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
const response = await Api.sendRequest(`/history/users/${encodeURIComponent(params.user_id)}/create_export`, 'POST', params, options)
|
|
405
|
+
|
|
406
|
+
const Export = require('./Export.js').default
|
|
407
|
+
return new Export(response?.data, options)
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
// Parameters:
|
|
411
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
412
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
413
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
414
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
415
|
+
static listLoginsCreateExport = async (params = {}, options = {}) => {
|
|
416
|
+
if (params.start_at && !isString(params.start_at)) {
|
|
417
|
+
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params.start_at)}`)
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
if (params.end_at && !isString(params.end_at)) {
|
|
421
|
+
throw new errors.InvalidParameterError(`Bad parameter: end_at must be of type String, received ${getType(params.end_at)}`)
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
if (params.display && !isString(params.display)) {
|
|
425
|
+
throw new errors.InvalidParameterError(`Bad parameter: display must be of type String, received ${getType(params.display)}`)
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
const response = await Api.sendRequest('/history/login/create_export', 'POST', params, options)
|
|
429
|
+
|
|
430
|
+
const Export = require('./Export.js').default
|
|
431
|
+
return new Export(response?.data, options)
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
// Parameters:
|
|
435
|
+
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
|
436
|
+
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
|
437
|
+
// display - string - Display format. Leave blank or set to `full` or `parent`.
|
|
438
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `created_at` or `user_id`.
|
|
439
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`. Valid field combinations are `[ user_id, folder ]`, `[ user_id, path ]`, `[ folder, path ]` or `[ user_id, folder, path ]`.
|
|
440
|
+
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
|
441
|
+
static listCreateExport = async (params = {}, options = {}) => {
|
|
442
|
+
if (params.start_at && !isString(params.start_at)) {
|
|
443
|
+
throw new errors.InvalidParameterError(`Bad parameter: start_at must be of type String, received ${getType(params.start_at)}`)
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (params.end_at && !isString(params.end_at)) {
|
|
447
|
+
throw new errors.InvalidParameterError(`Bad parameter: end_at must be of type String, received ${getType(params.end_at)}`)
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (params.display && !isString(params.display)) {
|
|
451
|
+
throw new errors.InvalidParameterError(`Bad parameter: display must be of type String, received ${getType(params.display)}`)
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
const response = await Api.sendRequest('/history/create_export', 'POST', params, options)
|
|
455
|
+
|
|
456
|
+
const Export = require('./Export.js').default
|
|
457
|
+
return new Export(response?.data, options)
|
|
458
|
+
}
|
|
292
459
|
}
|
|
293
460
|
|
|
294
461
|
export default History
|
|
@@ -139,6 +139,28 @@ class HistoryExportResult {
|
|
|
139
139
|
|
|
140
140
|
static all = (params = {}, options = {}) =>
|
|
141
141
|
HistoryExportResult.list(params, options)
|
|
142
|
+
|
|
143
|
+
// Parameters:
|
|
144
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
145
|
+
// history_export_id (required) - int64 - ID of the associated history export.
|
|
146
|
+
static createExport = async (params = {}, options = {}) => {
|
|
147
|
+
if (!params.history_export_id) {
|
|
148
|
+
throw new errors.MissingParameterError('Parameter missing: history_export_id')
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
152
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (params.history_export_id && !isInt(params.history_export_id)) {
|
|
156
|
+
throw new errors.InvalidParameterError(`Bad parameter: history_export_id must be of type Int, received ${getType(params.history_export_id)}`)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const response = await Api.sendRequest('/history_export_results/create_export', 'POST', params, options)
|
|
160
|
+
|
|
161
|
+
const Export = require('./Export.js').default
|
|
162
|
+
return new Export(response?.data, options)
|
|
163
|
+
}
|
|
142
164
|
}
|
|
143
165
|
|
|
144
166
|
export default HistoryExportResult
|
|
@@ -158,6 +158,25 @@ class InboxRecipient {
|
|
|
158
158
|
|
|
159
159
|
return new InboxRecipient(response?.data, options)
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
// Parameters:
|
|
163
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
164
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
|
165
|
+
// inbox_id (required) - int64 - List recipients for the inbox with this ID.
|
|
166
|
+
static createExport = async (params = {}, options = {}) => {
|
|
167
|
+
if (!params.inbox_id) {
|
|
168
|
+
throw new errors.MissingParameterError('Parameter missing: inbox_id')
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
if (params.inbox_id && !isInt(params.inbox_id)) {
|
|
172
|
+
throw new errors.InvalidParameterError(`Bad parameter: inbox_id must be of type Int, received ${getType(params.inbox_id)}`)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
const response = await Api.sendRequest('/inbox_recipients/create_export', 'POST', params, options)
|
|
176
|
+
|
|
177
|
+
const Export = require('./Export.js').default
|
|
178
|
+
return new Export(response?.data, options)
|
|
179
|
+
}
|
|
161
180
|
}
|
|
162
181
|
|
|
163
182
|
export default InboxRecipient
|
|
@@ -88,6 +88,19 @@ class InboxRegistration {
|
|
|
88
88
|
|
|
89
89
|
static all = (params = {}, options = {}) =>
|
|
90
90
|
InboxRegistration.list(params, options)
|
|
91
|
+
|
|
92
|
+
// Parameters:
|
|
93
|
+
// folder_behavior_id - int64 - ID of the associated Inbox.
|
|
94
|
+
static createExport = async (params = {}, options = {}) => {
|
|
95
|
+
if (params.folder_behavior_id && !isInt(params.folder_behavior_id)) {
|
|
96
|
+
throw new errors.InvalidParameterError(`Bad parameter: folder_behavior_id must be of type Int, received ${getType(params.folder_behavior_id)}`)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const response = await Api.sendRequest('/inbox_registrations/create_export', 'POST', params, options)
|
|
100
|
+
|
|
101
|
+
const Export = require('./Export.js').default
|
|
102
|
+
return new Export(response?.data, options)
|
|
103
|
+
}
|
|
91
104
|
}
|
|
92
105
|
|
|
93
106
|
export default InboxRegistration
|
|
@@ -41,7 +41,7 @@ class InboxUpload {
|
|
|
41
41
|
// 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.
|
|
42
42
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
43
43
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
44
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`
|
|
44
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`, `[ created_at, inbox_registration_id ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ created_at, folder_behavior_id, inbox_registration_id ]`.
|
|
45
45
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
46
46
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
47
47
|
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -62,6 +62,20 @@ class InboxUpload {
|
|
|
62
62
|
|
|
63
63
|
static all = (params = {}, options = {}) =>
|
|
64
64
|
InboxUpload.list(params, options)
|
|
65
|
+
|
|
66
|
+
// Parameters:
|
|
67
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
68
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ created_at, folder_behavior_id ]`, `[ created_at, inbox_registration_id ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ created_at, folder_behavior_id, inbox_registration_id ]`.
|
|
69
|
+
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
70
|
+
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
71
|
+
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
72
|
+
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
73
|
+
static createExport = async (params = {}, options = {}) => {
|
|
74
|
+
const response = await Api.sendRequest('/inbox_uploads/create_export', 'POST', params, options)
|
|
75
|
+
|
|
76
|
+
const Export = require('./Export.js').default
|
|
77
|
+
return new Export(response?.data, options)
|
|
78
|
+
}
|
|
65
79
|
}
|
|
66
80
|
|
|
67
81
|
export default InboxUpload
|
package/src/models/Invoice.js
CHANGED
|
@@ -113,6 +113,13 @@ class Invoice {
|
|
|
113
113
|
|
|
114
114
|
static get = (id, params = {}, options = {}) =>
|
|
115
115
|
Invoice.find(id, params, options)
|
|
116
|
+
|
|
117
|
+
static createExport = async (options = {}) => {
|
|
118
|
+
const response = await Api.sendRequest('/invoices/create_export', 'POST', {}, options)
|
|
119
|
+
|
|
120
|
+
const Export = require('./Export.js').default
|
|
121
|
+
return new Export(response?.data, options)
|
|
122
|
+
}
|
|
116
123
|
}
|
|
117
124
|
|
|
118
125
|
export default Invoice
|
package/src/models/IpAddress.js
CHANGED
|
@@ -113,6 +113,34 @@ class IpAddress {
|
|
|
113
113
|
const PublicIpAddress = require('./PublicIpAddress.js').default
|
|
114
114
|
return response?.data?.map(obj => new PublicIpAddress(obj, options)) || []
|
|
115
115
|
}
|
|
116
|
+
|
|
117
|
+
static smartfileReservedCreateExport = async (options = {}) => {
|
|
118
|
+
const response = await Api.sendRequest('/ip_addresses/smartfile-reserved/create_export', 'POST', {}, options)
|
|
119
|
+
|
|
120
|
+
const Export = require('./Export.js').default
|
|
121
|
+
return new Export(response?.data, options)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
static exavaultReservedCreateExport = async (options = {}) => {
|
|
125
|
+
const response = await Api.sendRequest('/ip_addresses/exavault-reserved/create_export', 'POST', {}, options)
|
|
126
|
+
|
|
127
|
+
const Export = require('./Export.js').default
|
|
128
|
+
return new Export(response?.data, options)
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
static reservedCreateExport = async (options = {}) => {
|
|
132
|
+
const response = await Api.sendRequest('/ip_addresses/reserved/create_export', 'POST', {}, options)
|
|
133
|
+
|
|
134
|
+
const Export = require('./Export.js').default
|
|
135
|
+
return new Export(response?.data, options)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
static createExport = async (options = {}) => {
|
|
139
|
+
const response = await Api.sendRequest('/ip_addresses/create_export', 'POST', {}, options)
|
|
140
|
+
|
|
141
|
+
const Export = require('./Export.js').default
|
|
142
|
+
return new Export(response?.data, options)
|
|
143
|
+
}
|
|
116
144
|
}
|
|
117
145
|
|
|
118
146
|
export default IpAddress
|
package/src/models/Message.js
CHANGED
|
@@ -274,6 +274,28 @@ class Message {
|
|
|
274
274
|
|
|
275
275
|
return new Message(response?.data, options)
|
|
276
276
|
}
|
|
277
|
+
|
|
278
|
+
// Parameters:
|
|
279
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
280
|
+
// project_id (required) - int64 - Project for which to return messages.
|
|
281
|
+
static createExport = async (params = {}, options = {}) => {
|
|
282
|
+
if (!params.project_id) {
|
|
283
|
+
throw new errors.MissingParameterError('Parameter missing: project_id')
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
287
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
if (params.project_id && !isInt(params.project_id)) {
|
|
291
|
+
throw new errors.InvalidParameterError(`Bad parameter: project_id must be of type Int, received ${getType(params.project_id)}`)
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
const response = await Api.sendRequest('/messages/create_export', 'POST', params, options)
|
|
295
|
+
|
|
296
|
+
const Export = require('./Export.js').default
|
|
297
|
+
return new Export(response?.data, options)
|
|
298
|
+
}
|
|
277
299
|
}
|
|
278
300
|
|
|
279
301
|
export default Message
|
|
@@ -216,6 +216,28 @@ class MessageComment {
|
|
|
216
216
|
|
|
217
217
|
return new MessageComment(response?.data, options)
|
|
218
218
|
}
|
|
219
|
+
|
|
220
|
+
// Parameters:
|
|
221
|
+
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
222
|
+
// message_id (required) - int64 - Message comment to return comments for.
|
|
223
|
+
static createExport = async (params = {}, options = {}) => {
|
|
224
|
+
if (!params.message_id) {
|
|
225
|
+
throw new errors.MissingParameterError('Parameter missing: message_id')
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (params.user_id && !isInt(params.user_id)) {
|
|
229
|
+
throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params.user_id)}`)
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (params.message_id && !isInt(params.message_id)) {
|
|
233
|
+
throw new errors.InvalidParameterError(`Bad parameter: message_id must be of type Int, received ${getType(params.message_id)}`)
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const response = await Api.sendRequest('/message_comments/create_export', 'POST', params, options)
|
|
237
|
+
|
|
238
|
+
const Export = require('./Export.js').default
|
|
239
|
+
return new Export(response?.data, options)
|
|
240
|
+
}
|
|
219
241
|
}
|
|
220
242
|
|
|
221
243
|
export default MessageComment
|