files.com 1.2.117 → 1.2.119
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/ExternalEvent.md +4 -2
- package/lib/Api.js +4 -4
- package/lib/Errors.js +1 -1
- package/lib/Files.js +1 -1
- package/lib/isomorphic/File.node.js +3 -3
- package/lib/models/ActionNotificationExport.js +3 -3
- package/lib/models/ActionNotificationExportResult.js +1 -1
- package/lib/models/ApiKey.js +9 -9
- package/lib/models/ApiRequestLog.js +1 -1
- package/lib/models/App.js +1 -1
- package/lib/models/As2IncomingMessage.js +1 -1
- package/lib/models/As2OutgoingMessage.js +1 -1
- package/lib/models/As2Partner.js +6 -6
- package/lib/models/As2Station.js +6 -6
- package/lib/models/Automation.js +7 -7
- package/lib/models/AutomationLog.js +1 -1
- package/lib/models/AutomationRun.js +2 -2
- package/lib/models/BandwidthSnapshot.js +1 -1
- package/lib/models/Behavior.js +8 -8
- package/lib/models/Bundle.js +7 -7
- package/lib/models/BundleAction.js +1 -1
- package/lib/models/BundleDownload.js +1 -1
- package/lib/models/BundleNotification.js +6 -6
- package/lib/models/BundleRecipient.js +3 -3
- package/lib/models/BundleRegistration.js +1 -1
- package/lib/models/Clickwrap.js +6 -6
- package/lib/models/DnsRecord.js +1 -1
- package/lib/models/EmailIncomingMessage.js +1 -1
- package/lib/models/EmailLog.js +1 -1
- package/lib/models/ExavaultApiRequestLog.js +1 -1
- package/lib/models/ExternalEvent.js +13 -6
- package/lib/models/File.js +22 -22
- package/lib/models/FileComment.js +5 -5
- package/lib/models/FileCommentReaction.js +3 -3
- package/lib/models/FileMigration.js +1 -1
- package/lib/models/FileMigrationLog.js +1 -1
- package/lib/models/Folder.js +3 -3
- package/lib/models/FormFieldSet.js +6 -6
- package/lib/models/FtpActionLog.js +1 -1
- package/lib/models/GpgKey.js +6 -6
- package/lib/models/Group.js +6 -6
- package/lib/models/GroupUser.js +5 -5
- package/lib/models/History.js +5 -5
- package/lib/models/HistoryExport.js +3 -3
- package/lib/models/HistoryExportResult.js +1 -1
- package/lib/models/InboxRecipient.js +3 -3
- package/lib/models/InboxRegistration.js +1 -1
- package/lib/models/InboxUpload.js +1 -1
- package/lib/models/Invoice.js +2 -2
- package/lib/models/IpAddress.js +4 -4
- package/lib/models/Lock.js +4 -4
- package/lib/models/Message.js +6 -6
- package/lib/models/MessageComment.js +6 -6
- package/lib/models/MessageCommentReaction.js +5 -5
- package/lib/models/MessageReaction.js +5 -5
- package/lib/models/Notification.js +6 -6
- package/lib/models/OutboundConnectionLog.js +1 -1
- package/lib/models/Payment.js +2 -2
- package/lib/models/Permission.js +4 -4
- package/lib/models/Priority.js +1 -1
- package/lib/models/Project.js +6 -6
- package/lib/models/PublicHostingRequestLog.js +1 -1
- package/lib/models/PublicKey.js +6 -6
- package/lib/models/RemoteBandwidthSnapshot.js +1 -1
- package/lib/models/RemoteServer.js +8 -8
- package/lib/models/Request.js +5 -5
- package/lib/models/Session.js +3 -3
- package/lib/models/SettingsChange.js +1 -1
- package/lib/models/SftpActionLog.js +1 -1
- package/lib/models/SftpHostKey.js +6 -6
- package/lib/models/ShareGroup.js +6 -6
- package/lib/models/Site.js +3 -3
- package/lib/models/Snapshot.js +7 -7
- package/lib/models/SsoStrategy.js +3 -3
- package/lib/models/Style.js +4 -4
- package/lib/models/SyncLog.js +1 -1
- package/lib/models/UsageDailySnapshot.js +1 -1
- package/lib/models/UsageSnapshot.js +1 -1
- package/lib/models/User.js +9 -9
- package/lib/models/UserCipherUse.js +1 -1
- package/lib/models/UserRequest.js +5 -5
- package/lib/models/WebDavActionLog.js +1 -1
- package/lib/models/WebhookTest.js +2 -2
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ExternalEvent.js +9 -2
@@ -88,7 +88,7 @@ _AutomationLog = AutomationLog;
|
|
88
88
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `automation_id`, `automation_run_id`, `operation`, `path` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ operation, path ]`, `[ operation, status ]`, `[ path, status ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, path, status ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, path, status ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, path, status ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, path, status ]`, `[ operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, path, status ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, operation, path, status ]`, `[ automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]` or `[ end_date, automation_id, automation_run_id, operation, path, status ]`.
|
90
90
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `path` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ automation_id ]`, `[ automation_run_id ]`, `[ operation ]`, `[ path ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, automation_id ]`, `[ start_date, automation_run_id ]`, `[ start_date, operation ]`, `[ start_date, path ]`, `[ start_date, status ]`, `[ end_date, automation_id ]`, `[ end_date, automation_run_id ]`, `[ end_date, operation ]`, `[ end_date, path ]`, `[ end_date, status ]`, `[ automation_id, automation_run_id ]`, `[ automation_id, operation ]`, `[ automation_id, path ]`, `[ automation_id, status ]`, `[ automation_run_id, operation ]`, `[ automation_run_id, path ]`, `[ automation_run_id, status ]`, `[ operation, path ]`, `[ operation, status ]`, `[ path, status ]`, `[ start_date, end_date, automation_id ]`, `[ start_date, end_date, automation_run_id ]`, `[ start_date, end_date, operation ]`, `[ start_date, end_date, path ]`, `[ start_date, end_date, status ]`, `[ start_date, automation_id, automation_run_id ]`, `[ start_date, automation_id, operation ]`, `[ start_date, automation_id, path ]`, `[ start_date, automation_id, status ]`, `[ start_date, automation_run_id, operation ]`, `[ start_date, automation_run_id, path ]`, `[ start_date, automation_run_id, status ]`, `[ start_date, operation, path ]`, `[ start_date, operation, status ]`, `[ start_date, path, status ]`, `[ end_date, automation_id, automation_run_id ]`, `[ end_date, automation_id, operation ]`, `[ end_date, automation_id, path ]`, `[ end_date, automation_id, status ]`, `[ end_date, automation_run_id, operation ]`, `[ end_date, automation_run_id, path ]`, `[ end_date, automation_run_id, status ]`, `[ end_date, operation, path ]`, `[ end_date, operation, status ]`, `[ end_date, path, status ]`, `[ automation_id, automation_run_id, operation ]`, `[ automation_id, automation_run_id, path ]`, `[ automation_id, automation_run_id, status ]`, `[ automation_id, operation, path ]`, `[ automation_id, operation, status ]`, `[ automation_id, path, status ]`, `[ automation_run_id, operation, path ]`, `[ automation_run_id, operation, status ]`, `[ automation_run_id, path, status ]`, `[ operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id ]`, `[ start_date, end_date, automation_id, operation ]`, `[ start_date, end_date, automation_id, path ]`, `[ start_date, end_date, automation_id, status ]`, `[ start_date, end_date, automation_run_id, operation ]`, `[ start_date, end_date, automation_run_id, path ]`, `[ start_date, end_date, automation_run_id, status ]`, `[ start_date, end_date, operation, path ]`, `[ start_date, end_date, operation, status ]`, `[ start_date, end_date, path, status ]`, `[ start_date, automation_id, automation_run_id, operation ]`, `[ start_date, automation_id, automation_run_id, path ]`, `[ start_date, automation_id, automation_run_id, status ]`, `[ start_date, automation_id, operation, path ]`, `[ start_date, automation_id, operation, status ]`, `[ start_date, automation_id, path, status ]`, `[ start_date, automation_run_id, operation, path ]`, `[ start_date, automation_run_id, operation, status ]`, `[ start_date, automation_run_id, path, status ]`, `[ start_date, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation ]`, `[ end_date, automation_id, automation_run_id, path ]`, `[ end_date, automation_id, automation_run_id, status ]`, `[ end_date, automation_id, operation, path ]`, `[ end_date, automation_id, operation, status ]`, `[ end_date, automation_id, path, status ]`, `[ end_date, automation_run_id, operation, path ]`, `[ end_date, automation_run_id, operation, status ]`, `[ end_date, automation_run_id, path, status ]`, `[ end_date, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path ]`, `[ automation_id, automation_run_id, operation, status ]`, `[ automation_id, automation_run_id, path, status ]`, `[ automation_id, operation, path, status ]`, `[ automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation ]`, `[ start_date, end_date, automation_id, automation_run_id, path ]`, `[ start_date, end_date, automation_id, automation_run_id, status ]`, `[ start_date, end_date, automation_id, operation, path ]`, `[ start_date, end_date, automation_id, operation, status ]`, `[ start_date, end_date, automation_id, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_run_id, path, status ]`, `[ start_date, end_date, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, automation_id, automation_run_id, path, status ]`, `[ start_date, automation_id, operation, path, status ]`, `[ start_date, automation_run_id, operation, path, status ]`, `[ end_date, automation_id, automation_run_id, operation, path ]`, `[ end_date, automation_id, automation_run_id, operation, status ]`, `[ end_date, automation_id, automation_run_id, path, status ]`, `[ end_date, automation_id, operation, path, status ]`, `[ end_date, automation_run_id, operation, path, status ]`, `[ automation_id, automation_run_id, operation, path, status ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, path ]`, `[ start_date, end_date, automation_id, automation_run_id, operation, status ]`, `[ start_date, end_date, automation_id, automation_run_id, path, status ]`, `[ start_date, end_date, automation_id, operation, path, status ]`, `[ start_date, end_date, automation_run_id, operation, path, status ]`, `[ start_date, automation_id, automation_run_id, operation, path, status ]` or `[ end_date, automation_id, automation_run_id, operation, path, status ]`.
|
91
|
-
(0, _defineProperty2.default)(AutomationLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
91
|
+
(0, _defineProperty2.default)(AutomationLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
92
92
|
var _response$data;
|
93
93
|
var params,
|
94
94
|
options,
|
@@ -89,7 +89,7 @@ _AutomationRun = AutomationRun;
|
|
89
89
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
|
90
90
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ status, automation_id ]`.
|
91
91
|
// automation_id (required) - int64 - ID of the associated Automation.
|
92
|
-
(0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
92
|
+
(0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
93
93
|
var _response$data;
|
94
94
|
var params,
|
95
95
|
options,
|
@@ -145,7 +145,7 @@ _AutomationRun = AutomationRun;
|
|
145
145
|
// Parameters:
|
146
146
|
// id (required) - int64 - Automation Run ID.
|
147
147
|
(0, _defineProperty2.default)(AutomationRun, "find", /*#__PURE__*/function () {
|
148
|
-
var _ref4 = (0, _asyncToGenerator2.default)(
|
148
|
+
var _ref4 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2(id) {
|
149
149
|
var params,
|
150
150
|
options,
|
151
151
|
response,
|
@@ -92,7 +92,7 @@ _BandwidthSnapshot = BandwidthSnapshot;
|
|
92
92
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
|
93
93
|
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
94
94
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
|
95
|
-
(0, _defineProperty2.default)(BandwidthSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
95
|
+
(0, _defineProperty2.default)(BandwidthSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
96
96
|
var _response$data;
|
97
97
|
var params,
|
98
98
|
options,
|
package/lib/models/Behavior.js
CHANGED
@@ -118,7 +118,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
118
118
|
// name - string - Name for this behavior.
|
119
119
|
// description - string - Description for this behavior.
|
120
120
|
// attachment_delete - boolean - If `true`, delete the file stored in `attachment`.
|
121
|
-
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
121
|
+
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
122
122
|
var params,
|
123
123
|
response,
|
124
124
|
_args = arguments;
|
@@ -188,7 +188,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
188
188
|
}
|
189
189
|
}, _callee);
|
190
190
|
})));
|
191
|
-
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
191
|
+
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
192
192
|
var params,
|
193
193
|
_args2 = arguments;
|
194
194
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
@@ -240,7 +240,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
240
240
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
241
241
|
return _this.delete(params);
|
242
242
|
});
|
243
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
243
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
244
244
|
var _newObject, newObject;
|
245
245
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
246
246
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -288,7 +288,7 @@ _Behavior = Behavior;
|
|
288
288
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior` and `impacts_ui`.
|
289
289
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
290
290
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
291
|
-
(0, _defineProperty2.default)(Behavior, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
291
|
+
(0, _defineProperty2.default)(Behavior, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
292
292
|
var _response$data;
|
293
293
|
var params,
|
294
294
|
options,
|
@@ -332,7 +332,7 @@ _Behavior = Behavior;
|
|
332
332
|
// Parameters:
|
333
333
|
// id (required) - int64 - Behavior ID.
|
334
334
|
(0, _defineProperty2.default)(Behavior, "find", /*#__PURE__*/function () {
|
335
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
335
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee5(id) {
|
336
336
|
var params,
|
337
337
|
options,
|
338
338
|
response,
|
@@ -390,7 +390,7 @@ _Behavior = Behavior;
|
|
390
390
|
// path (required) - string - Path to operate on.
|
391
391
|
// ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
|
392
392
|
(0, _defineProperty2.default)(Behavior, "listFor", /*#__PURE__*/function () {
|
393
|
-
var _ref8 = (0, _asyncToGenerator2.default)(
|
393
|
+
var _ref8 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6(path) {
|
394
394
|
var _response$data2;
|
395
395
|
var params,
|
396
396
|
options,
|
@@ -458,7 +458,7 @@ _Behavior = Behavior;
|
|
458
458
|
// description - string - Description for this behavior.
|
459
459
|
// path (required) - string - Path where this behavior should apply.
|
460
460
|
// behavior (required) - string - Behavior type.
|
461
|
-
(0, _defineProperty2.default)(Behavior, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
461
|
+
(0, _defineProperty2.default)(Behavior, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
462
462
|
var params,
|
463
463
|
options,
|
464
464
|
response,
|
@@ -528,7 +528,7 @@ _Behavior = Behavior;
|
|
528
528
|
// headers - object - Additional request headers to send via HTTP.
|
529
529
|
// body - object - Additional body parameters to include in the webhook payload.
|
530
530
|
// action - string - Action for test body.
|
531
|
-
(0, _defineProperty2.default)(Behavior, "webhookTest", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
531
|
+
(0, _defineProperty2.default)(Behavior, "webhookTest", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
532
532
|
var params,
|
533
533
|
options,
|
534
534
|
_args8 = arguments;
|
package/lib/models/Bundle.js
CHANGED
@@ -351,7 +351,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
351
351
|
// to - array(string) - A list of email addresses to share this bundle with. Required unless `recipients` is used.
|
352
352
|
// note - string - Note to include in email.
|
353
353
|
// recipients - array(object) - A list of recipients to share this bundle with. Required unless `to` is used.
|
354
|
-
(0, _defineProperty2.default)(this, "share", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
354
|
+
(0, _defineProperty2.default)(this, "share", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
355
355
|
var params,
|
356
356
|
_args = arguments;
|
357
357
|
return _regenerator.default.wrap(function _callee$(_context) {
|
@@ -443,7 +443,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
443
443
|
// skip_name - boolean - BundleRegistrations can be saved without providing name?
|
444
444
|
// watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
445
445
|
// watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
446
|
-
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
446
|
+
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
447
447
|
var params,
|
448
448
|
response,
|
449
449
|
_args2 = arguments;
|
@@ -579,7 +579,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
579
579
|
}
|
580
580
|
}, _callee2);
|
581
581
|
})));
|
582
|
-
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
582
|
+
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
583
583
|
var params,
|
584
584
|
_args3 = arguments;
|
585
585
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
@@ -631,7 +631,7 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
631
631
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
632
632
|
return _this.delete(params);
|
633
633
|
});
|
634
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
634
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
635
635
|
var _newObject, newObject;
|
636
636
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
637
637
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -683,7 +683,7 @@ _Bundle = Bundle;
|
|
683
683
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
684
684
|
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
685
685
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
686
|
-
(0, _defineProperty2.default)(Bundle, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
686
|
+
(0, _defineProperty2.default)(Bundle, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee5() {
|
687
687
|
var _response$data;
|
688
688
|
var params,
|
689
689
|
options,
|
@@ -733,7 +733,7 @@ _Bundle = Bundle;
|
|
733
733
|
// Parameters:
|
734
734
|
// id (required) - int64 - Bundle ID.
|
735
735
|
(0, _defineProperty2.default)(Bundle, "find", /*#__PURE__*/function () {
|
736
|
-
var _ref8 = (0, _asyncToGenerator2.default)(
|
736
|
+
var _ref8 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6(id) {
|
737
737
|
var params,
|
738
738
|
options,
|
739
739
|
response,
|
@@ -809,7 +809,7 @@ _Bundle = Bundle;
|
|
809
809
|
// start_access_on_date - string - Date when share will start to be accessible. If `nil` access granted right after create.
|
810
810
|
// snapshot_id - int64 - ID of the snapshot containing this bundle's contents.
|
811
811
|
// watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
812
|
-
(0, _defineProperty2.default)(Bundle, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
812
|
+
(0, _defineProperty2.default)(Bundle, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
813
813
|
var params,
|
814
814
|
options,
|
815
815
|
response,
|
@@ -82,7 +82,7 @@ _BundleAction = BundleAction;
|
|
82
82
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
83
83
|
// bundle_id - int64 - Bundle ID
|
84
84
|
// bundle_registration_id - int64 - BundleRegistration ID
|
85
|
-
(0, _defineProperty2.default)(BundleAction, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
85
|
+
(0, _defineProperty2.default)(BundleAction, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
86
86
|
var _response$data;
|
87
87
|
var params,
|
88
88
|
options,
|
@@ -74,7 +74,7 @@ _BundleDownload = BundleDownload;
|
|
74
74
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
75
75
|
// bundle_id - int64 - Bundle ID
|
76
76
|
// bundle_registration_id - int64 - BundleRegistration ID
|
77
|
-
(0, _defineProperty2.default)(BundleDownload, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
77
|
+
(0, _defineProperty2.default)(BundleDownload, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
78
78
|
var _response$data;
|
79
79
|
var params,
|
80
80
|
options,
|
@@ -71,7 +71,7 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
71
71
|
// Parameters:
|
72
72
|
// notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
73
73
|
// notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
74
|
-
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
74
|
+
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
75
75
|
var params,
|
76
76
|
response,
|
77
77
|
_args = arguments;
|
@@ -123,7 +123,7 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
123
123
|
}
|
124
124
|
}, _callee);
|
125
125
|
})));
|
126
|
-
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
126
|
+
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
127
127
|
var params,
|
128
128
|
_args2 = arguments;
|
129
129
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
@@ -175,7 +175,7 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
|
|
175
175
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
176
176
|
return _this.delete(params);
|
177
177
|
});
|
178
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
178
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
179
179
|
var _newObject, newObject;
|
180
180
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
181
181
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -222,7 +222,7 @@ _BundleNotification = BundleNotification;
|
|
222
222
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
223
223
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
|
224
224
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
225
|
-
(0, _defineProperty2.default)(BundleNotification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
225
|
+
(0, _defineProperty2.default)(BundleNotification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
226
226
|
var _response$data;
|
227
227
|
var params,
|
228
228
|
options,
|
@@ -266,7 +266,7 @@ _BundleNotification = BundleNotification;
|
|
266
266
|
// Parameters:
|
267
267
|
// id (required) - int64 - Bundle Notification ID.
|
268
268
|
(0, _defineProperty2.default)(BundleNotification, "find", /*#__PURE__*/function () {
|
269
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
269
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee5(id) {
|
270
270
|
var params,
|
271
271
|
options,
|
272
272
|
response,
|
@@ -320,7 +320,7 @@ _BundleNotification = BundleNotification;
|
|
320
320
|
// user_id - int64 - The id of the user to notify.
|
321
321
|
// notify_on_registration - boolean - Triggers bundle notification when a registration action occurs for it.
|
322
322
|
// notify_on_upload - boolean - Triggers bundle notification when a upload action occurs for it.
|
323
|
-
(0, _defineProperty2.default)(BundleNotification, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
323
|
+
(0, _defineProperty2.default)(BundleNotification, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
324
324
|
var params,
|
325
325
|
options,
|
326
326
|
response,
|
@@ -82,7 +82,7 @@ var BundleRecipient = /*#__PURE__*/(0, _createClass2.default)(function BundleRec
|
|
82
82
|
(0, _defineProperty2.default)(this, "setShareAfterCreate", function (value) {
|
83
83
|
_this.attributes.share_after_create = value;
|
84
84
|
});
|
85
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
85
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
86
86
|
var newObject;
|
87
87
|
return _regenerator.default.wrap(function _callee$(_context) {
|
88
88
|
while (1) switch (_context.prev = _context.next) {
|
@@ -125,7 +125,7 @@ _BundleRecipient = BundleRecipient;
|
|
125
125
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `has_registrations`.
|
126
126
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
127
127
|
// bundle_id (required) - int64 - List recipients for the bundle with this ID.
|
128
|
-
(0, _defineProperty2.default)(BundleRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
128
|
+
(0, _defineProperty2.default)(BundleRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
129
129
|
var _response$data;
|
130
130
|
var params,
|
131
131
|
options,
|
@@ -185,7 +185,7 @@ _BundleRecipient = BundleRecipient;
|
|
185
185
|
// company - string - Company of recipient.
|
186
186
|
// note - string - Note to include in email.
|
187
187
|
// share_after_create - boolean - Set to true to share the link with the recipient upon creation.
|
188
|
-
(0, _defineProperty2.default)(BundleRecipient, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
188
|
+
(0, _defineProperty2.default)(BundleRecipient, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
189
189
|
var params,
|
190
190
|
options,
|
191
191
|
response,
|
@@ -103,7 +103,7 @@ _BundleRegistration = BundleRegistration;
|
|
103
103
|
// 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.
|
104
104
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
105
105
|
// bundle_id - int64 - ID of the associated Bundle
|
106
|
-
(0, _defineProperty2.default)(BundleRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
106
|
+
(0, _defineProperty2.default)(BundleRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
107
107
|
var _response$data;
|
108
108
|
var params,
|
109
109
|
options,
|
package/lib/models/Clickwrap.js
CHANGED
@@ -81,7 +81,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
81
81
|
// use_with_bundles - string - Use this Clickwrap for Bundles?
|
82
82
|
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
83
83
|
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
84
|
-
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
84
|
+
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
85
85
|
var params,
|
86
86
|
response,
|
87
87
|
_args = arguments;
|
@@ -163,7 +163,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
163
163
|
}
|
164
164
|
}, _callee);
|
165
165
|
})));
|
166
|
-
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
166
|
+
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
167
167
|
var params,
|
168
168
|
_args2 = arguments;
|
169
169
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
@@ -215,7 +215,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
215
215
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
216
216
|
return _this.delete(params);
|
217
217
|
});
|
218
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
218
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
219
219
|
var _newObject, newObject;
|
220
220
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
221
221
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -260,7 +260,7 @@ _Clickwrap = Clickwrap;
|
|
260
260
|
// Parameters:
|
261
261
|
// 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.
|
262
262
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
263
|
-
(0, _defineProperty2.default)(Clickwrap, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
263
|
+
(0, _defineProperty2.default)(Clickwrap, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
264
264
|
var _response$data;
|
265
265
|
var params,
|
266
266
|
options,
|
@@ -304,7 +304,7 @@ _Clickwrap = Clickwrap;
|
|
304
304
|
// Parameters:
|
305
305
|
// id (required) - int64 - Clickwrap ID.
|
306
306
|
(0, _defineProperty2.default)(Clickwrap, "find", /*#__PURE__*/function () {
|
307
|
-
var _ref7 = (0, _asyncToGenerator2.default)(
|
307
|
+
var _ref7 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee5(id) {
|
308
308
|
var params,
|
309
309
|
options,
|
310
310
|
response,
|
@@ -359,7 +359,7 @@ _Clickwrap = Clickwrap;
|
|
359
359
|
// use_with_bundles - string - Use this Clickwrap for Bundles?
|
360
360
|
// use_with_inboxes - string - Use this Clickwrap for Inboxes?
|
361
361
|
// use_with_users - string - Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
362
|
-
(0, _defineProperty2.default)(Clickwrap, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
362
|
+
(0, _defineProperty2.default)(Clickwrap, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee6() {
|
363
363
|
var params,
|
364
364
|
options,
|
365
365
|
response,
|
package/lib/models/DnsRecord.js
CHANGED
@@ -66,7 +66,7 @@ _DnsRecord = DnsRecord;
|
|
66
66
|
// Parameters:
|
67
67
|
// 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.
|
68
68
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
69
|
-
(0, _defineProperty2.default)(DnsRecord, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
69
|
+
(0, _defineProperty2.default)(DnsRecord, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
70
70
|
var _response$data;
|
71
71
|
var params,
|
72
72
|
options,
|
@@ -93,7 +93,7 @@ _EmailIncomingMessage = EmailIncomingMessage;
|
|
93
93
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
|
94
94
|
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
95
95
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
96
|
-
(0, _defineProperty2.default)(EmailIncomingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
96
|
+
(0, _defineProperty2.default)(EmailIncomingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
97
97
|
var _response$data;
|
98
98
|
var params,
|
99
99
|
options,
|
package/lib/models/EmailLog.js
CHANGED
@@ -88,7 +88,7 @@ _EmailLog = EmailLog;
|
|
88
88
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.
|
90
90
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.
|
91
|
-
(0, _defineProperty2.default)(EmailLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
91
|
+
(0, _defineProperty2.default)(EmailLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
92
92
|
var _response$data;
|
93
93
|
var params,
|
94
94
|
options,
|
@@ -96,7 +96,7 @@ _ExavaultApiRequestLog = ExavaultApiRequestLog;
|
|
96
96
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
97
97
|
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `request_ip`, `request_method` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, request_ip ]`, `[ start_date, request_method ]`, `[ start_date, success ]`, `[ end_date, request_ip ]`, `[ end_date, request_method ]`, `[ end_date, success ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_method, success ]`, `[ start_date, end_date, request_ip ]`, `[ start_date, end_date, request_method ]`, `[ start_date, end_date, success ]`, `[ start_date, request_ip, request_method ]`, `[ start_date, request_ip, success ]`, `[ start_date, request_method, success ]`, `[ end_date, request_ip, request_method ]`, `[ end_date, request_ip, success ]`, `[ end_date, request_method, success ]`, `[ request_ip, request_method, success ]`, `[ start_date, end_date, request_ip, request_method ]`, `[ start_date, end_date, request_ip, success ]`, `[ start_date, end_date, request_method, success ]`, `[ start_date, request_ip, request_method, success ]` or `[ end_date, request_ip, request_method, success ]`.
|
98
98
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `request_ip` and `request_method`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, request_ip ]`, `[ start_date, request_method ]`, `[ start_date, success ]`, `[ end_date, request_ip ]`, `[ end_date, request_method ]`, `[ end_date, success ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_method, success ]`, `[ start_date, end_date, request_ip ]`, `[ start_date, end_date, request_method ]`, `[ start_date, end_date, success ]`, `[ start_date, request_ip, request_method ]`, `[ start_date, request_ip, success ]`, `[ start_date, request_method, success ]`, `[ end_date, request_ip, request_method ]`, `[ end_date, request_ip, success ]`, `[ end_date, request_method, success ]`, `[ request_ip, request_method, success ]`, `[ start_date, end_date, request_ip, request_method ]`, `[ start_date, end_date, request_ip, success ]`, `[ start_date, end_date, request_method, success ]`, `[ start_date, request_ip, request_method, success ]` or `[ end_date, request_ip, request_method, success ]`.
|
99
|
-
(0, _defineProperty2.default)(ExavaultApiRequestLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
99
|
+
(0, _defineProperty2.default)(ExavaultApiRequestLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
100
100
|
var _response$data;
|
101
101
|
var params,
|
102
102
|
options,
|
@@ -79,6 +79,13 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
|
|
79
79
|
(0, _defineProperty2.default)(this, "setFolderBehaviorId", function (value) {
|
80
80
|
_this.attributes.folder_behavior_id = value;
|
81
81
|
});
|
82
|
+
// int64 # SIEM HTTP Destination ID.
|
83
|
+
(0, _defineProperty2.default)(this, "getSiemHttpDestinationId", function () {
|
84
|
+
return _this.attributes.siem_http_destination_id;
|
85
|
+
});
|
86
|
+
(0, _defineProperty2.default)(this, "setSiemHttpDestinationId", function (value) {
|
87
|
+
_this.attributes.siem_http_destination_id = value;
|
88
|
+
});
|
82
89
|
// int64 # For sync events, the number of files handled successfully.
|
83
90
|
(0, _defineProperty2.default)(this, "getSuccessfulFiles", function () {
|
84
91
|
return _this.attributes.successful_files;
|
@@ -121,7 +128,7 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
|
|
121
128
|
(0, _defineProperty2.default)(this, "setRemoteServerType", function (value) {
|
122
129
|
_this.attributes.remote_server_type = value;
|
123
130
|
});
|
124
|
-
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
131
|
+
(0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
125
132
|
var newObject;
|
126
133
|
return _regenerator.default.wrap(function _callee$(_context) {
|
127
134
|
while (1) switch (_context.prev = _context.next) {
|
@@ -161,14 +168,14 @@ _ExternalEvent = ExternalEvent;
|
|
161
168
|
// Parameters:
|
162
169
|
// 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.
|
163
170
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
164
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
|
165
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `
|
171
|
+
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `event_type`, `created_at` or `status`.
|
172
|
+
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type, status ]`, `[ created_at, event_type ]` or `[ created_at, status ]`.
|
166
173
|
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
167
174
|
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
168
175
|
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
|
169
176
|
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
170
177
|
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
171
|
-
(0, _defineProperty2.default)(ExternalEvent, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
178
|
+
(0, _defineProperty2.default)(ExternalEvent, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
172
179
|
var _response$data;
|
173
180
|
var params,
|
174
181
|
options,
|
@@ -212,7 +219,7 @@ _ExternalEvent = ExternalEvent;
|
|
212
219
|
// Parameters:
|
213
220
|
// id (required) - int64 - External Event ID.
|
214
221
|
(0, _defineProperty2.default)(ExternalEvent, "find", /*#__PURE__*/function () {
|
215
|
-
var _ref5 = (0, _asyncToGenerator2.default)(
|
222
|
+
var _ref5 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3(id) {
|
216
223
|
var params,
|
217
224
|
options,
|
218
225
|
response,
|
@@ -264,7 +271,7 @@ _ExternalEvent = ExternalEvent;
|
|
264
271
|
// Parameters:
|
265
272
|
// status (required) - string - Status of event.
|
266
273
|
// body (required) - string - Event body
|
267
|
-
(0, _defineProperty2.default)(ExternalEvent, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(
|
274
|
+
(0, _defineProperty2.default)(ExternalEvent, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
268
275
|
var params,
|
269
276
|
options,
|
270
277
|
response,
|