files.com 1.2.85 → 1.2.87
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +3 -0
- package/docs/models/ApiKey.md +6 -0
- package/docs/models/ApiRequestLog.md +3 -0
- package/docs/models/App.md +3 -0
- package/docs/models/As2IncomingMessage.md +3 -0
- package/docs/models/As2OutgoingMessage.md +3 -0
- package/docs/models/As2Partner.md +42 -29
- package/docs/models/As2Station.md +3 -0
- package/docs/models/Automation.md +17 -3
- package/docs/models/AutomationLog.md +3 -0
- package/docs/models/AutomationRun.md +3 -0
- package/docs/models/BandwidthSnapshot.md +3 -0
- package/docs/models/Behavior.md +26 -19
- package/docs/models/Bundle.md +4 -5
- package/docs/models/BundleAction.md +4 -0
- package/docs/models/BundleDownload.md +3 -0
- package/docs/models/BundleNotification.md +3 -0
- package/docs/models/BundleRecipient.md +3 -0
- package/docs/models/BundleRegistration.md +3 -0
- package/docs/models/Clickwrap.md +3 -0
- package/docs/models/DnsRecord.md +3 -0
- package/docs/models/EmailIncomingMessage.md +3 -0
- package/docs/models/EmailLog.md +3 -0
- package/docs/models/ExavaultApiRequestLog.md +3 -0
- package/docs/models/ExternalEvent.md +3 -0
- package/docs/models/FileComment.md +3 -0
- package/docs/models/FileMigration.md +1 -1
- package/docs/models/FileMigrationLog.md +3 -0
- package/docs/models/Folder.md +2 -0
- package/docs/models/FormFieldSet.md +3 -0
- package/docs/models/FtpActionLog.md +3 -0
- package/docs/models/GpgKey.md +3 -0
- package/docs/models/Group.md +3 -0
- package/docs/models/GroupUser.md +3 -0
- package/docs/models/History.md +20 -0
- package/docs/models/HistoryExportResult.md +4 -0
- package/docs/models/InboxRecipient.md +3 -0
- package/docs/models/InboxRegistration.md +3 -0
- package/docs/models/InboxUpload.md +3 -0
- package/docs/models/Invoice.md +3 -0
- package/docs/models/IpAddress.md +12 -0
- package/docs/models/Lock.md +6 -3
- package/docs/models/Message.md +3 -0
- package/docs/models/MessageComment.md +3 -0
- package/docs/models/MessageCommentReaction.md +3 -0
- package/docs/models/MessageReaction.md +3 -0
- package/docs/models/Notification.md +4 -1
- package/docs/models/Payment.md +3 -0
- package/docs/models/Permission.md +3 -0
- package/docs/models/Priority.md +3 -0
- package/docs/models/Project.md +3 -0
- package/docs/models/PublicHostingRequestLog.md +3 -0
- package/docs/models/PublicKey.md +3 -0
- package/docs/models/RemoteBandwidthSnapshot.md +3 -0
- package/docs/models/RemoteServer.md +3 -0
- package/docs/models/Request.md +6 -0
- package/docs/models/SettingsChange.md +3 -0
- package/docs/models/SftpActionLog.md +3 -0
- package/docs/models/SftpHostKey.md +3 -0
- package/docs/models/ShareGroup.md +3 -0
- package/docs/models/Site.md +4 -0
- package/docs/models/Snapshot.md +3 -0
- package/docs/models/SsoStrategy.md +4 -1
- package/docs/models/SyncLog.md +3 -0
- package/docs/models/UsageDailySnapshot.md +3 -0
- package/docs/models/UsageSnapshot.md +3 -0
- package/docs/models/User.md +6 -3
- package/docs/models/UserCipherUse.md +3 -0
- package/docs/models/UserRequest.md +3 -0
- package/docs/models/WebDavActionLog.md +3 -0
- package/lib/Files.js +1 -1
- package/lib/models/ActionNotificationExportResult.js +19 -5
- package/lib/models/ApiKey.js +34 -6
- package/lib/models/ApiRequestLog.js +17 -3
- package/lib/models/App.js +17 -3
- package/lib/models/As2IncomingMessage.js +19 -5
- package/lib/models/As2OutgoingMessage.js +19 -5
- package/lib/models/As2Partner.js +120 -64
- package/lib/models/As2Station.js +17 -3
- package/lib/models/Automation.js +31 -6
- package/lib/models/AutomationLog.js +17 -3
- package/lib/models/AutomationRun.js +19 -5
- package/lib/models/BandwidthSnapshot.js +17 -3
- package/lib/models/Behavior.js +53 -31
- package/lib/models/Bundle.js +18 -6
- package/lib/models/BundleAction.js +21 -7
- package/lib/models/BundleDownload.js +21 -7
- package/lib/models/BundleNotification.js +17 -3
- package/lib/models/BundleRecipient.js +19 -5
- package/lib/models/BundleRegistration.js +19 -5
- package/lib/models/Clickwrap.js +17 -3
- package/lib/models/DnsRecord.js +17 -3
- package/lib/models/EmailIncomingMessage.js +17 -3
- package/lib/models/EmailLog.js +17 -3
- package/lib/models/ExavaultApiRequestLog.js +17 -3
- package/lib/models/ExternalEvent.js +17 -3
- package/lib/models/FileComment.js +19 -5
- package/lib/models/FileMigration.js +1 -1
- package/lib/models/FileMigrationLog.js +17 -3
- package/lib/models/Folder.js +18 -11
- package/lib/models/FormFieldSet.js +17 -3
- package/lib/models/FtpActionLog.js +17 -3
- package/lib/models/GpgKey.js +17 -3
- package/lib/models/Group.js +19 -5
- package/lib/models/GroupUser.js +19 -5
- package/lib/models/History.js +91 -21
- package/lib/models/HistoryExportResult.js +19 -5
- package/lib/models/InboxRecipient.js +19 -5
- package/lib/models/InboxRegistration.js +19 -5
- package/lib/models/InboxUpload.js +21 -7
- package/lib/models/Invoice.js +17 -3
- package/lib/models/IpAddress.js +68 -12
- package/lib/models/Lock.js +22 -8
- package/lib/models/Message.js +19 -5
- package/lib/models/MessageComment.js +19 -5
- package/lib/models/MessageCommentReaction.js +19 -5
- package/lib/models/MessageReaction.js +19 -5
- package/lib/models/Notification.js +22 -8
- package/lib/models/Payment.js +17 -3
- package/lib/models/Permission.js +23 -9
- package/lib/models/Priority.js +19 -5
- package/lib/models/Project.js +17 -3
- package/lib/models/PublicHostingRequestLog.js +17 -3
- package/lib/models/PublicKey.js +17 -3
- package/lib/models/RemoteBandwidthSnapshot.js +17 -3
- package/lib/models/RemoteServer.js +17 -3
- package/lib/models/Request.js +38 -10
- package/lib/models/SettingsChange.js +17 -3
- package/lib/models/SftpActionLog.js +17 -3
- package/lib/models/SftpHostKey.js +17 -3
- package/lib/models/ShareGroup.js +17 -3
- package/lib/models/Site.js +5 -0
- package/lib/models/Snapshot.js +17 -3
- package/lib/models/SsoStrategy.js +18 -4
- package/lib/models/SyncLog.js +17 -3
- package/lib/models/UsageDailySnapshot.js +17 -3
- package/lib/models/UsageSnapshot.js +17 -3
- package/lib/models/User.js +24 -10
- package/lib/models/UserCipherUse.js +17 -3
- package/lib/models/UserRequest.js +17 -3
- package/lib/models/WebDavActionLog.js +17 -3
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ActionNotificationExportResult.js +10 -0
- package/src/models/ApiKey.js +22 -0
- package/src/models/ApiRequestLog.js +10 -0
- package/src/models/App.js +10 -0
- package/src/models/As2IncomingMessage.js +10 -0
- package/src/models/As2OutgoingMessage.js +10 -0
- package/src/models/As2Partner.js +82 -38
- package/src/models/As2Station.js +10 -0
- package/src/models/Automation.js +24 -3
- package/src/models/AutomationLog.js +10 -0
- package/src/models/AutomationRun.js +10 -0
- package/src/models/BandwidthSnapshot.js +10 -0
- package/src/models/Behavior.js +39 -23
- package/src/models/Bundle.js +11 -3
- package/src/models/BundleAction.js +10 -0
- package/src/models/BundleDownload.js +10 -0
- package/src/models/BundleNotification.js +10 -0
- package/src/models/BundleRecipient.js +10 -0
- package/src/models/BundleRegistration.js +10 -0
- package/src/models/Clickwrap.js +10 -0
- package/src/models/DnsRecord.js +10 -0
- package/src/models/EmailIncomingMessage.js +10 -0
- package/src/models/EmailLog.js +10 -0
- package/src/models/ExavaultApiRequestLog.js +10 -0
- package/src/models/ExternalEvent.js +10 -0
- package/src/models/FileComment.js +10 -0
- package/src/models/FileMigration.js +1 -1
- package/src/models/FileMigrationLog.js +10 -0
- package/src/models/Folder.js +5 -0
- package/src/models/FormFieldSet.js +10 -0
- package/src/models/FtpActionLog.js +10 -0
- package/src/models/GpgKey.js +10 -0
- package/src/models/Group.js +10 -0
- package/src/models/GroupUser.js +10 -0
- package/src/models/History.js +50 -0
- package/src/models/HistoryExportResult.js +10 -0
- package/src/models/InboxRecipient.js +10 -0
- package/src/models/InboxRegistration.js +10 -0
- package/src/models/InboxUpload.js +10 -0
- package/src/models/Invoice.js +10 -0
- package/src/models/IpAddress.js +40 -0
- package/src/models/Lock.js +13 -3
- package/src/models/Message.js +10 -0
- package/src/models/MessageComment.js +10 -0
- package/src/models/MessageCommentReaction.js +10 -0
- package/src/models/MessageReaction.js +10 -0
- package/src/models/Notification.js +11 -1
- package/src/models/Payment.js +10 -0
- package/src/models/Permission.js +10 -0
- package/src/models/Priority.js +10 -0
- package/src/models/Project.js +10 -0
- package/src/models/PublicHostingRequestLog.js +10 -0
- package/src/models/PublicKey.js +10 -0
- package/src/models/RemoteBandwidthSnapshot.js +10 -0
- package/src/models/RemoteServer.js +10 -0
- package/src/models/Request.js +20 -0
- package/src/models/SettingsChange.js +10 -0
- package/src/models/SftpActionLog.js +10 -0
- package/src/models/SftpHostKey.js +10 -0
- package/src/models/ShareGroup.js +10 -0
- package/src/models/Site.js +4 -0
- package/src/models/Snapshot.js +10 -0
- package/src/models/SsoStrategy.js +11 -1
- package/src/models/SyncLog.js +10 -0
- package/src/models/UsageDailySnapshot.js +10 -0
- package/src/models/UsageSnapshot.js +10 -0
- package/src/models/User.js +13 -3
- package/src/models/UserCipherUse.js +10 -0
- package/src/models/UserRequest.js +10 -0
- package/src/models/WebDavActionLog.js +10 -0
package/lib/models/Project.js
CHANGED
@@ -218,6 +218,8 @@ _Project = Project;
|
|
218
218
|
// Parameters:
|
219
219
|
// 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.
|
220
220
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
221
|
+
// action - string
|
222
|
+
// page - int64
|
221
223
|
(0, _defineProperty2.default)(Project, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
222
224
|
var _response$data;
|
223
225
|
var params,
|
@@ -241,14 +243,26 @@ _Project = Project;
|
|
241
243
|
}
|
242
244
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
243
245
|
case 6:
|
244
|
-
|
245
|
-
|
246
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
247
|
+
_context4.next = 8;
|
248
|
+
break;
|
249
|
+
}
|
250
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
246
251
|
case 8:
|
252
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
253
|
+
_context4.next = 10;
|
254
|
+
break;
|
255
|
+
}
|
256
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
257
|
+
case 10:
|
258
|
+
_context4.next = 12;
|
259
|
+
return _Api.default.sendRequest('/projects', 'GET', params, options);
|
260
|
+
case 12:
|
247
261
|
response = _context4.sent;
|
248
262
|
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
249
263
|
return new _Project(obj, options);
|
250
264
|
})) || []);
|
251
|
-
case
|
265
|
+
case 14:
|
252
266
|
case "end":
|
253
267
|
return _context4.stop();
|
254
268
|
}
|
@@ -82,6 +82,8 @@ _PublicHostingRequestLog = PublicHostingRequestLog;
|
|
82
82
|
// Parameters:
|
83
83
|
// 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.
|
84
84
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
85
|
+
// action - string
|
86
|
+
// page - int64
|
85
87
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `path`, `remote_ip` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
86
88
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, path ]`, `[ start_date, remote_ip ]`, `[ start_date, success ]`, `[ end_date, path ]`, `[ end_date, remote_ip ]`, `[ end_date, success ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ remote_ip, success ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, remote_ip ]`, `[ start_date, end_date, success ]`, `[ start_date, path, remote_ip ]`, `[ start_date, path, success ]`, `[ start_date, remote_ip, success ]`, `[ end_date, path, remote_ip ]`, `[ end_date, path, success ]`, `[ end_date, remote_ip, success ]`, `[ path, remote_ip, success ]`, `[ start_date, end_date, path, remote_ip ]`, `[ start_date, end_date, path, success ]`, `[ start_date, end_date, remote_ip, success ]`, `[ start_date, path, remote_ip, success ]` or `[ end_date, path, remote_ip, success ]`.
|
87
89
|
(0, _defineProperty2.default)(PublicHostingRequestLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
@@ -107,14 +109,26 @@ _PublicHostingRequestLog = PublicHostingRequestLog;
|
|
107
109
|
}
|
108
110
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
109
111
|
case 6:
|
110
|
-
|
111
|
-
|
112
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
113
|
+
_context.next = 8;
|
114
|
+
break;
|
115
|
+
}
|
116
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
112
117
|
case 8:
|
118
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
119
|
+
_context.next = 10;
|
120
|
+
break;
|
121
|
+
}
|
122
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
123
|
+
case 10:
|
124
|
+
_context.next = 12;
|
125
|
+
return _Api.default.sendRequest('/public_hosting_request_logs', 'GET', params, options);
|
126
|
+
case 12:
|
113
127
|
response = _context.sent;
|
114
128
|
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
115
129
|
return new _PublicHostingRequestLog(obj, options);
|
116
130
|
})) || []);
|
117
|
-
case
|
131
|
+
case 14:
|
118
132
|
case "end":
|
119
133
|
return _context.stop();
|
120
134
|
}
|
package/lib/models/PublicKey.js
CHANGED
@@ -258,6 +258,8 @@ _PublicKey = PublicKey;
|
|
258
258
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
259
259
|
// 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.
|
260
260
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
261
|
+
// action - string
|
262
|
+
// page - int64
|
261
263
|
(0, _defineProperty2.default)(PublicKey, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
262
264
|
var _response$data;
|
263
265
|
var params,
|
@@ -287,14 +289,26 @@ _PublicKey = PublicKey;
|
|
287
289
|
}
|
288
290
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
289
291
|
case 8:
|
290
|
-
|
291
|
-
|
292
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
293
|
+
_context4.next = 10;
|
294
|
+
break;
|
295
|
+
}
|
296
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
292
297
|
case 10:
|
298
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
299
|
+
_context4.next = 12;
|
300
|
+
break;
|
301
|
+
}
|
302
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
303
|
+
case 12:
|
304
|
+
_context4.next = 14;
|
305
|
+
return _Api.default.sendRequest('/public_keys', 'GET', params, options);
|
306
|
+
case 14:
|
293
307
|
response = _context4.sent;
|
294
308
|
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
295
309
|
return new _PublicKey(obj, options);
|
296
310
|
})) || []);
|
297
|
-
case
|
311
|
+
case 16:
|
298
312
|
case "end":
|
299
313
|
return _context4.stop();
|
300
314
|
}
|
@@ -70,6 +70,8 @@ _RemoteBandwidthSnapshot = RemoteBandwidthSnapshot;
|
|
70
70
|
// Parameters:
|
71
71
|
// 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.
|
72
72
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
73
|
+
// action - string
|
74
|
+
// page - int64
|
73
75
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
|
74
76
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
75
77
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
@@ -99,14 +101,26 @@ _RemoteBandwidthSnapshot = RemoteBandwidthSnapshot;
|
|
99
101
|
}
|
100
102
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
101
103
|
case 6:
|
102
|
-
|
103
|
-
|
104
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
105
|
+
_context.next = 8;
|
106
|
+
break;
|
107
|
+
}
|
108
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
104
109
|
case 8:
|
110
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
111
|
+
_context.next = 10;
|
112
|
+
break;
|
113
|
+
}
|
114
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
115
|
+
case 10:
|
116
|
+
_context.next = 12;
|
117
|
+
return _Api.default.sendRequest('/remote_bandwidth_snapshots', 'GET', params, options);
|
118
|
+
case 12:
|
105
119
|
response = _context.sent;
|
106
120
|
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
107
121
|
return new _RemoteBandwidthSnapshot(obj, options);
|
108
122
|
})) || []);
|
109
|
-
case
|
123
|
+
case 14:
|
110
124
|
case "end":
|
111
125
|
return _context.stop();
|
112
126
|
}
|
@@ -1246,6 +1246,8 @@ _RemoteServer = RemoteServer;
|
|
1246
1246
|
// Parameters:
|
1247
1247
|
// 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.
|
1248
1248
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
1249
|
+
// action - string
|
1250
|
+
// page - int64
|
1249
1251
|
(0, _defineProperty2.default)(RemoteServer, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
1250
1252
|
var _response$data;
|
1251
1253
|
var params,
|
@@ -1269,14 +1271,26 @@ _RemoteServer = RemoteServer;
|
|
1269
1271
|
}
|
1270
1272
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
1271
1273
|
case 6:
|
1272
|
-
|
1273
|
-
|
1274
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
1275
|
+
_context5.next = 8;
|
1276
|
+
break;
|
1277
|
+
}
|
1278
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
1274
1279
|
case 8:
|
1280
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
1281
|
+
_context5.next = 10;
|
1282
|
+
break;
|
1283
|
+
}
|
1284
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
1285
|
+
case 10:
|
1286
|
+
_context5.next = 12;
|
1287
|
+
return _Api.default.sendRequest('/remote_servers', 'GET', params, options);
|
1288
|
+
case 12:
|
1275
1289
|
response = _context5.sent;
|
1276
1290
|
return _context5.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
1277
1291
|
return new _RemoteServer(obj, options);
|
1278
1292
|
})) || []);
|
1279
|
-
case
|
1293
|
+
case 14:
|
1280
1294
|
case "end":
|
1281
1295
|
return _context5.stop();
|
1282
1296
|
}
|
package/lib/models/Request.js
CHANGED
@@ -181,6 +181,8 @@ _Request = Request;
|
|
181
181
|
// Parameters:
|
182
182
|
// 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.
|
183
183
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
184
|
+
// action - string
|
185
|
+
// page - int64
|
184
186
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
185
187
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
186
188
|
// path - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
@@ -207,20 +209,32 @@ _Request = Request;
|
|
207
209
|
}
|
208
210
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
209
211
|
case 6:
|
210
|
-
if (!(params.
|
212
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
211
213
|
_context3.next = 8;
|
212
214
|
break;
|
213
215
|
}
|
214
|
-
throw new errors.InvalidParameterError("Bad parameter:
|
216
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
215
217
|
case 8:
|
216
|
-
|
217
|
-
|
218
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
219
|
+
_context3.next = 10;
|
220
|
+
break;
|
221
|
+
}
|
222
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
218
223
|
case 10:
|
224
|
+
if (!(params.path && !(0, _utils.isString)(params.path))) {
|
225
|
+
_context3.next = 12;
|
226
|
+
break;
|
227
|
+
}
|
228
|
+
throw new errors.InvalidParameterError("Bad parameter: path must be of type String, received ".concat((0, _utils.getType)(params.path)));
|
229
|
+
case 12:
|
230
|
+
_context3.next = 14;
|
231
|
+
return _Api.default.sendRequest('/requests', 'GET', params, options);
|
232
|
+
case 14:
|
219
233
|
response = _context3.sent;
|
220
234
|
return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
221
235
|
return new _Request(obj, options);
|
222
236
|
})) || []);
|
223
|
-
case
|
237
|
+
case 16:
|
224
238
|
case "end":
|
225
239
|
return _context3.stop();
|
226
240
|
}
|
@@ -234,6 +248,8 @@ _Request = Request;
|
|
234
248
|
// Parameters:
|
235
249
|
// 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.
|
236
250
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
251
|
+
// action - string
|
252
|
+
// page - int64
|
237
253
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[destination]=desc`). Valid fields are `destination`.
|
238
254
|
// mine - boolean - Only show requests of the current user? (Defaults to true if current user is not a site admin.)
|
239
255
|
// path (required) - string - Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
|
@@ -274,20 +290,32 @@ _Request = Request;
|
|
274
290
|
}
|
275
291
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
276
292
|
case 11:
|
277
|
-
if (!(params.
|
293
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
278
294
|
_context4.next = 13;
|
279
295
|
break;
|
280
296
|
}
|
281
|
-
throw new errors.InvalidParameterError("Bad parameter:
|
297
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
282
298
|
case 13:
|
283
|
-
|
284
|
-
|
299
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
300
|
+
_context4.next = 15;
|
301
|
+
break;
|
302
|
+
}
|
303
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
285
304
|
case 15:
|
305
|
+
if (!(params.path && !(0, _utils.isString)(params.path))) {
|
306
|
+
_context4.next = 17;
|
307
|
+
break;
|
308
|
+
}
|
309
|
+
throw new errors.InvalidParameterError("Bad parameter: path must be of type String, received ".concat((0, _utils.getType)(params.path)));
|
310
|
+
case 17:
|
311
|
+
_context4.next = 19;
|
312
|
+
return _Api.default.sendRequest("/requests/folders/".concat(encodeURIComponent(params.path)), 'GET', params, options);
|
313
|
+
case 19:
|
286
314
|
response = _context4.sent;
|
287
315
|
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
|
288
316
|
return new _Request(obj, options);
|
289
317
|
})) || []);
|
290
|
-
case
|
318
|
+
case 21:
|
291
319
|
case "end":
|
292
320
|
return _context4.stop();
|
293
321
|
}
|
@@ -74,6 +74,8 @@ _SettingsChange = SettingsChange;
|
|
74
74
|
// Parameters:
|
75
75
|
// 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.
|
76
76
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
77
|
+
// action - string
|
78
|
+
// page - int64
|
77
79
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[api_key_id]=desc`). Valid fields are `api_key_id`, `created_at` or `user_id`.
|
78
80
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
|
79
81
|
(0, _defineProperty2.default)(SettingsChange, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
@@ -99,14 +101,26 @@ _SettingsChange = SettingsChange;
|
|
99
101
|
}
|
100
102
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
101
103
|
case 6:
|
102
|
-
|
103
|
-
|
104
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
105
|
+
_context.next = 8;
|
106
|
+
break;
|
107
|
+
}
|
108
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
104
109
|
case 8:
|
110
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
111
|
+
_context.next = 10;
|
112
|
+
break;
|
113
|
+
}
|
114
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
115
|
+
case 10:
|
116
|
+
_context.next = 12;
|
117
|
+
return _Api.default.sendRequest('/settings_changes', 'GET', params, options);
|
118
|
+
case 12:
|
105
119
|
response = _context.sent;
|
106
120
|
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
107
121
|
return new _SettingsChange(obj, options);
|
108
122
|
})) || []);
|
109
|
-
case
|
123
|
+
case 14:
|
110
124
|
case "end":
|
111
125
|
return _context.stop();
|
112
126
|
}
|
@@ -130,6 +130,8 @@ _SftpActionLog = SftpActionLog;
|
|
130
130
|
// Parameters:
|
131
131
|
// 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.
|
132
132
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
133
|
+
// action - string
|
134
|
+
// page - int64
|
133
135
|
// 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 ]`.
|
134
136
|
// 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 ]`.
|
135
137
|
(0, _defineProperty2.default)(SftpActionLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
@@ -155,14 +157,26 @@ _SftpActionLog = SftpActionLog;
|
|
155
157
|
}
|
156
158
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
157
159
|
case 6:
|
158
|
-
|
159
|
-
|
160
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
161
|
+
_context.next = 8;
|
162
|
+
break;
|
163
|
+
}
|
164
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
160
165
|
case 8:
|
166
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
167
|
+
_context.next = 10;
|
168
|
+
break;
|
169
|
+
}
|
170
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
171
|
+
case 10:
|
172
|
+
_context.next = 12;
|
173
|
+
return _Api.default.sendRequest('/sftp_action_logs', 'GET', params, options);
|
174
|
+
case 12:
|
161
175
|
response = _context.sent;
|
162
176
|
return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
163
177
|
return new _SftpActionLog(obj, options);
|
164
178
|
})) || []);
|
165
|
-
case
|
179
|
+
case 14:
|
166
180
|
case "end":
|
167
181
|
return _context.stop();
|
168
182
|
}
|
@@ -232,6 +232,8 @@ _SftpHostKey = SftpHostKey;
|
|
232
232
|
// Parameters:
|
233
233
|
// 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.
|
234
234
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
235
|
+
// action - string
|
236
|
+
// page - int64
|
235
237
|
(0, _defineProperty2.default)(SftpHostKey, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
236
238
|
var _response$data;
|
237
239
|
var params,
|
@@ -255,14 +257,26 @@ _SftpHostKey = SftpHostKey;
|
|
255
257
|
}
|
256
258
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
257
259
|
case 6:
|
258
|
-
|
259
|
-
|
260
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
261
|
+
_context4.next = 8;
|
262
|
+
break;
|
263
|
+
}
|
264
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
260
265
|
case 8:
|
266
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
267
|
+
_context4.next = 10;
|
268
|
+
break;
|
269
|
+
}
|
270
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
271
|
+
case 10:
|
272
|
+
_context4.next = 12;
|
273
|
+
return _Api.default.sendRequest('/sftp_host_keys', 'GET', params, options);
|
274
|
+
case 12:
|
261
275
|
response = _context4.sent;
|
262
276
|
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
263
277
|
return new _SftpHostKey(obj, options);
|
264
278
|
})) || []);
|
265
|
-
case
|
279
|
+
case 14:
|
266
280
|
case "end":
|
267
281
|
return _context4.stop();
|
268
282
|
}
|
package/lib/models/ShareGroup.js
CHANGED
@@ -240,6 +240,8 @@ _ShareGroup = ShareGroup;
|
|
240
240
|
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
241
241
|
// 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.
|
242
242
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
243
|
+
// action - string
|
244
|
+
// page - int64
|
243
245
|
(0, _defineProperty2.default)(ShareGroup, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
244
246
|
var _response$data;
|
245
247
|
var params,
|
@@ -269,14 +271,26 @@ _ShareGroup = ShareGroup;
|
|
269
271
|
}
|
270
272
|
throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
|
271
273
|
case 8:
|
272
|
-
|
273
|
-
|
274
|
+
if (!(params.action && !(0, _utils.isString)(params.action))) {
|
275
|
+
_context4.next = 10;
|
276
|
+
break;
|
277
|
+
}
|
278
|
+
throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
|
274
279
|
case 10:
|
280
|
+
if (!(params.page && !(0, _utils.isInt)(params.page))) {
|
281
|
+
_context4.next = 12;
|
282
|
+
break;
|
283
|
+
}
|
284
|
+
throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
|
285
|
+
case 12:
|
286
|
+
_context4.next = 14;
|
287
|
+
return _Api.default.sendRequest('/share_groups', 'GET', params, options);
|
288
|
+
case 14:
|
275
289
|
response = _context4.sent;
|
276
290
|
return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
|
277
291
|
return new _ShareGroup(obj, options);
|
278
292
|
})) || []);
|
279
|
-
case
|
293
|
+
case 16:
|
280
294
|
case "end":
|
281
295
|
return _context4.stop();
|
282
296
|
}
|
package/lib/models/Site.js
CHANGED
@@ -597,6 +597,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
597
597
|
(0, _defineProperty2.default)(this, "getTrialUntil", function () {
|
598
598
|
return _this.attributes.trial_until;
|
599
599
|
});
|
600
|
+
// boolean # If using custom SMTP, should we use dedicated IPs to deliver emails?
|
601
|
+
(0, _defineProperty2.default)(this, "getUseDedicatedIpsForSmtp", function () {
|
602
|
+
return _this.attributes.use_dedicated_ips_for_smtp;
|
603
|
+
});
|
600
604
|
// boolean # Allow uploaders to set `provided_modified_at` for uploaded files?
|
601
605
|
(0, _defineProperty2.default)(this, "getUseProvidedModifiedAt", function () {
|
602
606
|
return _this.attributes.use_provided_modified_at;
|
@@ -837,6 +841,7 @@ _Site = Site;
|
|
837
841
|
// site_header - string - Custom site header text
|
838
842
|
// site_footer - string - Custom site footer text
|
839
843
|
// login_help_text - string - Login help text
|
844
|
+
// use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
|
840
845
|
// smtp_address - string - SMTP server hostname or IP
|
841
846
|
// smtp_authentication - string - SMTP server authentication type
|
842
847
|
// smtp_from - string - From address to use when mailing through custom SMTP
|