files.com 1.2.36 → 1.2.37
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ApiRequestLog.md +55 -0
- package/docs/models/AutomationLog.md +47 -0
- package/docs/models/EmailLog.md +39 -0
- package/docs/models/ExavaultApiRequestLog.md +47 -0
- package/docs/models/FileMigrationLog.md +45 -0
- package/docs/models/RemoteServer.md +22 -1
- package/docs/models/RemoteServerConfigurationFile.md +15 -1
- package/docs/models/SftpActionLog.md +75 -0
- package/docs/models/SyncLog.md +45 -0
- package/lib/Files.js +1 -1
- package/lib/models/ApiRequestLog.js +154 -0
- package/lib/models/AutomationLog.js +138 -0
- package/lib/models/EmailLog.js +122 -0
- package/lib/models/ExavaultApiRequestLog.js +138 -0
- package/lib/models/FileMigrationLog.js +134 -0
- package/lib/models/RemoteServer.js +65 -16
- package/lib/models/RemoteServerConfigurationFile.js +28 -0
- package/lib/models/SftpActionLog.js +194 -0
- package/lib/models/SyncLog.js +134 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ApiRequestLog.js +99 -0
- package/src/models/AutomationLog.js +87 -0
- package/src/models/EmailLog.js +75 -0
- package/src/models/ExavaultApiRequestLog.js +87 -0
- package/src/models/FileMigrationLog.js +84 -0
- package/src/models/RemoteServer.js +35 -0
- package/src/models/RemoteServerConfigurationFile.js +21 -0
- package/src/models/SftpActionLog.js +129 -0
- package/src/models/SyncLog.js +84 -0
@@ -549,9 +549,16 @@ class RemoteServer {
|
|
549
549
|
// Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
|
550
550
|
//
|
551
551
|
// Parameters:
|
552
|
+
// api_token - string - Files Agent API Token
|
552
553
|
// permission_set - string - The permission set for the agent ['read_write', 'read_only', 'write_only']
|
553
554
|
// root - string - The root directory for the agent
|
555
|
+
// hostname - string
|
556
|
+
// port - int64 - Incoming port for files agent connections
|
557
|
+
// status - string - either running or shutdown
|
558
|
+
// config_version - string - agent config version
|
554
559
|
// private_key - string - The private key for the agent
|
560
|
+
// public_key - string - public key
|
561
|
+
// server_host_key - string
|
555
562
|
// subdomain - string - Files.com subdomain site name
|
556
563
|
configurationFile = async (params = {}) => {
|
557
564
|
if (!this.attributes.id) {
|
@@ -567,6 +574,10 @@ class RemoteServer {
|
|
567
574
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params.id)}`)
|
568
575
|
}
|
569
576
|
|
577
|
+
if (params.api_token && !isString(params.api_token)) {
|
578
|
+
throw new errors.InvalidParameterError(`Bad parameter: api_token must be of type String, received ${getType(params.api_token)}`)
|
579
|
+
}
|
580
|
+
|
570
581
|
if (params.permission_set && !isString(params.permission_set)) {
|
571
582
|
throw new errors.InvalidParameterError(`Bad parameter: permission_set must be of type String, received ${getType(params.permission_set)}`)
|
572
583
|
}
|
@@ -575,10 +586,34 @@ class RemoteServer {
|
|
575
586
|
throw new errors.InvalidParameterError(`Bad parameter: root must be of type String, received ${getType(params.root)}`)
|
576
587
|
}
|
577
588
|
|
589
|
+
if (params.hostname && !isString(params.hostname)) {
|
590
|
+
throw new errors.InvalidParameterError(`Bad parameter: hostname must be of type String, received ${getType(params.hostname)}`)
|
591
|
+
}
|
592
|
+
|
593
|
+
if (params.port && !isInt(params.port)) {
|
594
|
+
throw new errors.InvalidParameterError(`Bad parameter: port must be of type Int, received ${getType(params.port)}`)
|
595
|
+
}
|
596
|
+
|
597
|
+
if (params.status && !isString(params.status)) {
|
598
|
+
throw new errors.InvalidParameterError(`Bad parameter: status must be of type String, received ${getType(params.status)}`)
|
599
|
+
}
|
600
|
+
|
601
|
+
if (params.config_version && !isString(params.config_version)) {
|
602
|
+
throw new errors.InvalidParameterError(`Bad parameter: config_version must be of type String, received ${getType(params.config_version)}`)
|
603
|
+
}
|
604
|
+
|
578
605
|
if (params.private_key && !isString(params.private_key)) {
|
579
606
|
throw new errors.InvalidParameterError(`Bad parameter: private_key must be of type String, received ${getType(params.private_key)}`)
|
580
607
|
}
|
581
608
|
|
609
|
+
if (params.public_key && !isString(params.public_key)) {
|
610
|
+
throw new errors.InvalidParameterError(`Bad parameter: public_key must be of type String, received ${getType(params.public_key)}`)
|
611
|
+
}
|
612
|
+
|
613
|
+
if (params.server_host_key && !isString(params.server_host_key)) {
|
614
|
+
throw new errors.InvalidParameterError(`Bad parameter: server_host_key must be of type String, received ${getType(params.server_host_key)}`)
|
615
|
+
}
|
616
|
+
|
582
617
|
if (params.subdomain && !isString(params.subdomain)) {
|
583
618
|
throw new errors.InvalidParameterError(`Bad parameter: subdomain must be of type String, received ${getType(params.subdomain)}`)
|
584
619
|
}
|
@@ -88,6 +88,27 @@ class RemoteServerConfigurationFile {
|
|
88
88
|
// * 1000 requests/hour: '1000-H'
|
89
89
|
// * 2000 requests/day: '2000-D'
|
90
90
|
getTransferRateLimit = () => this.attributes.transfer_rate_limit
|
91
|
+
|
92
|
+
// string # Files Agent API Token
|
93
|
+
getApiToken = () => this.attributes.api_token
|
94
|
+
|
95
|
+
// int64 # Incoming port for files agent connections
|
96
|
+
getPort = () => this.attributes.port
|
97
|
+
|
98
|
+
// string
|
99
|
+
getHostname = () => this.attributes.hostname
|
100
|
+
|
101
|
+
// string # public key
|
102
|
+
getPublicKey = () => this.attributes.public_key
|
103
|
+
|
104
|
+
// string # either running or shutdown
|
105
|
+
getStatus = () => this.attributes.status
|
106
|
+
|
107
|
+
// string
|
108
|
+
getServerHostKey = () => this.attributes.server_host_key
|
109
|
+
|
110
|
+
// string # agent config version
|
111
|
+
getConfigVersion = () => this.attributes.config_version
|
91
112
|
}
|
92
113
|
|
93
114
|
export default RemoteServerConfigurationFile
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/* eslint-disable no-unused-vars */
|
2
|
+
import Api from '../Api'
|
3
|
+
import * as errors from '../Errors'
|
4
|
+
import {
|
5
|
+
getType, isArray, isInt, isObject, isString,
|
6
|
+
} from '../utils'
|
7
|
+
/* eslint-enable no-unused-vars */
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Class SftpActionLog
|
11
|
+
*/
|
12
|
+
class SftpActionLog {
|
13
|
+
attributes = {}
|
14
|
+
|
15
|
+
options = {}
|
16
|
+
|
17
|
+
constructor(attributes = {}, options = {}) {
|
18
|
+
Object.entries(attributes).forEach(([key, value]) => {
|
19
|
+
const normalizedKey = key.replace('?', '')
|
20
|
+
|
21
|
+
this.attributes[normalizedKey] = value
|
22
|
+
|
23
|
+
Object.defineProperty(this, normalizedKey, { value, writable: false })
|
24
|
+
})
|
25
|
+
|
26
|
+
this.options = { ...options }
|
27
|
+
}
|
28
|
+
|
29
|
+
isLoaded = () => !!this.attributes.id
|
30
|
+
|
31
|
+
// date-time # Start Time of Action
|
32
|
+
getTimestamp = () => this.attributes.timestamp
|
33
|
+
|
34
|
+
// string # IP Address of SFTP Client
|
35
|
+
getRemoteIp = () => this.attributes.remote_ip
|
36
|
+
|
37
|
+
// string # Username
|
38
|
+
getUser = () => this.attributes.user
|
39
|
+
|
40
|
+
// string # Unique ID of the Session
|
41
|
+
getSessionUid = () => this.attributes.session_uid
|
42
|
+
|
43
|
+
// int64 # SFTP Sequence ID
|
44
|
+
getSeqId = () => this.attributes.seq_id
|
45
|
+
|
46
|
+
// string # Authentication Method
|
47
|
+
getAuthMethod = () => this.attributes.auth_method
|
48
|
+
|
49
|
+
// string # Authentication Ciphers
|
50
|
+
getAuthCiphers = () => this.attributes.auth_ciphers
|
51
|
+
|
52
|
+
// string # Action Type
|
53
|
+
getActionType = () => this.attributes.action_type
|
54
|
+
|
55
|
+
// string # Path as sent by the Client (may not match Files.com path due to user root folders for SFTP) This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
56
|
+
getPath = () => this.attributes.path
|
57
|
+
|
58
|
+
// string # Path on Files.com
|
59
|
+
getTruePath = () => this.attributes.true_path
|
60
|
+
|
61
|
+
// string # Name of File
|
62
|
+
getName = () => this.attributes.name
|
63
|
+
|
64
|
+
// string # Log Message
|
65
|
+
getMessage = () => this.attributes.message
|
66
|
+
|
67
|
+
// string # Failure Reason Type
|
68
|
+
getFailureReasonType = () => this.attributes.failure_reason_type
|
69
|
+
|
70
|
+
// string # Failure Reason Message
|
71
|
+
getFailureReasonMessage = () => this.attributes.failure_reason_message
|
72
|
+
|
73
|
+
// string # MD5 Hash of the file. Not always available.
|
74
|
+
getMd5 = () => this.attributes.md5
|
75
|
+
|
76
|
+
// string # SFTP Command Flags. Present for actions which involve flags.
|
77
|
+
getFlags = () => this.attributes.flags
|
78
|
+
|
79
|
+
// string # SFTP Command Handle. Present for actions which involve handles.
|
80
|
+
getHandle = () => this.attributes.handle
|
81
|
+
|
82
|
+
// string # SFTP Command Attrs. Present for action which involve attrs.
|
83
|
+
getAttrs = () => this.attributes.attrs
|
84
|
+
|
85
|
+
// string # Size. Present for action which involve size.
|
86
|
+
getSize = () => this.attributes.size
|
87
|
+
|
88
|
+
// string # Offset. Present for actions which involve offset.
|
89
|
+
getOffset = () => this.attributes.offset
|
90
|
+
|
91
|
+
// string # Length. Present for actions which involve length.
|
92
|
+
getLength = () => this.attributes.length
|
93
|
+
|
94
|
+
// string # Data Length in Bytes. Present for actions that transfer data.
|
95
|
+
getDataLength = () => this.attributes.data_length
|
96
|
+
|
97
|
+
// string # Whether SFTP Action was successful.
|
98
|
+
getSuccess = () => this.attributes.success
|
99
|
+
|
100
|
+
// int64 # Duration (in milliseconds)
|
101
|
+
getDurationMs = () => this.attributes.duration_ms
|
102
|
+
|
103
|
+
// Parameters:
|
104
|
+
// 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.
|
105
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
106
|
+
// 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`, `type` or `username`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ 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, type ]`, `[ start_date, username ]`, `[ end_date, path ]`, `[ end_date, true_path ]`, `[ end_date, remote_ip ]`, `[ end_date, session_uuid ]`, `[ end_date, success ]`, `[ end_date, type ]`, `[ end_date, username ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, type ]`, `[ path, username ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, type ]`, `[ true_path, username ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, type ]`, `[ remote_ip, username ]`, `[ session_uuid, success ]`, `[ session_uuid, type ]`, `[ session_uuid, username ]`, `[ success, type ]`, `[ success, username ]`, `[ 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, 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, 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, type ]`, `[ start_date, true_path, username ]`, `[ start_date, remote_ip, session_uuid ]`, `[ start_date, remote_ip, success ]`, `[ start_date, remote_ip, type ]`, `[ start_date, remote_ip, username ]`, `[ start_date, session_uuid, success ]`, `[ start_date, session_uuid, type ]`, `[ start_date, session_uuid, username ]`, `[ start_date, success, type ]`, `[ start_date, success, username ]`, `[ start_date, type, username ]`, `[ end_date, path, true_path ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, session_uuid ]`, `[ end_date, path, success ]`, `[ end_date, path, 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, type ]`, `[ end_date, true_path, username ]`, `[ end_date, remote_ip, session_uuid ]`, `[ end_date, remote_ip, success ]`, `[ end_date, remote_ip, type ]`, `[ end_date, remote_ip, username ]`, `[ end_date, session_uuid, success ]`, `[ end_date, session_uuid, type ]`, `[ end_date, session_uuid, username ]`, `[ end_date, success, type ]`, `[ end_date, success, username ]`, `[ end_date, type, username ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, type ]`, `[ path, true_path, username ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, type ]`, `[ path, remote_ip, username ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, type ]`, `[ path, session_uuid, username ]`, `[ path, success, type ]`, `[ path, success, username ]`, `[ path, type, username ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, success, type ]`, `[ true_path, success, username ]`, `[ true_path, type, username ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, success, type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, type, username ]`, `[ session_uuid, success, type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, type, username ]`, `[ success, 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, 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, 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, type ]`, `[ start_date, end_date, remote_ip, username ]`, `[ start_date, end_date, session_uuid, success ]`, `[ start_date, end_date, session_uuid, type ]`, `[ start_date, end_date, session_uuid, username ]`, `[ start_date, end_date, success, type ]`, `[ start_date, end_date, success, username ]`, `[ start_date, end_date, 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, 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, type ]`, `[ start_date, path, remote_ip, username ]`, `[ start_date, path, session_uuid, success ]`, `[ start_date, path, session_uuid, type ]`, `[ start_date, path, session_uuid, username ]`, `[ start_date, path, success, type ]`, `[ start_date, path, success, username ]`, `[ start_date, path, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid ]`, `[ start_date, true_path, remote_ip, success ]`, `[ start_date, true_path, remote_ip, type ]`, `[ start_date, true_path, remote_ip, username ]`, `[ start_date, true_path, session_uuid, success ]`, `[ start_date, true_path, session_uuid, type ]`, `[ start_date, true_path, session_uuid, username ]`, `[ start_date, true_path, success, type ]`, `[ start_date, true_path, success, username ]`, `[ start_date, true_path, type, username ]`, `[ start_date, remote_ip, session_uuid, success ]`, `[ start_date, remote_ip, session_uuid, type ]`, `[ start_date, remote_ip, session_uuid, username ]`, `[ start_date, remote_ip, success, type ]`, `[ start_date, remote_ip, success, username ]`, `[ start_date, remote_ip, type, username ]`, `[ start_date, session_uuid, success, type ]`, `[ start_date, session_uuid, success, username ]`, `[ start_date, session_uuid, type, username ]`, `[ start_date, success, 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, 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, type ]`, `[ end_date, path, remote_ip, username ]`, `[ end_date, path, session_uuid, success ]`, `[ end_date, path, session_uuid, type ]`, `[ end_date, path, session_uuid, username ]`, `[ end_date, path, success, type ]`, `[ end_date, path, success, username ]`, `[ end_date, path, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid ]`, `[ end_date, true_path, remote_ip, success ]`, `[ end_date, true_path, remote_ip, type ]`, `[ end_date, true_path, remote_ip, username ]`, `[ end_date, true_path, session_uuid, success ]`, `[ end_date, true_path, session_uuid, type ]`, `[ end_date, true_path, session_uuid, username ]`, `[ end_date, true_path, success, type ]`, `[ end_date, true_path, success, username ]`, `[ end_date, true_path, type, username ]`, `[ end_date, remote_ip, session_uuid, success ]`, `[ end_date, remote_ip, session_uuid, type ]`, `[ end_date, remote_ip, session_uuid, username ]`, `[ end_date, remote_ip, success, type ]`, `[ end_date, remote_ip, success, username ]`, `[ end_date, remote_ip, type, username ]`, `[ end_date, session_uuid, success, type ]`, `[ end_date, session_uuid, success, username ]`, `[ end_date, session_uuid, type, username ]`, `[ end_date, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, success, type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, type, username ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, success, type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, type, username ]`, `[ path, session_uuid, success, type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, type, username ]`, `[ path, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, success, type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, type, username ]`, `[ true_path, session_uuid, success, type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, type, username ]`, `[ true_path, success, type, username ]`, `[ remote_ip, session_uuid, success, type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, type, username ]`, `[ remote_ip, success, type, username ]`, `[ session_uuid, success, 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, 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, type ]`, `[ start_date, end_date, path, remote_ip, username ]`, `[ start_date, end_date, path, session_uuid, success ]`, `[ start_date, end_date, path, session_uuid, type ]`, `[ start_date, end_date, path, session_uuid, username ]`, `[ start_date, end_date, path, success, type ]`, `[ start_date, end_date, path, success, username ]`, `[ start_date, end_date, path, 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, 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, type ]`, `[ start_date, end_date, true_path, session_uuid, username ]`, `[ start_date, end_date, true_path, success, type ]`, `[ start_date, end_date, true_path, success, username ]`, `[ start_date, end_date, true_path, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success ]`, `[ start_date, end_date, remote_ip, session_uuid, type ]`, `[ start_date, end_date, remote_ip, session_uuid, username ]`, `[ start_date, end_date, remote_ip, success, type ]`, `[ start_date, end_date, remote_ip, success, username ]`, `[ start_date, end_date, remote_ip, type, username ]`, `[ start_date, end_date, session_uuid, success, type ]`, `[ start_date, end_date, session_uuid, success, username ]`, `[ start_date, end_date, session_uuid, type, username ]`, `[ start_date, end_date, success, 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, type ]`, `[ start_date, path, true_path, remote_ip, username ]`, `[ start_date, path, true_path, session_uuid, success ]`, `[ start_date, path, true_path, session_uuid, type ]`, `[ start_date, path, true_path, session_uuid, username ]`, `[ start_date, path, true_path, success, type ]`, `[ start_date, path, true_path, success, username ]`, `[ start_date, path, true_path, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success ]`, `[ start_date, path, remote_ip, session_uuid, type ]`, `[ start_date, path, remote_ip, session_uuid, username ]`, `[ start_date, path, remote_ip, success, type ]`, `[ start_date, path, remote_ip, success, username ]`, `[ start_date, path, remote_ip, type, username ]`, `[ start_date, path, session_uuid, success, type ]`, `[ start_date, path, session_uuid, success, username ]`, `[ start_date, path, session_uuid, type, username ]`, `[ start_date, path, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, true_path, remote_ip, session_uuid, type ]`, `[ start_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, true_path, remote_ip, success, type ]`, `[ start_date, true_path, remote_ip, success, username ]`, `[ start_date, true_path, remote_ip, type, username ]`, `[ start_date, true_path, session_uuid, success, type ]`, `[ start_date, true_path, session_uuid, success, username ]`, `[ start_date, true_path, session_uuid, type, username ]`, `[ start_date, true_path, success, type, username ]`, `[ start_date, remote_ip, session_uuid, success, type ]`, `[ start_date, remote_ip, session_uuid, success, username ]`, `[ start_date, remote_ip, session_uuid, type, username ]`, `[ start_date, remote_ip, success, type, username ]`, `[ start_date, session_uuid, success, 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, type ]`, `[ end_date, path, true_path, remote_ip, username ]`, `[ end_date, path, true_path, session_uuid, success ]`, `[ end_date, path, true_path, session_uuid, type ]`, `[ end_date, path, true_path, session_uuid, username ]`, `[ end_date, path, true_path, success, type ]`, `[ end_date, path, true_path, success, username ]`, `[ end_date, path, true_path, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success ]`, `[ end_date, path, remote_ip, session_uuid, type ]`, `[ end_date, path, remote_ip, session_uuid, username ]`, `[ end_date, path, remote_ip, success, type ]`, `[ end_date, path, remote_ip, success, username ]`, `[ end_date, path, remote_ip, type, username ]`, `[ end_date, path, session_uuid, success, type ]`, `[ end_date, path, session_uuid, success, username ]`, `[ end_date, path, session_uuid, type, username ]`, `[ end_date, path, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success ]`, `[ end_date, true_path, remote_ip, session_uuid, type ]`, `[ end_date, true_path, remote_ip, session_uuid, username ]`, `[ end_date, true_path, remote_ip, success, type ]`, `[ end_date, true_path, remote_ip, success, username ]`, `[ end_date, true_path, remote_ip, type, username ]`, `[ end_date, true_path, session_uuid, success, type ]`, `[ end_date, true_path, session_uuid, success, username ]`, `[ end_date, true_path, session_uuid, type, username ]`, `[ end_date, true_path, success, type, username ]`, `[ end_date, remote_ip, session_uuid, success, type ]`, `[ end_date, remote_ip, session_uuid, success, username ]`, `[ end_date, remote_ip, session_uuid, type, username ]`, `[ end_date, remote_ip, success, type, username ]`, `[ end_date, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, success, type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, type, username ]`, `[ path, true_path, session_uuid, success, type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, type, username ]`, `[ path, true_path, success, type, username ]`, `[ path, remote_ip, session_uuid, success, type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, type, username ]`, `[ path, remote_ip, success, type, username ]`, `[ path, session_uuid, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success, type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, type, username ]`, `[ true_path, remote_ip, success, type, username ]`, `[ true_path, session_uuid, success, type, username ]`, `[ remote_ip, session_uuid, success, 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, 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, type ]`, `[ start_date, end_date, path, true_path, session_uuid, username ]`, `[ start_date, end_date, path, true_path, success, type ]`, `[ start_date, end_date, path, true_path, success, username ]`, `[ start_date, end_date, path, true_path, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, remote_ip, session_uuid, type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, remote_ip, success, type ]`, `[ start_date, end_date, path, remote_ip, success, username ]`, `[ start_date, end_date, path, remote_ip, type, username ]`, `[ start_date, end_date, path, session_uuid, success, type ]`, `[ start_date, end_date, path, session_uuid, success, username ]`, `[ start_date, end_date, path, session_uuid, type, username ]`, `[ start_date, end_date, path, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, true_path, remote_ip, success, type ]`, `[ start_date, end_date, true_path, remote_ip, success, username ]`, `[ start_date, end_date, true_path, remote_ip, type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, type ]`, `[ start_date, end_date, true_path, session_uuid, success, username ]`, `[ start_date, end_date, true_path, session_uuid, type, username ]`, `[ start_date, end_date, true_path, success, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, remote_ip, success, type, username ]`, `[ start_date, end_date, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, path, true_path, remote_ip, session_uuid, type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, path, true_path, remote_ip, success, type ]`, `[ start_date, path, true_path, remote_ip, success, username ]`, `[ start_date, path, true_path, remote_ip, type, username ]`, `[ start_date, path, true_path, session_uuid, success, type ]`, `[ start_date, path, true_path, session_uuid, success, username ]`, `[ start_date, path, true_path, session_uuid, type, username ]`, `[ start_date, path, true_path, success, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, type ]`, `[ start_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, remote_ip, session_uuid, type, username ]`, `[ start_date, path, remote_ip, success, type, username ]`, `[ start_date, path, session_uuid, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, true_path, remote_ip, success, type, username ]`, `[ start_date, true_path, session_uuid, success, type, username ]`, `[ start_date, remote_ip, session_uuid, success, type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ end_date, path, true_path, remote_ip, session_uuid, type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ end_date, path, true_path, remote_ip, success, type ]`, `[ end_date, path, true_path, remote_ip, success, username ]`, `[ end_date, path, true_path, remote_ip, type, username ]`, `[ end_date, path, true_path, session_uuid, success, type ]`, `[ end_date, path, true_path, session_uuid, success, username ]`, `[ end_date, path, true_path, session_uuid, type, username ]`, `[ end_date, path, true_path, success, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, type ]`, `[ end_date, path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, remote_ip, session_uuid, type, username ]`, `[ end_date, path, remote_ip, success, type, username ]`, `[ end_date, path, session_uuid, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, type ]`, `[ end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, true_path, remote_ip, session_uuid, type, username ]`, `[ end_date, true_path, remote_ip, success, type, username ]`, `[ end_date, true_path, session_uuid, success, type, username ]`, `[ end_date, remote_ip, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, type, username ]`, `[ path, true_path, remote_ip, success, type, username ]`, `[ path, true_path, session_uuid, success, type, username ]`, `[ path, remote_ip, session_uuid, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success, 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, type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, type ]`, `[ start_date, end_date, path, true_path, remote_ip, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, type ]`, `[ start_date, end_date, path, true_path, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, session_uuid, type, username ]`, `[ start_date, end_date, path, true_path, success, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, path, remote_ip, success, type, username ]`, `[ start_date, end_date, path, session_uuid, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, true_path, remote_ip, success, type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, path, true_path, remote_ip, success, type, username ]`, `[ start_date, path, true_path, session_uuid, success, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, type, username ]`, `[ end_date, path, true_path, remote_ip, success, type, username ]`, `[ end_date, path, true_path, session_uuid, success, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, 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, type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, type, username ]` or `[ end_date, path, true_path, remote_ip, session_uuid, success, type, username ]`.
|
107
|
+
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`, `true_path` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ 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, type ]`, `[ start_date, username ]`, `[ end_date, path ]`, `[ end_date, true_path ]`, `[ end_date, remote_ip ]`, `[ end_date, session_uuid ]`, `[ end_date, success ]`, `[ end_date, type ]`, `[ end_date, username ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, type ]`, `[ path, username ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, type ]`, `[ true_path, username ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, type ]`, `[ remote_ip, username ]`, `[ session_uuid, success ]`, `[ session_uuid, type ]`, `[ session_uuid, username ]`, `[ success, type ]`, `[ success, username ]`, `[ 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, 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, 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, type ]`, `[ start_date, true_path, username ]`, `[ start_date, remote_ip, session_uuid ]`, `[ start_date, remote_ip, success ]`, `[ start_date, remote_ip, type ]`, `[ start_date, remote_ip, username ]`, `[ start_date, session_uuid, success ]`, `[ start_date, session_uuid, type ]`, `[ start_date, session_uuid, username ]`, `[ start_date, success, type ]`, `[ start_date, success, username ]`, `[ start_date, type, username ]`, `[ end_date, path, true_path ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, session_uuid ]`, `[ end_date, path, success ]`, `[ end_date, path, 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, type ]`, `[ end_date, true_path, username ]`, `[ end_date, remote_ip, session_uuid ]`, `[ end_date, remote_ip, success ]`, `[ end_date, remote_ip, type ]`, `[ end_date, remote_ip, username ]`, `[ end_date, session_uuid, success ]`, `[ end_date, session_uuid, type ]`, `[ end_date, session_uuid, username ]`, `[ end_date, success, type ]`, `[ end_date, success, username ]`, `[ end_date, type, username ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, type ]`, `[ path, true_path, username ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, type ]`, `[ path, remote_ip, username ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, type ]`, `[ path, session_uuid, username ]`, `[ path, success, type ]`, `[ path, success, username ]`, `[ path, type, username ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, success, type ]`, `[ true_path, success, username ]`, `[ true_path, type, username ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, success, type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, type, username ]`, `[ session_uuid, success, type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, type, username ]`, `[ success, 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, 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, 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, type ]`, `[ start_date, end_date, remote_ip, username ]`, `[ start_date, end_date, session_uuid, success ]`, `[ start_date, end_date, session_uuid, type ]`, `[ start_date, end_date, session_uuid, username ]`, `[ start_date, end_date, success, type ]`, `[ start_date, end_date, success, username ]`, `[ start_date, end_date, 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, 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, type ]`, `[ start_date, path, remote_ip, username ]`, `[ start_date, path, session_uuid, success ]`, `[ start_date, path, session_uuid, type ]`, `[ start_date, path, session_uuid, username ]`, `[ start_date, path, success, type ]`, `[ start_date, path, success, username ]`, `[ start_date, path, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid ]`, `[ start_date, true_path, remote_ip, success ]`, `[ start_date, true_path, remote_ip, type ]`, `[ start_date, true_path, remote_ip, username ]`, `[ start_date, true_path, session_uuid, success ]`, `[ start_date, true_path, session_uuid, type ]`, `[ start_date, true_path, session_uuid, username ]`, `[ start_date, true_path, success, type ]`, `[ start_date, true_path, success, username ]`, `[ start_date, true_path, type, username ]`, `[ start_date, remote_ip, session_uuid, success ]`, `[ start_date, remote_ip, session_uuid, type ]`, `[ start_date, remote_ip, session_uuid, username ]`, `[ start_date, remote_ip, success, type ]`, `[ start_date, remote_ip, success, username ]`, `[ start_date, remote_ip, type, username ]`, `[ start_date, session_uuid, success, type ]`, `[ start_date, session_uuid, success, username ]`, `[ start_date, session_uuid, type, username ]`, `[ start_date, success, 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, 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, type ]`, `[ end_date, path, remote_ip, username ]`, `[ end_date, path, session_uuid, success ]`, `[ end_date, path, session_uuid, type ]`, `[ end_date, path, session_uuid, username ]`, `[ end_date, path, success, type ]`, `[ end_date, path, success, username ]`, `[ end_date, path, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid ]`, `[ end_date, true_path, remote_ip, success ]`, `[ end_date, true_path, remote_ip, type ]`, `[ end_date, true_path, remote_ip, username ]`, `[ end_date, true_path, session_uuid, success ]`, `[ end_date, true_path, session_uuid, type ]`, `[ end_date, true_path, session_uuid, username ]`, `[ end_date, true_path, success, type ]`, `[ end_date, true_path, success, username ]`, `[ end_date, true_path, type, username ]`, `[ end_date, remote_ip, session_uuid, success ]`, `[ end_date, remote_ip, session_uuid, type ]`, `[ end_date, remote_ip, session_uuid, username ]`, `[ end_date, remote_ip, success, type ]`, `[ end_date, remote_ip, success, username ]`, `[ end_date, remote_ip, type, username ]`, `[ end_date, session_uuid, success, type ]`, `[ end_date, session_uuid, success, username ]`, `[ end_date, session_uuid, type, username ]`, `[ end_date, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, success, type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, type, username ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, success, type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, type, username ]`, `[ path, session_uuid, success, type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, type, username ]`, `[ path, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, success, type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, type, username ]`, `[ true_path, session_uuid, success, type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, type, username ]`, `[ true_path, success, type, username ]`, `[ remote_ip, session_uuid, success, type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, type, username ]`, `[ remote_ip, success, type, username ]`, `[ session_uuid, success, 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, 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, type ]`, `[ start_date, end_date, path, remote_ip, username ]`, `[ start_date, end_date, path, session_uuid, success ]`, `[ start_date, end_date, path, session_uuid, type ]`, `[ start_date, end_date, path, session_uuid, username ]`, `[ start_date, end_date, path, success, type ]`, `[ start_date, end_date, path, success, username ]`, `[ start_date, end_date, path, 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, 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, type ]`, `[ start_date, end_date, true_path, session_uuid, username ]`, `[ start_date, end_date, true_path, success, type ]`, `[ start_date, end_date, true_path, success, username ]`, `[ start_date, end_date, true_path, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success ]`, `[ start_date, end_date, remote_ip, session_uuid, type ]`, `[ start_date, end_date, remote_ip, session_uuid, username ]`, `[ start_date, end_date, remote_ip, success, type ]`, `[ start_date, end_date, remote_ip, success, username ]`, `[ start_date, end_date, remote_ip, type, username ]`, `[ start_date, end_date, session_uuid, success, type ]`, `[ start_date, end_date, session_uuid, success, username ]`, `[ start_date, end_date, session_uuid, type, username ]`, `[ start_date, end_date, success, 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, type ]`, `[ start_date, path, true_path, remote_ip, username ]`, `[ start_date, path, true_path, session_uuid, success ]`, `[ start_date, path, true_path, session_uuid, type ]`, `[ start_date, path, true_path, session_uuid, username ]`, `[ start_date, path, true_path, success, type ]`, `[ start_date, path, true_path, success, username ]`, `[ start_date, path, true_path, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success ]`, `[ start_date, path, remote_ip, session_uuid, type ]`, `[ start_date, path, remote_ip, session_uuid, username ]`, `[ start_date, path, remote_ip, success, type ]`, `[ start_date, path, remote_ip, success, username ]`, `[ start_date, path, remote_ip, type, username ]`, `[ start_date, path, session_uuid, success, type ]`, `[ start_date, path, session_uuid, success, username ]`, `[ start_date, path, session_uuid, type, username ]`, `[ start_date, path, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, true_path, remote_ip, session_uuid, type ]`, `[ start_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, true_path, remote_ip, success, type ]`, `[ start_date, true_path, remote_ip, success, username ]`, `[ start_date, true_path, remote_ip, type, username ]`, `[ start_date, true_path, session_uuid, success, type ]`, `[ start_date, true_path, session_uuid, success, username ]`, `[ start_date, true_path, session_uuid, type, username ]`, `[ start_date, true_path, success, type, username ]`, `[ start_date, remote_ip, session_uuid, success, type ]`, `[ start_date, remote_ip, session_uuid, success, username ]`, `[ start_date, remote_ip, session_uuid, type, username ]`, `[ start_date, remote_ip, success, type, username ]`, `[ start_date, session_uuid, success, 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, type ]`, `[ end_date, path, true_path, remote_ip, username ]`, `[ end_date, path, true_path, session_uuid, success ]`, `[ end_date, path, true_path, session_uuid, type ]`, `[ end_date, path, true_path, session_uuid, username ]`, `[ end_date, path, true_path, success, type ]`, `[ end_date, path, true_path, success, username ]`, `[ end_date, path, true_path, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success ]`, `[ end_date, path, remote_ip, session_uuid, type ]`, `[ end_date, path, remote_ip, session_uuid, username ]`, `[ end_date, path, remote_ip, success, type ]`, `[ end_date, path, remote_ip, success, username ]`, `[ end_date, path, remote_ip, type, username ]`, `[ end_date, path, session_uuid, success, type ]`, `[ end_date, path, session_uuid, success, username ]`, `[ end_date, path, session_uuid, type, username ]`, `[ end_date, path, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success ]`, `[ end_date, true_path, remote_ip, session_uuid, type ]`, `[ end_date, true_path, remote_ip, session_uuid, username ]`, `[ end_date, true_path, remote_ip, success, type ]`, `[ end_date, true_path, remote_ip, success, username ]`, `[ end_date, true_path, remote_ip, type, username ]`, `[ end_date, true_path, session_uuid, success, type ]`, `[ end_date, true_path, session_uuid, success, username ]`, `[ end_date, true_path, session_uuid, type, username ]`, `[ end_date, true_path, success, type, username ]`, `[ end_date, remote_ip, session_uuid, success, type ]`, `[ end_date, remote_ip, session_uuid, success, username ]`, `[ end_date, remote_ip, session_uuid, type, username ]`, `[ end_date, remote_ip, success, type, username ]`, `[ end_date, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, success, type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, type, username ]`, `[ path, true_path, session_uuid, success, type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, type, username ]`, `[ path, true_path, success, type, username ]`, `[ path, remote_ip, session_uuid, success, type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, type, username ]`, `[ path, remote_ip, success, type, username ]`, `[ path, session_uuid, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success, type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, type, username ]`, `[ true_path, remote_ip, success, type, username ]`, `[ true_path, session_uuid, success, type, username ]`, `[ remote_ip, session_uuid, success, 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, 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, type ]`, `[ start_date, end_date, path, true_path, session_uuid, username ]`, `[ start_date, end_date, path, true_path, success, type ]`, `[ start_date, end_date, path, true_path, success, username ]`, `[ start_date, end_date, path, true_path, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, path, remote_ip, session_uuid, type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, remote_ip, success, type ]`, `[ start_date, end_date, path, remote_ip, success, username ]`, `[ start_date, end_date, path, remote_ip, type, username ]`, `[ start_date, end_date, path, session_uuid, success, type ]`, `[ start_date, end_date, path, session_uuid, success, username ]`, `[ start_date, end_date, path, session_uuid, type, username ]`, `[ start_date, end_date, path, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, true_path, remote_ip, success, type ]`, `[ start_date, end_date, true_path, remote_ip, success, username ]`, `[ start_date, end_date, true_path, remote_ip, type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, type ]`, `[ start_date, end_date, true_path, session_uuid, success, username ]`, `[ start_date, end_date, true_path, session_uuid, type, username ]`, `[ start_date, end_date, true_path, success, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, remote_ip, success, type, username ]`, `[ start_date, end_date, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success ]`, `[ start_date, path, true_path, remote_ip, session_uuid, type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, path, true_path, remote_ip, success, type ]`, `[ start_date, path, true_path, remote_ip, success, username ]`, `[ start_date, path, true_path, remote_ip, type, username ]`, `[ start_date, path, true_path, session_uuid, success, type ]`, `[ start_date, path, true_path, session_uuid, success, username ]`, `[ start_date, path, true_path, session_uuid, type, username ]`, `[ start_date, path, true_path, success, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, type ]`, `[ start_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, remote_ip, session_uuid, type, username ]`, `[ start_date, path, remote_ip, success, type, username ]`, `[ start_date, path, session_uuid, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, true_path, remote_ip, success, type, username ]`, `[ start_date, true_path, session_uuid, success, type, username ]`, `[ start_date, remote_ip, session_uuid, success, type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success ]`, `[ end_date, path, true_path, remote_ip, session_uuid, type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ end_date, path, true_path, remote_ip, success, type ]`, `[ end_date, path, true_path, remote_ip, success, username ]`, `[ end_date, path, true_path, remote_ip, type, username ]`, `[ end_date, path, true_path, session_uuid, success, type ]`, `[ end_date, path, true_path, session_uuid, success, username ]`, `[ end_date, path, true_path, session_uuid, type, username ]`, `[ end_date, path, true_path, success, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, type ]`, `[ end_date, path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, remote_ip, session_uuid, type, username ]`, `[ end_date, path, remote_ip, success, type, username ]`, `[ end_date, path, session_uuid, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, type ]`, `[ end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, true_path, remote_ip, session_uuid, type, username ]`, `[ end_date, true_path, remote_ip, success, type, username ]`, `[ end_date, true_path, session_uuid, success, type, username ]`, `[ end_date, remote_ip, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, type, username ]`, `[ path, true_path, remote_ip, success, type, username ]`, `[ path, true_path, session_uuid, success, type, username ]`, `[ path, remote_ip, session_uuid, success, type, username ]`, `[ true_path, remote_ip, session_uuid, success, 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, type ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, type ]`, `[ start_date, end_date, path, true_path, remote_ip, success, username ]`, `[ start_date, end_date, path, true_path, remote_ip, type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, type ]`, `[ start_date, end_date, path, true_path, session_uuid, success, username ]`, `[ start_date, end_date, path, true_path, session_uuid, type, username ]`, `[ start_date, end_date, path, true_path, success, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, path, remote_ip, success, type, username ]`, `[ start_date, end_date, path, session_uuid, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, end_date, true_path, remote_ip, success, type, username ]`, `[ start_date, end_date, true_path, session_uuid, success, type, username ]`, `[ start_date, end_date, remote_ip, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, type ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, type, username ]`, `[ start_date, path, true_path, remote_ip, success, type, username ]`, `[ start_date, path, true_path, session_uuid, success, type, username ]`, `[ start_date, path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, type ]`, `[ end_date, path, true_path, remote_ip, session_uuid, success, username ]`, `[ end_date, path, true_path, remote_ip, session_uuid, type, username ]`, `[ end_date, path, true_path, remote_ip, success, type, username ]`, `[ end_date, path, true_path, session_uuid, success, type, username ]`, `[ end_date, path, remote_ip, session_uuid, success, type, username ]`, `[ end_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, session_uuid, success, 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, type, username ]`, `[ start_date, end_date, path, true_path, remote_ip, success, type, username ]`, `[ start_date, end_date, path, true_path, session_uuid, success, type, username ]`, `[ start_date, end_date, path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, end_date, true_path, remote_ip, session_uuid, success, type, username ]`, `[ start_date, path, true_path, remote_ip, session_uuid, success, type, username ]` or `[ end_date, path, true_path, remote_ip, session_uuid, success, type, username ]`.
|
108
|
+
static list = async (params = {}, options = {}) => {
|
109
|
+
if (params.cursor && !isString(params.cursor)) {
|
110
|
+
throw new errors.InvalidParameterError(`Bad parameter: cursor must be of type String, received ${getType(params.cursor)}`)
|
111
|
+
}
|
112
|
+
|
113
|
+
if (params.per_page && !isInt(params.per_page)) {
|
114
|
+
throw new errors.InvalidParameterError(`Bad parameter: per_page must be of type Int, received ${getType(params.per_page)}`)
|
115
|
+
}
|
116
|
+
|
117
|
+
const response = await Api.sendRequest('/sftp_action_logs', 'GET', params, options)
|
118
|
+
|
119
|
+
return response?.data?.map(obj => new SftpActionLog(obj, options)) || []
|
120
|
+
}
|
121
|
+
|
122
|
+
static all = (params = {}, options = {}) =>
|
123
|
+
SftpActionLog.list(params, options)
|
124
|
+
}
|
125
|
+
|
126
|
+
export default SftpActionLog
|
127
|
+
|
128
|
+
module.exports = SftpActionLog
|
129
|
+
module.exports.default = SftpActionLog
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/* eslint-disable no-unused-vars */
|
2
|
+
import Api from '../Api'
|
3
|
+
import * as errors from '../Errors'
|
4
|
+
import {
|
5
|
+
getType, isArray, isInt, isObject, isString,
|
6
|
+
} from '../utils'
|
7
|
+
/* eslint-enable no-unused-vars */
|
8
|
+
|
9
|
+
/**
|
10
|
+
* Class SyncLog
|
11
|
+
*/
|
12
|
+
class SyncLog {
|
13
|
+
attributes = {}
|
14
|
+
|
15
|
+
options = {}
|
16
|
+
|
17
|
+
constructor(attributes = {}, options = {}) {
|
18
|
+
Object.entries(attributes).forEach(([key, value]) => {
|
19
|
+
const normalizedKey = key.replace('?', '')
|
20
|
+
|
21
|
+
this.attributes[normalizedKey] = value
|
22
|
+
|
23
|
+
Object.defineProperty(this, normalizedKey, { value, writable: false })
|
24
|
+
})
|
25
|
+
|
26
|
+
this.options = { ...options }
|
27
|
+
}
|
28
|
+
|
29
|
+
isLoaded = () => !!this.attributes.id
|
30
|
+
|
31
|
+
// date-time # Start Time of Action
|
32
|
+
getTimestamp = () => this.attributes.timestamp
|
33
|
+
|
34
|
+
// int64 # Sync ID
|
35
|
+
getSyncId = () => this.attributes.sync_id
|
36
|
+
|
37
|
+
// int64 # External Event ID
|
38
|
+
getExternalEventId = () => this.attributes.external_event_id
|
39
|
+
|
40
|
+
// string # Error type, if applicable
|
41
|
+
getErrorType = () => this.attributes.error_type
|
42
|
+
|
43
|
+
// string # Message
|
44
|
+
getMessage = () => this.attributes.message
|
45
|
+
|
46
|
+
// string # Operation type
|
47
|
+
getOperation = () => this.attributes.operation
|
48
|
+
|
49
|
+
// string # File path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
50
|
+
getPath = () => this.attributes.path
|
51
|
+
|
52
|
+
// string # Status
|
53
|
+
getStatus = () => this.attributes.status
|
54
|
+
|
55
|
+
// string # Operation type
|
56
|
+
getType = () => this.attributes.type
|
57
|
+
|
58
|
+
// Parameters:
|
59
|
+
// 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.
|
60
|
+
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
61
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `external_event_id`, `operation`, `status`, `sync_id` or `type`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ start_date, type ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ end_date, type ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, type ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, type ]`, `[ status, sync_id ]`, `[ status, type ]`, `[ sync_id, type ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, end_date, type ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, external_event_id, type ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, operation, type ]`, `[ start_date, status, sync_id ]`, `[ start_date, status, type ]`, `[ start_date, sync_id, type ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, external_event_id, type ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, operation, type ]`, `[ end_date, status, sync_id ]`, `[ end_date, status, type ]`, `[ end_date, sync_id, type ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, type ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, type ]`, `[ external_event_id, sync_id, type ]`, `[ operation, status, sync_id ]`, `[ operation, status, type ]`, `[ operation, sync_id, type ]`, `[ status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, external_event_id, type ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, end_date, status, type ]`, `[ start_date, end_date, sync_id, type ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, operation, type ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, external_event_id, status, type ]`, `[ start_date, external_event_id, sync_id, type ]`, `[ start_date, operation, status, sync_id ]`, `[ start_date, operation, status, type ]`, `[ start_date, operation, sync_id, type ]`, `[ start_date, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, operation, type ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, external_event_id, status, type ]`, `[ end_date, external_event_id, sync_id, type ]`, `[ end_date, operation, status, sync_id ]`, `[ end_date, operation, status, type ]`, `[ end_date, operation, sync_id, type ]`, `[ end_date, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, type ]`, `[ external_event_id, operation, sync_id, type ]`, `[ external_event_id, status, sync_id, type ]`, `[ operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, operation, type ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, external_event_id, status, type ]`, `[ start_date, end_date, external_event_id, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, operation, sync_id, type ]`, `[ start_date, end_date, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, type ]`, `[ start_date, external_event_id, operation, sync_id, type ]`, `[ start_date, external_event_id, status, sync_id, type ]`, `[ start_date, operation, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status, type ]`, `[ end_date, external_event_id, operation, sync_id, type ]`, `[ end_date, external_event_id, status, sync_id, type ]`, `[ end_date, operation, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status, type ]`, `[ start_date, end_date, external_event_id, operation, sync_id, type ]`, `[ start_date, end_date, external_event_id, status, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id, type ]` or `[ end_date, external_event_id, operation, status, sync_id, type ]`.
|
62
|
+
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `status` or `type`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ type ]`, `[ start_date, end_date ]`, `[ start_date, external_event_id ]`, `[ start_date, operation ]`, `[ start_date, status ]`, `[ start_date, sync_id ]`, `[ start_date, type ]`, `[ end_date, external_event_id ]`, `[ end_date, operation ]`, `[ end_date, status ]`, `[ end_date, sync_id ]`, `[ end_date, type ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, type ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, type ]`, `[ status, sync_id ]`, `[ status, type ]`, `[ sync_id, type ]`, `[ start_date, end_date, external_event_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, status ]`, `[ start_date, end_date, sync_id ]`, `[ start_date, end_date, type ]`, `[ start_date, external_event_id, operation ]`, `[ start_date, external_event_id, status ]`, `[ start_date, external_event_id, sync_id ]`, `[ start_date, external_event_id, type ]`, `[ start_date, operation, status ]`, `[ start_date, operation, sync_id ]`, `[ start_date, operation, type ]`, `[ start_date, status, sync_id ]`, `[ start_date, status, type ]`, `[ start_date, sync_id, type ]`, `[ end_date, external_event_id, operation ]`, `[ end_date, external_event_id, status ]`, `[ end_date, external_event_id, sync_id ]`, `[ end_date, external_event_id, type ]`, `[ end_date, operation, status ]`, `[ end_date, operation, sync_id ]`, `[ end_date, operation, type ]`, `[ end_date, status, sync_id ]`, `[ end_date, status, type ]`, `[ end_date, sync_id, type ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, type ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, type ]`, `[ external_event_id, sync_id, type ]`, `[ operation, status, sync_id ]`, `[ operation, status, type ]`, `[ operation, sync_id, type ]`, `[ status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation ]`, `[ start_date, end_date, external_event_id, status ]`, `[ start_date, end_date, external_event_id, sync_id ]`, `[ start_date, end_date, external_event_id, type ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, operation, sync_id ]`, `[ start_date, end_date, operation, type ]`, `[ start_date, end_date, status, sync_id ]`, `[ start_date, end_date, status, type ]`, `[ start_date, end_date, sync_id, type ]`, `[ start_date, external_event_id, operation, status ]`, `[ start_date, external_event_id, operation, sync_id ]`, `[ start_date, external_event_id, operation, type ]`, `[ start_date, external_event_id, status, sync_id ]`, `[ start_date, external_event_id, status, type ]`, `[ start_date, external_event_id, sync_id, type ]`, `[ start_date, operation, status, sync_id ]`, `[ start_date, operation, status, type ]`, `[ start_date, operation, sync_id, type ]`, `[ start_date, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status ]`, `[ end_date, external_event_id, operation, sync_id ]`, `[ end_date, external_event_id, operation, type ]`, `[ end_date, external_event_id, status, sync_id ]`, `[ end_date, external_event_id, status, type ]`, `[ end_date, external_event_id, sync_id, type ]`, `[ end_date, operation, status, sync_id ]`, `[ end_date, operation, status, type ]`, `[ end_date, operation, sync_id, type ]`, `[ end_date, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, type ]`, `[ external_event_id, operation, sync_id, type ]`, `[ external_event_id, status, sync_id, type ]`, `[ operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status ]`, `[ start_date, end_date, external_event_id, operation, sync_id ]`, `[ start_date, end_date, external_event_id, operation, type ]`, `[ start_date, end_date, external_event_id, status, sync_id ]`, `[ start_date, end_date, external_event_id, status, type ]`, `[ start_date, end_date, external_event_id, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id ]`, `[ start_date, end_date, operation, status, type ]`, `[ start_date, end_date, operation, sync_id, type ]`, `[ start_date, end_date, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id ]`, `[ start_date, external_event_id, operation, status, type ]`, `[ start_date, external_event_id, operation, sync_id, type ]`, `[ start_date, external_event_id, status, sync_id, type ]`, `[ start_date, operation, status, sync_id, type ]`, `[ end_date, external_event_id, operation, status, sync_id ]`, `[ end_date, external_event_id, operation, status, type ]`, `[ end_date, external_event_id, operation, sync_id, type ]`, `[ end_date, external_event_id, status, sync_id, type ]`, `[ end_date, operation, status, sync_id, type ]`, `[ external_event_id, operation, status, sync_id, type ]`, `[ start_date, end_date, external_event_id, operation, status, sync_id ]`, `[ start_date, end_date, external_event_id, operation, status, type ]`, `[ start_date, end_date, external_event_id, operation, sync_id, type ]`, `[ start_date, end_date, external_event_id, status, sync_id, type ]`, `[ start_date, end_date, operation, status, sync_id, type ]`, `[ start_date, external_event_id, operation, status, sync_id, type ]` or `[ end_date, external_event_id, operation, status, sync_id, type ]`.
|
63
|
+
static list = async (params = {}, options = {}) => {
|
64
|
+
if (params.cursor && !isString(params.cursor)) {
|
65
|
+
throw new errors.InvalidParameterError(`Bad parameter: cursor must be of type String, received ${getType(params.cursor)}`)
|
66
|
+
}
|
67
|
+
|
68
|
+
if (params.per_page && !isInt(params.per_page)) {
|
69
|
+
throw new errors.InvalidParameterError(`Bad parameter: per_page must be of type Int, received ${getType(params.per_page)}`)
|
70
|
+
}
|
71
|
+
|
72
|
+
const response = await Api.sendRequest('/sync_logs', 'GET', params, options)
|
73
|
+
|
74
|
+
return response?.data?.map(obj => new SyncLog(obj, options)) || []
|
75
|
+
}
|
76
|
+
|
77
|
+
static all = (params = {}, options = {}) =>
|
78
|
+
SyncLog.list(params, options)
|
79
|
+
}
|
80
|
+
|
81
|
+
export default SyncLog
|
82
|
+
|
83
|
+
module.exports = SyncLog
|
84
|
+
module.exports.default = SyncLog
|