files.com 1.2.170 → 1.2.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/ActionNotificationExportResult.md +17 -0
- package/docs/models/ApiKey.md +21 -0
- package/docs/models/ApiRequestLog.md +14 -0
- package/docs/models/App.md +15 -0
- package/docs/models/As2IncomingMessage.md +21 -0
- package/docs/models/As2OutgoingMessage.md +21 -0
- package/docs/models/As2Partner.md +9 -0
- package/docs/models/As2Station.md +9 -0
- package/docs/models/Automation.md +18 -0
- package/docs/models/AutomationLog.md +14 -0
- package/docs/models/AutomationRun.md +17 -0
- package/docs/models/BandwidthSnapshot.md +18 -0
- package/docs/models/Behavior.md +15 -0
- package/docs/models/Bundle.md +22 -0
- package/docs/models/BundleAction.md +18 -0
- package/docs/models/BundleDownload.md +23 -0
- package/docs/models/BundleNotification.md +14 -0
- package/docs/models/BundleRecipient.md +17 -0
- package/docs/models/BundleRegistration.md +15 -0
- package/docs/models/Clickwrap.md +9 -0
- package/docs/models/DnsRecord.md +9 -0
- package/docs/models/EmailIncomingMessage.md +19 -0
- package/docs/models/EmailLog.md +14 -0
- package/docs/models/ExavaultApiRequestLog.md +14 -0
- package/docs/models/Export.md +27 -1
- package/docs/models/ExternalEvent.md +19 -0
- package/docs/models/FileMigrationLog.md +14 -0
- package/docs/models/FormFieldSet.md +15 -0
- package/docs/models/FtpActionLog.md +14 -0
- package/docs/models/GpgKey.md +16 -0
- package/docs/models/Group.md +19 -0
- package/docs/models/GroupUser.md +17 -0
- package/docs/models/History.md +85 -0
- package/docs/models/HistoryExportResult.md +17 -0
- package/docs/models/InboxRecipient.md +17 -0
- package/docs/models/InboxRegistration.md +15 -0
- package/docs/models/InboxUpload.md +19 -1
- package/docs/models/Invoice.md +9 -0
- package/docs/models/IpAddress.md +36 -0
- package/docs/models/Message.md +17 -0
- package/docs/models/MessageComment.md +17 -0
- package/docs/models/MessageCommentReaction.md +17 -0
- package/docs/models/MessageReaction.md +17 -0
- package/docs/models/Notification.md +20 -0
- package/docs/models/OutboundConnectionLog.md +14 -0
- package/docs/models/Payment.md +9 -0
- package/docs/models/Permission.md +21 -0
- package/docs/models/Priority.md +13 -0
- package/docs/models/Project.md +9 -0
- package/docs/models/PublicHostingRequestLog.md +14 -0
- package/docs/models/PublicKey.md +15 -0
- package/docs/models/RemoteBandwidthSnapshot.md +18 -0
- package/docs/models/RemoteServer.md +15 -0
- package/docs/models/Request.md +17 -0
- package/docs/models/SettingsChange.md +14 -0
- package/docs/models/SftpActionLog.md +14 -0
- package/docs/models/SftpHostKey.md +9 -0
- package/docs/models/ShareGroup.md +15 -0
- package/docs/models/SiemHttpDestination.md +9 -0
- package/docs/models/Snapshot.md +9 -0
- package/docs/models/SsoStrategy.md +9 -0
- package/docs/models/SyncLog.md +14 -0
- package/docs/models/UsageDailySnapshot.md +18 -0
- package/docs/models/UsageSnapshot.md +9 -0
- package/docs/models/User.md +24 -0
- package/docs/models/UserCipherUse.md +15 -0
- package/docs/models/UserRequest.md +9 -0
- package/docs/models/UserSftpClientUse.md +15 -0
- package/docs/models/WebDavActionLog.md +14 -0
- package/lib/Files.js +1 -1
- package/lib/models/ActionNotificationExportResult.js +44 -0
- package/lib/models/ApiKey.js +57 -20
- package/lib/models/ApiRequestLog.js +26 -0
- package/lib/models/App.js +27 -0
- package/lib/models/As2IncomingMessage.js +37 -0
- package/lib/models/As2OutgoingMessage.js +37 -0
- package/lib/models/As2Partner.js +21 -0
- package/lib/models/As2Station.js +21 -0
- package/lib/models/Automation.js +30 -0
- package/lib/models/AutomationLog.js +26 -0
- package/lib/models/AutomationRun.js +39 -0
- package/lib/models/BandwidthSnapshot.js +30 -0
- package/lib/models/Behavior.js +27 -0
- package/lib/models/Bundle.js +38 -0
- package/lib/models/BundleAction.js +30 -0
- package/lib/models/BundleDownload.js +44 -0
- package/lib/models/BundleNotification.js +26 -0
- package/lib/models/BundleRecipient.js +39 -0
- package/lib/models/BundleRegistration.js +31 -0
- package/lib/models/Clickwrap.js +21 -0
- package/lib/models/DnsRecord.js +21 -0
- package/lib/models/EmailIncomingMessage.js +31 -0
- package/lib/models/EmailLog.js +26 -0
- package/lib/models/ExavaultApiRequestLog.js +26 -0
- package/lib/models/Export.js +143 -34
- package/lib/models/ExternalEvent.js +31 -0
- package/lib/models/FileMigrationLog.js +26 -0
- package/lib/models/FormFieldSet.js +31 -0
- package/lib/models/FtpActionLog.js +26 -0
- package/lib/models/GpgKey.js +32 -0
- package/lib/models/Group.js +35 -0
- package/lib/models/GroupUser.js +38 -0
- package/lib/models/History.js +307 -0
- package/lib/models/HistoryExportResult.js +44 -0
- package/lib/models/InboxRecipient.js +39 -0
- package/lib/models/InboxRegistration.js +31 -0
- package/lib/models/InboxUpload.js +31 -1
- package/lib/models/Invoice.js +21 -0
- package/lib/models/IpAddress.js +84 -0
- package/lib/models/Message.js +44 -0
- package/lib/models/MessageComment.js +44 -0
- package/lib/models/MessageCommentReaction.js +44 -0
- package/lib/models/MessageReaction.js +44 -0
- package/lib/models/Notification.js +42 -0
- package/lib/models/OutboundConnectionLog.js +26 -0
- package/lib/models/Payment.js +21 -0
- package/lib/models/Permission.js +49 -0
- package/lib/models/Priority.js +49 -0
- package/lib/models/Project.js +21 -0
- package/lib/models/PublicHostingRequestLog.js +26 -0
- package/lib/models/PublicKey.js +31 -0
- package/lib/models/RemoteBandwidthSnapshot.js +30 -0
- package/lib/models/RemoteServer.js +27 -0
- package/lib/models/Request.js +33 -0
- package/lib/models/SettingsChange.js +26 -0
- package/lib/models/SftpActionLog.js +26 -0
- package/lib/models/SftpHostKey.js +21 -0
- package/lib/models/ShareGroup.js +31 -0
- package/lib/models/SiemHttpDestination.js +46 -25
- package/lib/models/Snapshot.js +21 -0
- package/lib/models/SsoStrategy.js +21 -0
- package/lib/models/SyncLog.js +26 -0
- package/lib/models/UsageDailySnapshot.js +30 -0
- package/lib/models/UsageSnapshot.js +21 -0
- package/lib/models/User.js +46 -0
- package/lib/models/UserCipherUse.js +31 -0
- package/lib/models/UserRequest.js +21 -0
- package/lib/models/UserSftpClientUse.js +31 -0
- package/lib/models/WebDavActionLog.js +26 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ActionNotificationExportResult.js +22 -0
- package/src/models/ApiKey.js +19 -0
- package/src/models/ApiRequestLog.js +10 -0
- package/src/models/App.js +11 -0
- package/src/models/As2IncomingMessage.js +19 -0
- package/src/models/As2OutgoingMessage.js +19 -0
- package/src/models/As2Partner.js +7 -0
- package/src/models/As2Station.js +7 -0
- package/src/models/Automation.js +14 -0
- package/src/models/AutomationLog.js +10 -0
- package/src/models/AutomationRun.js +19 -0
- package/src/models/BandwidthSnapshot.js +14 -0
- package/src/models/Behavior.js +11 -0
- package/src/models/Bundle.js +20 -0
- package/src/models/BundleAction.js +14 -0
- package/src/models/BundleDownload.js +24 -0
- package/src/models/BundleNotification.js +10 -0
- package/src/models/BundleRecipient.js +19 -0
- package/src/models/BundleRegistration.js +13 -0
- package/src/models/Clickwrap.js +7 -0
- package/src/models/DnsRecord.js +7 -0
- package/src/models/EmailIncomingMessage.js +15 -0
- package/src/models/EmailLog.js +10 -0
- package/src/models/ExavaultApiRequestLog.js +10 -0
- package/src/models/Export.js +83 -0
- package/src/models/ExternalEvent.js +15 -0
- package/src/models/FileMigrationLog.js +10 -0
- package/src/models/FormFieldSet.js +13 -0
- package/src/models/FtpActionLog.js +10 -0
- package/src/models/GpgKey.js +14 -0
- package/src/models/Group.js +17 -0
- package/src/models/GroupUser.js +18 -0
- package/src/models/History.js +167 -0
- package/src/models/HistoryExportResult.js +22 -0
- package/src/models/InboxRecipient.js +19 -0
- package/src/models/InboxRegistration.js +13 -0
- package/src/models/InboxUpload.js +15 -1
- package/src/models/Invoice.js +7 -0
- package/src/models/IpAddress.js +28 -0
- package/src/models/Message.js +22 -0
- package/src/models/MessageComment.js +22 -0
- package/src/models/MessageCommentReaction.js +22 -0
- package/src/models/MessageReaction.js +22 -0
- package/src/models/Notification.js +22 -0
- package/src/models/OutboundConnectionLog.js +10 -0
- package/src/models/Payment.js +7 -0
- package/src/models/Permission.js +27 -0
- package/src/models/Priority.js +23 -0
- package/src/models/Project.js +7 -0
- package/src/models/PublicHostingRequestLog.js +10 -0
- package/src/models/PublicKey.js +13 -0
- package/src/models/RemoteBandwidthSnapshot.js +14 -0
- package/src/models/RemoteServer.js +11 -0
- package/src/models/Request.js +15 -0
- package/src/models/SettingsChange.js +10 -0
- package/src/models/SftpActionLog.js +10 -0
- package/src/models/SftpHostKey.js +7 -0
- package/src/models/ShareGroup.js +13 -0
- package/src/models/SiemHttpDestination.js +7 -0
- package/src/models/Snapshot.js +7 -0
- package/src/models/SsoStrategy.js +7 -0
- package/src/models/SyncLog.js +10 -0
- package/src/models/UsageDailySnapshot.js +14 -0
- package/src/models/UsageSnapshot.js +7 -0
- package/src/models/User.js +26 -0
- package/src/models/UserCipherUse.js +13 -0
- package/src/models/UserRequest.js +7 -0
- package/src/models/UserSftpClientUse.js +13 -0
- package/src/models/WebDavActionLog.js +10 -0
package/lib/models/As2Partner.js
CHANGED
|
@@ -578,6 +578,27 @@ _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
|
+
})));
|
|
581
602
|
var _default = exports.default = As2Partner;
|
|
582
603
|
module.exports = As2Partner;
|
|
583
604
|
module.exports.default = As2Partner;
|
package/lib/models/As2Station.js
CHANGED
|
@@ -484,6 +484,27 @@ _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
|
+
})));
|
|
487
508
|
var _default = exports.default = As2Station;
|
|
488
509
|
module.exports = As2Station;
|
|
489
510
|
module.exports.default = As2Station;
|
package/lib/models/Automation.js
CHANGED
|
@@ -891,6 +891,36 @@ _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
|
+
})));
|
|
894
924
|
var _default = exports.default = Automation;
|
|
895
925
|
module.exports = Automation;
|
|
896
926
|
module.exports.default = Automation;
|
|
@@ -129,6 +129,32 @@ _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
|
+
})));
|
|
132
158
|
var _default = exports.default = AutomationLog;
|
|
133
159
|
module.exports = AutomationLog;
|
|
134
160
|
module.exports.default = AutomationLog;
|
|
@@ -194,6 +194,45 @@ _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
|
+
})));
|
|
197
236
|
var _default = exports.default = AutomationRun;
|
|
198
237
|
module.exports = AutomationRun;
|
|
199
238
|
module.exports.default = AutomationRun;
|
|
@@ -133,6 +133,36 @@ _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
|
+
})));
|
|
136
166
|
var _default = exports.default = BandwidthSnapshot;
|
|
137
167
|
module.exports = BandwidthSnapshot;
|
|
138
168
|
module.exports.default = BandwidthSnapshot;
|
package/lib/models/Behavior.js
CHANGED
|
@@ -575,6 +575,33 @@ _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
|
+
})));
|
|
578
605
|
var _default = exports.default = Behavior;
|
|
579
606
|
module.exports = Behavior;
|
|
580
607
|
module.exports.default = Behavior;
|
package/lib/models/Bundle.js
CHANGED
|
@@ -940,6 +940,44 @@ _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
|
+
})));
|
|
943
981
|
var _default = exports.default = Bundle;
|
|
944
982
|
module.exports = Bundle;
|
|
945
983
|
module.exports.default = Bundle;
|
|
@@ -121,6 +121,36 @@ _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
|
+
})));
|
|
124
154
|
var _default = exports.default = BundleAction;
|
|
125
155
|
module.exports = BundleAction;
|
|
126
156
|
module.exports.default = BundleAction;
|
|
@@ -127,6 +127,50 @@ _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
|
+
})));
|
|
130
174
|
var _default = exports.default = BundleDownload;
|
|
131
175
|
module.exports = BundleDownload;
|
|
132
176
|
module.exports.default = BundleDownload;
|
|
@@ -359,6 +359,32 @@ _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
|
+
})));
|
|
362
388
|
var _default = exports.default = BundleNotification;
|
|
363
389
|
module.exports = BundleNotification;
|
|
364
390
|
module.exports.default = BundleNotification;
|
|
@@ -248,6 +248,45 @@ _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
|
+
})));
|
|
251
290
|
var _default = exports.default = BundleRecipient;
|
|
252
291
|
module.exports = BundleRecipient;
|
|
253
292
|
module.exports.default = BundleRecipient;
|
|
@@ -150,6 +150,37 @@ _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
|
+
})));
|
|
153
184
|
var _default = exports.default = BundleRegistration;
|
|
154
185
|
module.exports = BundleRegistration;
|
|
155
186
|
module.exports.default = BundleRegistration;
|
package/lib/models/Clickwrap.js
CHANGED
|
@@ -410,6 +410,27 @@ _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
|
+
})));
|
|
413
434
|
var _default = exports.default = Clickwrap;
|
|
414
435
|
module.exports = Clickwrap;
|
|
415
436
|
module.exports.default = Clickwrap;
|
package/lib/models/DnsRecord.js
CHANGED
|
@@ -107,6 +107,27 @@ _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
|
+
})));
|
|
110
131
|
var _default = exports.default = DnsRecord;
|
|
111
132
|
module.exports = DnsRecord;
|
|
112
133
|
module.exports.default = DnsRecord;
|
|
@@ -134,6 +134,37 @@ _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
|
+
})));
|
|
137
168
|
var _default = exports.default = EmailIncomingMessage;
|
|
138
169
|
module.exports = EmailIncomingMessage;
|
|
139
170
|
module.exports.default = EmailIncomingMessage;
|