files.com 1.2.172 → 1.2.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +0 -17
- package/docs/models/ApiKey.md +0 -21
- package/docs/models/ApiRequestLog.md +0 -14
- package/docs/models/App.md +0 -15
- package/docs/models/As2IncomingMessage.md +0 -21
- package/docs/models/As2OutgoingMessage.md +0 -21
- package/docs/models/As2Partner.md +0 -9
- package/docs/models/As2Station.md +0 -9
- package/docs/models/Automation.md +0 -18
- package/docs/models/AutomationLog.md +0 -14
- package/docs/models/AutomationRun.md +0 -17
- package/docs/models/BandwidthSnapshot.md +0 -18
- package/docs/models/Behavior.md +0 -15
- package/docs/models/Bundle.md +0 -22
- package/docs/models/BundleAction.md +0 -18
- package/docs/models/BundleDownload.md +0 -23
- package/docs/models/BundleNotification.md +0 -14
- package/docs/models/BundleRecipient.md +0 -17
- package/docs/models/BundleRegistration.md +0 -15
- package/docs/models/Clickwrap.md +0 -9
- package/docs/models/DnsRecord.md +0 -9
- package/docs/models/EmailIncomingMessage.md +0 -19
- package/docs/models/EmailLog.md +0 -14
- package/docs/models/ExavaultApiRequestLog.md +0 -14
- package/docs/models/ExternalEvent.md +0 -19
- package/docs/models/FileMigrationLog.md +0 -14
- package/docs/models/FormFieldSet.md +0 -15
- package/docs/models/FtpActionLog.md +0 -14
- package/docs/models/GpgKey.md +0 -16
- package/docs/models/Group.md +0 -19
- package/docs/models/GroupUser.md +0 -17
- package/docs/models/History.md +0 -85
- package/docs/models/HistoryExportResult.md +0 -17
- package/docs/models/InboxRecipient.md +0 -17
- package/docs/models/InboxRegistration.md +0 -15
- package/docs/models/InboxUpload.md +0 -18
- package/docs/models/Invoice.md +0 -9
- package/docs/models/IpAddress.md +0 -36
- package/docs/models/Message.md +0 -17
- package/docs/models/MessageComment.md +0 -17
- package/docs/models/MessageCommentReaction.md +0 -17
- package/docs/models/MessageReaction.md +0 -17
- package/docs/models/Notification.md +0 -20
- package/docs/models/OutboundConnectionLog.md +0 -14
- package/docs/models/Payment.md +0 -9
- package/docs/models/Permission.md +0 -21
- package/docs/models/Priority.md +0 -13
- package/docs/models/Project.md +0 -9
- package/docs/models/PublicHostingRequestLog.md +0 -14
- package/docs/models/PublicKey.md +0 -15
- package/docs/models/RemoteBandwidthSnapshot.md +0 -18
- package/docs/models/RemoteServer.md +0 -15
- package/docs/models/Request.md +0 -17
- package/docs/models/SettingsChange.md +0 -14
- package/docs/models/SftpActionLog.md +0 -14
- package/docs/models/SftpHostKey.md +0 -9
- package/docs/models/ShareGroup.md +0 -15
- package/docs/models/SiemHttpDestination.md +0 -9
- package/docs/models/Snapshot.md +0 -9
- package/docs/models/SsoStrategy.md +0 -9
- package/docs/models/SyncLog.md +0 -14
- package/docs/models/UsageDailySnapshot.md +0 -18
- package/docs/models/UsageSnapshot.md +0 -9
- package/docs/models/User.md +0 -24
- package/docs/models/UserCipherUse.md +0 -15
- package/docs/models/UserRequest.md +0 -9
- package/docs/models/UserSftpClientUse.md +0 -15
- package/docs/models/WebDavActionLog.md +0 -14
- package/lib/Files.js +1 -1
- package/lib/models/ActionNotificationExportResult.js +0 -44
- package/lib/models/ApiKey.js +20 -57
- package/lib/models/ApiRequestLog.js +0 -26
- package/lib/models/App.js +0 -27
- package/lib/models/As2IncomingMessage.js +0 -37
- package/lib/models/As2OutgoingMessage.js +0 -37
- package/lib/models/As2Partner.js +0 -21
- package/lib/models/As2Station.js +0 -21
- package/lib/models/Automation.js +0 -30
- package/lib/models/AutomationLog.js +0 -26
- package/lib/models/AutomationRun.js +0 -39
- package/lib/models/BandwidthSnapshot.js +0 -30
- package/lib/models/Behavior.js +0 -27
- package/lib/models/Bundle.js +0 -38
- package/lib/models/BundleAction.js +0 -30
- package/lib/models/BundleDownload.js +0 -44
- package/lib/models/BundleNotification.js +0 -26
- package/lib/models/BundleRecipient.js +0 -39
- package/lib/models/BundleRegistration.js +0 -31
- package/lib/models/Clickwrap.js +0 -21
- package/lib/models/DnsRecord.js +0 -21
- package/lib/models/EmailIncomingMessage.js +0 -31
- package/lib/models/EmailLog.js +0 -26
- package/lib/models/ExavaultApiRequestLog.js +0 -26
- package/lib/models/ExternalEvent.js +0 -31
- package/lib/models/FileMigrationLog.js +0 -26
- package/lib/models/FormFieldSet.js +0 -31
- package/lib/models/FtpActionLog.js +0 -26
- package/lib/models/GpgKey.js +0 -32
- package/lib/models/Group.js +0 -35
- package/lib/models/GroupUser.js +0 -38
- package/lib/models/History.js +0 -307
- package/lib/models/HistoryExportResult.js +0 -44
- package/lib/models/InboxRecipient.js +0 -39
- package/lib/models/InboxRegistration.js +0 -31
- package/lib/models/InboxUpload.js +0 -30
- package/lib/models/Invoice.js +0 -21
- package/lib/models/IpAddress.js +0 -84
- package/lib/models/Message.js +0 -44
- package/lib/models/MessageComment.js +0 -44
- package/lib/models/MessageCommentReaction.js +0 -44
- package/lib/models/MessageReaction.js +0 -44
- package/lib/models/Notification.js +0 -42
- package/lib/models/OutboundConnectionLog.js +0 -26
- package/lib/models/Payment.js +0 -21
- package/lib/models/Permission.js +0 -49
- package/lib/models/Priority.js +0 -49
- package/lib/models/Project.js +0 -21
- package/lib/models/PublicHostingRequestLog.js +0 -26
- package/lib/models/PublicKey.js +0 -31
- package/lib/models/RemoteBandwidthSnapshot.js +0 -30
- package/lib/models/RemoteServer.js +0 -27
- package/lib/models/Request.js +0 -33
- package/lib/models/SettingsChange.js +0 -26
- package/lib/models/SftpActionLog.js +0 -26
- package/lib/models/SftpHostKey.js +0 -21
- package/lib/models/ShareGroup.js +0 -31
- package/lib/models/SiemHttpDestination.js +25 -46
- package/lib/models/Snapshot.js +0 -21
- package/lib/models/SsoStrategy.js +0 -21
- package/lib/models/SyncLog.js +0 -26
- package/lib/models/UsageDailySnapshot.js +0 -30
- package/lib/models/UsageSnapshot.js +0 -21
- package/lib/models/User.js +0 -46
- package/lib/models/UserCipherUse.js +0 -31
- package/lib/models/UserRequest.js +0 -21
- package/lib/models/UserSftpClientUse.js +0 -31
- package/lib/models/WebDavActionLog.js +0 -26
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ActionNotificationExportResult.js +0 -22
- package/src/models/ApiKey.js +0 -19
- package/src/models/ApiRequestLog.js +0 -10
- package/src/models/App.js +0 -11
- package/src/models/As2IncomingMessage.js +0 -19
- package/src/models/As2OutgoingMessage.js +0 -19
- package/src/models/As2Partner.js +0 -7
- package/src/models/As2Station.js +0 -7
- package/src/models/Automation.js +0 -14
- package/src/models/AutomationLog.js +0 -10
- package/src/models/AutomationRun.js +0 -19
- package/src/models/BandwidthSnapshot.js +0 -14
- package/src/models/Behavior.js +0 -11
- package/src/models/Bundle.js +0 -20
- package/src/models/BundleAction.js +0 -14
- package/src/models/BundleDownload.js +0 -24
- package/src/models/BundleNotification.js +0 -10
- package/src/models/BundleRecipient.js +0 -19
- package/src/models/BundleRegistration.js +0 -13
- package/src/models/Clickwrap.js +0 -7
- package/src/models/DnsRecord.js +0 -7
- package/src/models/EmailIncomingMessage.js +0 -15
- package/src/models/EmailLog.js +0 -10
- package/src/models/ExavaultApiRequestLog.js +0 -10
- package/src/models/ExternalEvent.js +0 -15
- package/src/models/FileMigrationLog.js +0 -10
- package/src/models/FormFieldSet.js +0 -13
- package/src/models/FtpActionLog.js +0 -10
- package/src/models/GpgKey.js +0 -14
- package/src/models/Group.js +0 -17
- package/src/models/GroupUser.js +0 -18
- package/src/models/History.js +0 -167
- package/src/models/HistoryExportResult.js +0 -22
- package/src/models/InboxRecipient.js +0 -19
- package/src/models/InboxRegistration.js +0 -13
- package/src/models/InboxUpload.js +0 -14
- package/src/models/Invoice.js +0 -7
- package/src/models/IpAddress.js +0 -28
- package/src/models/Message.js +0 -22
- package/src/models/MessageComment.js +0 -22
- package/src/models/MessageCommentReaction.js +0 -22
- package/src/models/MessageReaction.js +0 -22
- package/src/models/Notification.js +0 -22
- package/src/models/OutboundConnectionLog.js +0 -10
- package/src/models/Payment.js +0 -7
- package/src/models/Permission.js +0 -27
- package/src/models/Priority.js +0 -23
- package/src/models/Project.js +0 -7
- package/src/models/PublicHostingRequestLog.js +0 -10
- package/src/models/PublicKey.js +0 -13
- package/src/models/RemoteBandwidthSnapshot.js +0 -14
- package/src/models/RemoteServer.js +0 -11
- package/src/models/Request.js +0 -15
- package/src/models/SettingsChange.js +0 -10
- package/src/models/SftpActionLog.js +0 -10
- package/src/models/SftpHostKey.js +0 -7
- package/src/models/ShareGroup.js +0 -13
- package/src/models/SiemHttpDestination.js +0 -7
- package/src/models/Snapshot.js +0 -7
- package/src/models/SsoStrategy.js +0 -7
- package/src/models/SyncLog.js +0 -10
- package/src/models/UsageDailySnapshot.js +0 -14
- package/src/models/UsageSnapshot.js +0 -7
- package/src/models/User.js +0 -26
- package/src/models/UserCipherUse.js +0 -13
- package/src/models/UserRequest.js +0 -7
- package/src/models/UserSftpClientUse.js +0 -13
- package/src/models/WebDavActionLog.js +0 -10
- package/docs/models/Export.md +0 -76
- package/lib/models/Export.js +0 -283
- package/src/models/Export.js +0 -183
package/lib/models/As2Partner.js
CHANGED
|
@@ -578,27 +578,6 @@ _As2Partner = As2Partner;
|
|
|
578
578
|
}
|
|
579
579
|
}, _callee6);
|
|
580
580
|
})));
|
|
581
|
-
(0, _defineProperty2.default)(As2Partner, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
582
|
-
var options,
|
|
583
|
-
response,
|
|
584
|
-
Export,
|
|
585
|
-
_args7 = arguments;
|
|
586
|
-
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
587
|
-
while (1) switch (_context7.prev = _context7.next) {
|
|
588
|
-
case 0:
|
|
589
|
-
options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
590
|
-
_context7.next = 3;
|
|
591
|
-
return _Api.default.sendRequest('/as2_partners/create_export', 'POST', {}, options);
|
|
592
|
-
case 3:
|
|
593
|
-
response = _context7.sent;
|
|
594
|
-
Export = require('./Export.js').default;
|
|
595
|
-
return _context7.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
596
|
-
case 6:
|
|
597
|
-
case "end":
|
|
598
|
-
return _context7.stop();
|
|
599
|
-
}
|
|
600
|
-
}, _callee7);
|
|
601
|
-
})));
|
|
602
581
|
var _default = exports.default = As2Partner;
|
|
603
582
|
module.exports = As2Partner;
|
|
604
583
|
module.exports.default = As2Partner;
|
package/lib/models/As2Station.js
CHANGED
|
@@ -484,27 +484,6 @@ _As2Station = As2Station;
|
|
|
484
484
|
}
|
|
485
485
|
}, _callee6);
|
|
486
486
|
})));
|
|
487
|
-
(0, _defineProperty2.default)(As2Station, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
488
|
-
var options,
|
|
489
|
-
response,
|
|
490
|
-
Export,
|
|
491
|
-
_args7 = arguments;
|
|
492
|
-
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
493
|
-
while (1) switch (_context7.prev = _context7.next) {
|
|
494
|
-
case 0:
|
|
495
|
-
options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
496
|
-
_context7.next = 3;
|
|
497
|
-
return _Api.default.sendRequest('/as2_stations/create_export', 'POST', {}, options);
|
|
498
|
-
case 3:
|
|
499
|
-
response = _context7.sent;
|
|
500
|
-
Export = require('./Export.js').default;
|
|
501
|
-
return _context7.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
502
|
-
case 6:
|
|
503
|
-
case "end":
|
|
504
|
-
return _context7.stop();
|
|
505
|
-
}
|
|
506
|
-
}, _callee7);
|
|
507
|
-
})));
|
|
508
487
|
var _default = exports.default = As2Station;
|
|
509
488
|
module.exports = As2Station;
|
|
510
489
|
module.exports.default = As2Station;
|
package/lib/models/Automation.js
CHANGED
|
@@ -891,36 +891,6 @@ _Automation = Automation;
|
|
|
891
891
|
}
|
|
892
892
|
}, _callee7);
|
|
893
893
|
})));
|
|
894
|
-
// Parameters:
|
|
895
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
|
|
896
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ disabled, automation ]`, `[ last_modified_at, automation ]` or `[ disabled, last_modified_at, automation ]`.
|
|
897
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
|
|
898
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
|
|
899
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
|
|
900
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `last_modified_at`.
|
|
901
|
-
(0, _defineProperty2.default)(Automation, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|
902
|
-
var params,
|
|
903
|
-
options,
|
|
904
|
-
response,
|
|
905
|
-
Export,
|
|
906
|
-
_args8 = arguments;
|
|
907
|
-
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
908
|
-
while (1) switch (_context8.prev = _context8.next) {
|
|
909
|
-
case 0:
|
|
910
|
-
params = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
|
|
911
|
-
options = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {};
|
|
912
|
-
_context8.next = 4;
|
|
913
|
-
return _Api.default.sendRequest('/automations/create_export', 'POST', params, options);
|
|
914
|
-
case 4:
|
|
915
|
-
response = _context8.sent;
|
|
916
|
-
Export = require('./Export.js').default;
|
|
917
|
-
return _context8.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
918
|
-
case 7:
|
|
919
|
-
case "end":
|
|
920
|
-
return _context8.stop();
|
|
921
|
-
}
|
|
922
|
-
}, _callee8);
|
|
923
|
-
})));
|
|
924
894
|
var _default = exports.default = Automation;
|
|
925
895
|
module.exports = Automation;
|
|
926
896
|
module.exports.default = Automation;
|
|
@@ -129,32 +129,6 @@ _AutomationLog = AutomationLog;
|
|
|
129
129
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
130
130
|
return _AutomationLog.list(params, options);
|
|
131
131
|
});
|
|
132
|
-
// Parameters:
|
|
133
|
-
// 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 ]`.
|
|
134
|
-
// 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 ]`.
|
|
135
|
-
(0, _defineProperty2.default)(AutomationLog, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
136
|
-
var params,
|
|
137
|
-
options,
|
|
138
|
-
response,
|
|
139
|
-
Export,
|
|
140
|
-
_args2 = arguments;
|
|
141
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
142
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
143
|
-
case 0:
|
|
144
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
145
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
146
|
-
_context2.next = 4;
|
|
147
|
-
return _Api.default.sendRequest('/automation_logs/create_export', 'POST', params, options);
|
|
148
|
-
case 4:
|
|
149
|
-
response = _context2.sent;
|
|
150
|
-
Export = require('./Export.js').default;
|
|
151
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
152
|
-
case 7:
|
|
153
|
-
case "end":
|
|
154
|
-
return _context2.stop();
|
|
155
|
-
}
|
|
156
|
-
}, _callee2);
|
|
157
|
-
})));
|
|
158
132
|
var _default = exports.default = AutomationLog;
|
|
159
133
|
module.exports = AutomationLog;
|
|
160
134
|
module.exports.default = AutomationLog;
|
|
@@ -194,45 +194,6 @@ _AutomationRun = AutomationRun;
|
|
|
194
194
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
195
195
|
return _AutomationRun.find(id, params, options);
|
|
196
196
|
});
|
|
197
|
-
// Parameters:
|
|
198
|
-
// 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`.
|
|
199
|
-
// 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 ]`.
|
|
200
|
-
// automation_id (required) - int64 - ID of the associated Automation.
|
|
201
|
-
(0, _defineProperty2.default)(AutomationRun, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
202
|
-
var params,
|
|
203
|
-
options,
|
|
204
|
-
response,
|
|
205
|
-
Export,
|
|
206
|
-
_args3 = arguments;
|
|
207
|
-
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
208
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
209
|
-
case 0:
|
|
210
|
-
params = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
|
|
211
|
-
options = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : {};
|
|
212
|
-
if (params.automation_id) {
|
|
213
|
-
_context3.next = 4;
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
throw new errors.MissingParameterError('Parameter missing: automation_id');
|
|
217
|
-
case 4:
|
|
218
|
-
if (!(params.automation_id && !(0, _utils.isInt)(params.automation_id))) {
|
|
219
|
-
_context3.next = 6;
|
|
220
|
-
break;
|
|
221
|
-
}
|
|
222
|
-
throw new errors.InvalidParameterError("Bad parameter: automation_id must be of type Int, received ".concat((0, _utils.getType)(params.automation_id)));
|
|
223
|
-
case 6:
|
|
224
|
-
_context3.next = 8;
|
|
225
|
-
return _Api.default.sendRequest('/automation_runs/create_export', 'POST', params, options);
|
|
226
|
-
case 8:
|
|
227
|
-
response = _context3.sent;
|
|
228
|
-
Export = require('./Export.js').default;
|
|
229
|
-
return _context3.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
230
|
-
case 11:
|
|
231
|
-
case "end":
|
|
232
|
-
return _context3.stop();
|
|
233
|
-
}
|
|
234
|
-
}, _callee3);
|
|
235
|
-
})));
|
|
236
197
|
var _default = exports.default = AutomationRun;
|
|
237
198
|
module.exports = AutomationRun;
|
|
238
199
|
module.exports.default = AutomationRun;
|
|
@@ -133,36 +133,6 @@ _BandwidthSnapshot = BandwidthSnapshot;
|
|
|
133
133
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
134
134
|
return _BandwidthSnapshot.list(params, options);
|
|
135
135
|
});
|
|
136
|
-
// Parameters:
|
|
137
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `logged_at`.
|
|
138
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
|
|
139
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
|
|
140
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
|
|
141
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
|
|
142
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
|
|
143
|
-
(0, _defineProperty2.default)(BandwidthSnapshot, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
144
|
-
var params,
|
|
145
|
-
options,
|
|
146
|
-
response,
|
|
147
|
-
Export,
|
|
148
|
-
_args2 = arguments;
|
|
149
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
150
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
151
|
-
case 0:
|
|
152
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
153
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
154
|
-
_context2.next = 4;
|
|
155
|
-
return _Api.default.sendRequest('/bandwidth_snapshots/create_export', 'POST', params, options);
|
|
156
|
-
case 4:
|
|
157
|
-
response = _context2.sent;
|
|
158
|
-
Export = require('./Export.js').default;
|
|
159
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
160
|
-
case 7:
|
|
161
|
-
case "end":
|
|
162
|
-
return _context2.stop();
|
|
163
|
-
}
|
|
164
|
-
}, _callee2);
|
|
165
|
-
})));
|
|
166
136
|
var _default = exports.default = BandwidthSnapshot;
|
|
167
137
|
module.exports = BandwidthSnapshot;
|
|
168
138
|
module.exports.default = BandwidthSnapshot;
|
package/lib/models/Behavior.js
CHANGED
|
@@ -575,33 +575,6 @@ _Behavior = Behavior;
|
|
|
575
575
|
}
|
|
576
576
|
}, _callee8);
|
|
577
577
|
})));
|
|
578
|
-
// Parameters:
|
|
579
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
580
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
|
|
581
|
-
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
|
|
582
|
-
(0, _defineProperty2.default)(Behavior, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee9() {
|
|
583
|
-
var params,
|
|
584
|
-
options,
|
|
585
|
-
response,
|
|
586
|
-
Export,
|
|
587
|
-
_args9 = arguments;
|
|
588
|
-
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|
589
|
-
while (1) switch (_context9.prev = _context9.next) {
|
|
590
|
-
case 0:
|
|
591
|
-
params = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
|
|
592
|
-
options = _args9.length > 1 && _args9[1] !== undefined ? _args9[1] : {};
|
|
593
|
-
_context9.next = 4;
|
|
594
|
-
return _Api.default.sendRequest('/behaviors/create_export', 'POST', params, options);
|
|
595
|
-
case 4:
|
|
596
|
-
response = _context9.sent;
|
|
597
|
-
Export = require('./Export.js').default;
|
|
598
|
-
return _context9.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
599
|
-
case 7:
|
|
600
|
-
case "end":
|
|
601
|
-
return _context9.stop();
|
|
602
|
-
}
|
|
603
|
-
}, _callee9);
|
|
604
|
-
})));
|
|
605
578
|
var _default = exports.default = Behavior;
|
|
606
579
|
module.exports = Behavior;
|
|
607
580
|
module.exports.default = Behavior;
|
package/lib/models/Bundle.js
CHANGED
|
@@ -940,44 +940,6 @@ _Bundle = Bundle;
|
|
|
940
940
|
}
|
|
941
941
|
}, _callee7);
|
|
942
942
|
})));
|
|
943
|
-
// Parameters:
|
|
944
|
-
// user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
|
945
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `code` or `note`.
|
|
946
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `code`, `note` or `created_at`.
|
|
947
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
948
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
949
|
-
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code` and `note`.
|
|
950
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
951
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
952
|
-
(0, _defineProperty2.default)(Bundle, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
|
953
|
-
var params,
|
|
954
|
-
options,
|
|
955
|
-
response,
|
|
956
|
-
Export,
|
|
957
|
-
_args8 = arguments;
|
|
958
|
-
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
959
|
-
while (1) switch (_context8.prev = _context8.next) {
|
|
960
|
-
case 0:
|
|
961
|
-
params = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
|
|
962
|
-
options = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {};
|
|
963
|
-
if (!(params.user_id && !(0, _utils.isInt)(params.user_id))) {
|
|
964
|
-
_context8.next = 4;
|
|
965
|
-
break;
|
|
966
|
-
}
|
|
967
|
-
throw new errors.InvalidParameterError("Bad parameter: user_id must be of type Int, received ".concat((0, _utils.getType)(params.user_id)));
|
|
968
|
-
case 4:
|
|
969
|
-
_context8.next = 6;
|
|
970
|
-
return _Api.default.sendRequest('/bundles/create_export', 'POST', params, options);
|
|
971
|
-
case 6:
|
|
972
|
-
response = _context8.sent;
|
|
973
|
-
Export = require('./Export.js').default;
|
|
974
|
-
return _context8.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
975
|
-
case 9:
|
|
976
|
-
case "end":
|
|
977
|
-
return _context8.stop();
|
|
978
|
-
}
|
|
979
|
-
}, _callee8);
|
|
980
|
-
})));
|
|
981
943
|
var _default = exports.default = Bundle;
|
|
982
944
|
module.exports = Bundle;
|
|
983
945
|
module.exports.default = Bundle;
|
|
@@ -121,36 +121,6 @@ _BundleAction = BundleAction;
|
|
|
121
121
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
122
122
|
return _BundleAction.list(params, options);
|
|
123
123
|
});
|
|
124
|
-
// Parameters:
|
|
125
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
126
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ created_at, bundle_id ]`, `[ created_at, bundle_registration_id ]`, `[ bundle_id, bundle_registration_id ]` or `[ created_at, bundle_id, bundle_registration_id ]`.
|
|
127
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
128
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
129
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
130
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
131
|
-
(0, _defineProperty2.default)(BundleAction, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
132
|
-
var params,
|
|
133
|
-
options,
|
|
134
|
-
response,
|
|
135
|
-
Export,
|
|
136
|
-
_args2 = arguments;
|
|
137
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
138
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
139
|
-
case 0:
|
|
140
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
141
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
142
|
-
_context2.next = 4;
|
|
143
|
-
return _Api.default.sendRequest('/bundle_actions/create_export', 'POST', params, options);
|
|
144
|
-
case 4:
|
|
145
|
-
response = _context2.sent;
|
|
146
|
-
Export = require('./Export.js').default;
|
|
147
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
148
|
-
case 7:
|
|
149
|
-
case "end":
|
|
150
|
-
return _context2.stop();
|
|
151
|
-
}
|
|
152
|
-
}, _callee2);
|
|
153
|
-
})));
|
|
154
124
|
var _default = exports.default = BundleAction;
|
|
155
125
|
module.exports = BundleAction;
|
|
156
126
|
module.exports.default = BundleAction;
|
|
@@ -127,50 +127,6 @@ _BundleDownload = BundleDownload;
|
|
|
127
127
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
128
128
|
return _BundleDownload.list(params, options);
|
|
129
129
|
});
|
|
130
|
-
// Parameters:
|
|
131
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
|
132
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
133
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
134
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
135
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
136
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
137
|
-
// bundle_id - int64 - Bundle ID
|
|
138
|
-
// bundle_registration_id - int64 - BundleRegistration ID
|
|
139
|
-
(0, _defineProperty2.default)(BundleDownload, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
140
|
-
var params,
|
|
141
|
-
options,
|
|
142
|
-
response,
|
|
143
|
-
Export,
|
|
144
|
-
_args2 = arguments;
|
|
145
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
146
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
147
|
-
case 0:
|
|
148
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
149
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
150
|
-
if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
|
|
151
|
-
_context2.next = 4;
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
|
|
155
|
-
case 4:
|
|
156
|
-
if (!(params.bundle_registration_id && !(0, _utils.isInt)(params.bundle_registration_id))) {
|
|
157
|
-
_context2.next = 6;
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
throw new errors.InvalidParameterError("Bad parameter: bundle_registration_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_registration_id)));
|
|
161
|
-
case 6:
|
|
162
|
-
_context2.next = 8;
|
|
163
|
-
return _Api.default.sendRequest('/bundle_downloads/create_export', 'POST', params, options);
|
|
164
|
-
case 8:
|
|
165
|
-
response = _context2.sent;
|
|
166
|
-
Export = require('./Export.js').default;
|
|
167
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
168
|
-
case 11:
|
|
169
|
-
case "end":
|
|
170
|
-
return _context2.stop();
|
|
171
|
-
}
|
|
172
|
-
}, _callee2);
|
|
173
|
-
})));
|
|
174
130
|
var _default = exports.default = BundleDownload;
|
|
175
131
|
module.exports = BundleDownload;
|
|
176
132
|
module.exports.default = BundleDownload;
|
|
@@ -359,32 +359,6 @@ _BundleNotification = BundleNotification;
|
|
|
359
359
|
}
|
|
360
360
|
}, _callee6);
|
|
361
361
|
})));
|
|
362
|
-
// Parameters:
|
|
363
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
|
|
364
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
|
365
|
-
(0, _defineProperty2.default)(BundleNotification, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
366
|
-
var params,
|
|
367
|
-
options,
|
|
368
|
-
response,
|
|
369
|
-
Export,
|
|
370
|
-
_args7 = arguments;
|
|
371
|
-
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
372
|
-
while (1) switch (_context7.prev = _context7.next) {
|
|
373
|
-
case 0:
|
|
374
|
-
params = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
375
|
-
options = _args7.length > 1 && _args7[1] !== undefined ? _args7[1] : {};
|
|
376
|
-
_context7.next = 4;
|
|
377
|
-
return _Api.default.sendRequest('/bundle_notifications/create_export', 'POST', params, options);
|
|
378
|
-
case 4:
|
|
379
|
-
response = _context7.sent;
|
|
380
|
-
Export = require('./Export.js').default;
|
|
381
|
-
return _context7.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
382
|
-
case 7:
|
|
383
|
-
case "end":
|
|
384
|
-
return _context7.stop();
|
|
385
|
-
}
|
|
386
|
-
}, _callee7);
|
|
387
|
-
})));
|
|
388
362
|
var _default = exports.default = BundleNotification;
|
|
389
363
|
module.exports = BundleNotification;
|
|
390
364
|
module.exports.default = BundleNotification;
|
|
@@ -248,45 +248,6 @@ _BundleRecipient = BundleRecipient;
|
|
|
248
248
|
}
|
|
249
249
|
}, _callee3);
|
|
250
250
|
})));
|
|
251
|
-
// Parameters:
|
|
252
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
253
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
|
254
|
-
// bundle_id (required) - int64 - List recipients for the bundle with this ID.
|
|
255
|
-
(0, _defineProperty2.default)(BundleRecipient, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
256
|
-
var params,
|
|
257
|
-
options,
|
|
258
|
-
response,
|
|
259
|
-
Export,
|
|
260
|
-
_args4 = arguments;
|
|
261
|
-
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
262
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
263
|
-
case 0:
|
|
264
|
-
params = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
|
265
|
-
options = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {};
|
|
266
|
-
if (params.bundle_id) {
|
|
267
|
-
_context4.next = 4;
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
throw new errors.MissingParameterError('Parameter missing: bundle_id');
|
|
271
|
-
case 4:
|
|
272
|
-
if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
|
|
273
|
-
_context4.next = 6;
|
|
274
|
-
break;
|
|
275
|
-
}
|
|
276
|
-
throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
|
|
277
|
-
case 6:
|
|
278
|
-
_context4.next = 8;
|
|
279
|
-
return _Api.default.sendRequest('/bundle_recipients/create_export', 'POST', params, options);
|
|
280
|
-
case 8:
|
|
281
|
-
response = _context4.sent;
|
|
282
|
-
Export = require('./Export.js').default;
|
|
283
|
-
return _context4.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
284
|
-
case 11:
|
|
285
|
-
case "end":
|
|
286
|
-
return _context4.stop();
|
|
287
|
-
}
|
|
288
|
-
}, _callee4);
|
|
289
|
-
})));
|
|
290
251
|
var _default = exports.default = BundleRecipient;
|
|
291
252
|
module.exports = BundleRecipient;
|
|
292
253
|
module.exports.default = BundleRecipient;
|
|
@@ -150,37 +150,6 @@ _BundleRegistration = BundleRegistration;
|
|
|
150
150
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
151
151
|
return _BundleRegistration.list(params, options);
|
|
152
152
|
});
|
|
153
|
-
// Parameters:
|
|
154
|
-
// bundle_id - int64 - ID of the associated Bundle
|
|
155
|
-
(0, _defineProperty2.default)(BundleRegistration, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
156
|
-
var params,
|
|
157
|
-
options,
|
|
158
|
-
response,
|
|
159
|
-
Export,
|
|
160
|
-
_args2 = arguments;
|
|
161
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
162
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
163
|
-
case 0:
|
|
164
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
165
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
166
|
-
if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
|
|
167
|
-
_context2.next = 4;
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
|
|
171
|
-
case 4:
|
|
172
|
-
_context2.next = 6;
|
|
173
|
-
return _Api.default.sendRequest('/bundle_registrations/create_export', 'POST', params, options);
|
|
174
|
-
case 6:
|
|
175
|
-
response = _context2.sent;
|
|
176
|
-
Export = require('./Export.js').default;
|
|
177
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
178
|
-
case 9:
|
|
179
|
-
case "end":
|
|
180
|
-
return _context2.stop();
|
|
181
|
-
}
|
|
182
|
-
}, _callee2);
|
|
183
|
-
})));
|
|
184
153
|
var _default = exports.default = BundleRegistration;
|
|
185
154
|
module.exports = BundleRegistration;
|
|
186
155
|
module.exports.default = BundleRegistration;
|
package/lib/models/Clickwrap.js
CHANGED
|
@@ -410,27 +410,6 @@ _Clickwrap = Clickwrap;
|
|
|
410
410
|
}
|
|
411
411
|
}, _callee6);
|
|
412
412
|
})));
|
|
413
|
-
(0, _defineProperty2.default)(Clickwrap, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee7() {
|
|
414
|
-
var options,
|
|
415
|
-
response,
|
|
416
|
-
Export,
|
|
417
|
-
_args7 = arguments;
|
|
418
|
-
return _regenerator.default.wrap(function _callee7$(_context7) {
|
|
419
|
-
while (1) switch (_context7.prev = _context7.next) {
|
|
420
|
-
case 0:
|
|
421
|
-
options = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
422
|
-
_context7.next = 3;
|
|
423
|
-
return _Api.default.sendRequest('/clickwraps/create_export', 'POST', {}, options);
|
|
424
|
-
case 3:
|
|
425
|
-
response = _context7.sent;
|
|
426
|
-
Export = require('./Export.js').default;
|
|
427
|
-
return _context7.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
428
|
-
case 6:
|
|
429
|
-
case "end":
|
|
430
|
-
return _context7.stop();
|
|
431
|
-
}
|
|
432
|
-
}, _callee7);
|
|
433
|
-
})));
|
|
434
413
|
var _default = exports.default = Clickwrap;
|
|
435
414
|
module.exports = Clickwrap;
|
|
436
415
|
module.exports.default = Clickwrap;
|
package/lib/models/DnsRecord.js
CHANGED
|
@@ -107,27 +107,6 @@ _DnsRecord = DnsRecord;
|
|
|
107
107
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
108
108
|
return _DnsRecord.list(params, options);
|
|
109
109
|
});
|
|
110
|
-
(0, _defineProperty2.default)(DnsRecord, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
111
|
-
var options,
|
|
112
|
-
response,
|
|
113
|
-
Export,
|
|
114
|
-
_args2 = arguments;
|
|
115
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
116
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
117
|
-
case 0:
|
|
118
|
-
options = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
119
|
-
_context2.next = 3;
|
|
120
|
-
return _Api.default.sendRequest('/dns_records/create_export', 'POST', {}, options);
|
|
121
|
-
case 3:
|
|
122
|
-
response = _context2.sent;
|
|
123
|
-
Export = require('./Export.js').default;
|
|
124
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
125
|
-
case 6:
|
|
126
|
-
case "end":
|
|
127
|
-
return _context2.stop();
|
|
128
|
-
}
|
|
129
|
-
}, _callee2);
|
|
130
|
-
})));
|
|
131
110
|
var _default = exports.default = DnsRecord;
|
|
132
111
|
module.exports = DnsRecord;
|
|
133
112
|
module.exports.default = DnsRecord;
|
|
@@ -134,37 +134,6 @@ _EmailIncomingMessage = EmailIncomingMessage;
|
|
|
134
134
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
135
135
|
return _EmailIncomingMessage.list(params, options);
|
|
136
136
|
});
|
|
137
|
-
// Parameters:
|
|
138
|
-
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
|
|
139
|
-
// filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ created_at, inbox_id ]`, `[ created_at, sender ]`, `[ created_at, status ]`, `[ inbox_id, status ]`, `[ created_at, inbox_id, status ]`, `[ inbox_id, sender, status ]` or `[ created_at, inbox_id, sender, status ]`.
|
|
140
|
-
// filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
141
|
-
// filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
142
|
-
// filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
|
|
143
|
-
// filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
144
|
-
// filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
145
|
-
(0, _defineProperty2.default)(EmailIncomingMessage, "createExport", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
146
|
-
var params,
|
|
147
|
-
options,
|
|
148
|
-
response,
|
|
149
|
-
Export,
|
|
150
|
-
_args2 = arguments;
|
|
151
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
152
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
153
|
-
case 0:
|
|
154
|
-
params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
155
|
-
options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
156
|
-
_context2.next = 4;
|
|
157
|
-
return _Api.default.sendRequest('/email_incoming_messages/create_export', 'POST', params, options);
|
|
158
|
-
case 4:
|
|
159
|
-
response = _context2.sent;
|
|
160
|
-
Export = require('./Export.js').default;
|
|
161
|
-
return _context2.abrupt("return", new Export(response === null || response === void 0 ? void 0 : response.data, options));
|
|
162
|
-
case 7:
|
|
163
|
-
case "end":
|
|
164
|
-
return _context2.stop();
|
|
165
|
-
}
|
|
166
|
-
}, _callee2);
|
|
167
|
-
})));
|
|
168
137
|
var _default = exports.default = EmailIncomingMessage;
|
|
169
138
|
module.exports = EmailIncomingMessage;
|
|
170
139
|
module.exports.default = EmailIncomingMessage;
|