files.com 1.0.412 → 1.0.413
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/lib/Api.js +30 -18
- package/lib/Files.js +1 -1
- package/lib/isomorphic/File.node.js +21 -13
- package/lib/models/ActionNotificationExport.js +8 -5
- package/lib/models/ApiKey.js +8 -5
- package/lib/models/As2Partner.js +8 -5
- package/lib/models/As2Station.js +8 -5
- package/lib/models/Automation.js +8 -5
- package/lib/models/AutomationRun.js +8 -5
- package/lib/models/Behavior.js +15 -9
- package/lib/models/Bundle.js +8 -5
- package/lib/models/BundleNotification.js +8 -5
- package/lib/models/Clickwrap.js +8 -5
- package/lib/models/ExternalEvent.js +8 -5
- package/lib/models/File.js +93 -59
- package/lib/models/FileComment.js +8 -5
- package/lib/models/FileMigration.js +8 -5
- package/lib/models/Folder.js +14 -9
- package/lib/models/FormFieldSet.js +8 -5
- package/lib/models/GpgKey.js +8 -5
- package/lib/models/Group.js +8 -5
- package/lib/models/History.js +22 -13
- package/lib/models/HistoryExport.js +8 -5
- package/lib/models/Invoice.js +8 -5
- package/lib/models/Lock.js +15 -9
- package/lib/models/Message.js +8 -5
- package/lib/models/MessageComment.js +8 -5
- package/lib/models/MessageCommentReaction.js +8 -5
- package/lib/models/MessageReaction.js +8 -5
- package/lib/models/Notification.js +8 -5
- package/lib/models/Payment.js +8 -5
- package/lib/models/Priority.js +8 -5
- package/lib/models/Project.js +8 -5
- package/lib/models/PublicKey.js +8 -5
- package/lib/models/RemoteServer.js +15 -9
- package/lib/models/Request.js +8 -5
- package/lib/models/SftpHostKey.js +8 -5
- package/lib/models/ShareGroup.js +8 -5
- package/lib/models/Snapshot.js +8 -5
- package/lib/models/SsoStrategy.js +8 -5
- package/lib/models/Style.js +8 -5
- package/lib/models/User.js +8 -5
- package/lib/models/UserRequest.js +8 -5
- package/package.json +1 -1
- package/src/Files.js +1 -1
package/lib/models/File.js
CHANGED
@@ -20,7 +20,7 @@ var _utils = require("../utils");
|
|
20
20
|
var _FileAction = _interopRequireDefault(require("./FileAction"));
|
21
21
|
var _FileUploadPart = _interopRequireDefault(require("./FileUploadPart"));
|
22
22
|
var _excluded = ["determinePartUploadUri"];
|
23
|
-
var _class
|
23
|
+
var _class;
|
24
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
25
25
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
26
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -29,11 +29,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
29
29
|
* Class File
|
30
30
|
*/
|
31
31
|
var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
32
|
-
var _this = this
|
33
|
-
_ref,
|
34
|
-
_ref3,
|
35
|
-
_ref4,
|
36
|
-
_ref5;
|
32
|
+
var _this = this;
|
37
33
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
38
34
|
var _options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
39
35
|
(0, _classCallCheck2.default)(this, File);
|
@@ -42,8 +38,8 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
42
38
|
(0, _defineProperty2.default)(this, "isLoaded", function () {
|
43
39
|
return !!_this.attributes.path;
|
44
40
|
});
|
45
|
-
(0, _defineProperty2.default)(this, "downloadToStream", function (
|
46
|
-
|
41
|
+
(0, _defineProperty2.default)(this, "downloadToStream", /*#__PURE__*/function () {
|
42
|
+
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(writableStream) {
|
47
43
|
var downloadUri, _require, saveUrlToStream;
|
48
44
|
return _regenerator.default.wrap(function _callee$(_context) {
|
49
45
|
while (1) switch (_context.prev = _context.next) {
|
@@ -68,8 +64,11 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
68
64
|
return _context.stop();
|
69
65
|
}
|
70
66
|
}, _callee);
|
71
|
-
}))
|
72
|
-
|
67
|
+
}));
|
68
|
+
return function (_x) {
|
69
|
+
return _ref.apply(this, arguments);
|
70
|
+
};
|
71
|
+
}());
|
73
72
|
(0, _defineProperty2.default)(this, "downloadToString", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
74
73
|
var downloadUri, _require2, saveUrlToString;
|
75
74
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
@@ -96,8 +95,8 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
96
95
|
}
|
97
96
|
}, _callee2);
|
98
97
|
})));
|
99
|
-
(0, _defineProperty2.default)(this, "downloadToFile", function (
|
100
|
-
|
98
|
+
(0, _defineProperty2.default)(this, "downloadToFile", /*#__PURE__*/function () {
|
99
|
+
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(destinationPath) {
|
101
100
|
var downloadUri, _require3, saveUrlToFile;
|
102
101
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
103
102
|
while (1) switch (_context3.prev = _context3.next) {
|
@@ -122,10 +121,13 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
122
121
|
return _context3.stop();
|
123
122
|
}
|
124
123
|
}, _callee3);
|
125
|
-
}))
|
126
|
-
|
127
|
-
|
128
|
-
|
124
|
+
}));
|
125
|
+
return function (_x2) {
|
126
|
+
return _ref3.apply(this, arguments);
|
127
|
+
};
|
128
|
+
}());
|
129
|
+
(0, _defineProperty2.default)(this, "copyTo", /*#__PURE__*/function () {
|
130
|
+
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(destinationFilePath, options) {
|
129
131
|
var params;
|
130
132
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
131
133
|
while (1) switch (_context4.prev = _context4.next) {
|
@@ -139,10 +141,13 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
139
141
|
return _context4.stop();
|
140
142
|
}
|
141
143
|
}, _callee4);
|
142
|
-
}))
|
143
|
-
|
144
|
-
|
145
|
-
|
144
|
+
}));
|
145
|
+
return function (_x3, _x4) {
|
146
|
+
return _ref4.apply(this, arguments);
|
147
|
+
};
|
148
|
+
}());
|
149
|
+
(0, _defineProperty2.default)(this, "moveTo", /*#__PURE__*/function () {
|
150
|
+
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(destinationFilePath, options) {
|
146
151
|
var params;
|
147
152
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
148
153
|
while (1) switch (_context5.prev = _context5.next) {
|
@@ -156,8 +161,11 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
156
161
|
return _context5.stop();
|
157
162
|
}
|
158
163
|
}, _callee5);
|
159
|
-
}))
|
160
|
-
|
164
|
+
}));
|
165
|
+
return function (_x5, _x6) {
|
166
|
+
return _ref5.apply(this, arguments);
|
167
|
+
};
|
168
|
+
}());
|
161
169
|
// string # File/Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
162
170
|
(0, _defineProperty2.default)(this, "getPath", function () {
|
163
171
|
return _this.attributes.path;
|
@@ -807,8 +815,8 @@ var File = /*#__PURE__*/(0, _createClass2.default)(function File() {
|
|
807
815
|
this.options = _objectSpread({}, _options);
|
808
816
|
});
|
809
817
|
_class = File;
|
810
|
-
(0, _defineProperty2.default)(File, "_openUpload", function (
|
811
|
-
|
818
|
+
(0, _defineProperty2.default)(File, "_openUpload", /*#__PURE__*/function () {
|
819
|
+
var _ref14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(path, paramsRaw, options) {
|
812
820
|
var params, response, partData;
|
813
821
|
return _regenerator.default.wrap(function _callee12$(_context12) {
|
814
822
|
while (1) switch (_context12.prev = _context12.next) {
|
@@ -836,10 +844,13 @@ _class = File;
|
|
836
844
|
return _context12.stop();
|
837
845
|
}
|
838
846
|
}, _callee12);
|
839
|
-
}))
|
840
|
-
|
841
|
-
|
842
|
-
|
847
|
+
}));
|
848
|
+
return function (_x7, _x8, _x9) {
|
849
|
+
return _ref14.apply(this, arguments);
|
850
|
+
};
|
851
|
+
}());
|
852
|
+
(0, _defineProperty2.default)(File, "_continueUpload", /*#__PURE__*/function () {
|
853
|
+
var _ref15 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13(path, partNumber, firstFileUploadPart, options) {
|
843
854
|
var params, response, partData;
|
844
855
|
return _regenerator.default.wrap(function _callee13$(_context13) {
|
845
856
|
while (1) switch (_context13.prev = _context13.next) {
|
@@ -869,10 +880,13 @@ _class = File;
|
|
869
880
|
return _context13.stop();
|
870
881
|
}
|
871
882
|
}, _callee13);
|
872
|
-
}))
|
873
|
-
|
874
|
-
|
875
|
-
|
883
|
+
}));
|
884
|
+
return function (_x10, _x11, _x12, _x13) {
|
885
|
+
return _ref15.apply(this, arguments);
|
886
|
+
};
|
887
|
+
}());
|
888
|
+
(0, _defineProperty2.default)(File, "_completeUpload", /*#__PURE__*/function () {
|
889
|
+
var _ref16 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(firstFileUploadPart, options) {
|
876
890
|
var params;
|
877
891
|
return _regenerator.default.wrap(function _callee14$(_context14) {
|
878
892
|
while (1) switch (_context14.prev = _context14.next) {
|
@@ -887,13 +901,16 @@ _class = File;
|
|
887
901
|
return _context14.stop();
|
888
902
|
}
|
889
903
|
}, _callee14);
|
890
|
-
}))
|
891
|
-
|
904
|
+
}));
|
905
|
+
return function (_x14, _x15) {
|
906
|
+
return _ref16.apply(this, arguments);
|
907
|
+
};
|
908
|
+
}());
|
892
909
|
/**
|
893
910
|
* @note see File.copy() for list of supported params
|
894
911
|
*/
|
895
|
-
(0, _defineProperty2.default)(File, "uploadStream", function (
|
896
|
-
|
912
|
+
(0, _defineProperty2.default)(File, "uploadStream", /*#__PURE__*/function () {
|
913
|
+
var _ref17 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(destinationPath, readableStream, params, optionsRaw) {
|
897
914
|
var _ref18, determinePartUploadUriRaw, options, firstFileUploadPart, determinePartUploadUri, file;
|
898
915
|
return _regenerator.default.wrap(function _callee17$(_context17) {
|
899
916
|
while (1) switch (_context17.prev = _context17.next) {
|
@@ -915,7 +932,6 @@ _class = File;
|
|
915
932
|
_context17.prev = 7;
|
916
933
|
_context17.next = 10;
|
917
934
|
return new Promise(function (resolve, reject) {
|
918
|
-
var _ref19;
|
919
935
|
var part = 0;
|
920
936
|
var chunks = [];
|
921
937
|
var length = 0;
|
@@ -923,8 +939,8 @@ _class = File;
|
|
923
939
|
readableStream.on('error', function (error) {
|
924
940
|
reject(error);
|
925
941
|
});
|
926
|
-
readableStream.on('data', function (
|
927
|
-
|
942
|
+
readableStream.on('data', /*#__PURE__*/function () {
|
943
|
+
var _ref19 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(chunk) {
|
928
944
|
var nextLength, excessLength, chunkBuffer, _options$getAgentForU, tailLength, lastChunkForPart, firstChunkForNextPart, buffer, nextFileUploadPart, upload_uri, agent, uploadPromise;
|
929
945
|
return _regenerator.default.wrap(function _callee15$(_context15) {
|
930
946
|
while (1) switch (_context15.prev = _context15.next) {
|
@@ -985,8 +1001,11 @@ _class = File;
|
|
985
1001
|
return _context15.stop();
|
986
1002
|
}
|
987
1003
|
}, _callee15, null, [[0, 32]]);
|
988
|
-
}))
|
989
|
-
|
1004
|
+
}));
|
1005
|
+
return function (_x20) {
|
1006
|
+
return _ref19.apply(this, arguments);
|
1007
|
+
};
|
1008
|
+
}());
|
990
1009
|
readableStream.on('end', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
|
991
1010
|
var _options$getAgentForU2, buffer, nextFileUploadPart, upload_uri, agent, response, createdFile;
|
992
1011
|
return _regenerator.default.wrap(function _callee16$(_context16) {
|
@@ -1042,14 +1061,17 @@ _class = File;
|
|
1042
1061
|
return _context17.stop();
|
1043
1062
|
}
|
1044
1063
|
}, _callee17, null, [[7, 14]]);
|
1045
|
-
}))
|
1046
|
-
|
1064
|
+
}));
|
1065
|
+
return function (_x16, _x17, _x18, _x19) {
|
1066
|
+
return _ref17.apply(this, arguments);
|
1067
|
+
};
|
1068
|
+
}());
|
1047
1069
|
/**
|
1048
1070
|
* data - string, Buffer, Stream, any object implementing Symbol.iterator or Symbol.asyncIterator
|
1049
1071
|
* @note see File.copy() for list of supported params
|
1050
1072
|
*/
|
1051
|
-
(0, _defineProperty2.default)(File, "uploadData", function (
|
1052
|
-
|
1073
|
+
(0, _defineProperty2.default)(File, "uploadData", /*#__PURE__*/function () {
|
1074
|
+
var _ref21 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(destinationPath, data, params, options) {
|
1053
1075
|
return _regenerator.default.wrap(function _callee18$(_context18) {
|
1054
1076
|
while (1) switch (_context18.prev = _context18.next) {
|
1055
1077
|
case 0:
|
@@ -1065,13 +1087,16 @@ _class = File;
|
|
1065
1087
|
return _context18.stop();
|
1066
1088
|
}
|
1067
1089
|
}, _callee18);
|
1068
|
-
}))
|
1069
|
-
|
1090
|
+
}));
|
1091
|
+
return function (_x21, _x22, _x23, _x24) {
|
1092
|
+
return _ref21.apply(this, arguments);
|
1093
|
+
};
|
1094
|
+
}());
|
1070
1095
|
/**
|
1071
1096
|
* @note see File.copy() for list of supported params
|
1072
1097
|
*/
|
1073
|
-
(0, _defineProperty2.default)(File, "uploadFile", function (
|
1074
|
-
|
1098
|
+
(0, _defineProperty2.default)(File, "uploadFile", /*#__PURE__*/function () {
|
1099
|
+
var _ref22 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19(destinationPath, sourceFilePath, params, options) {
|
1075
1100
|
var _require4, openDiskFileReadStream, stream;
|
1076
1101
|
return _regenerator.default.wrap(function _callee19$(_context19) {
|
1077
1102
|
while (1) switch (_context19.prev = _context19.next) {
|
@@ -1090,8 +1115,11 @@ _class = File;
|
|
1090
1115
|
return _context19.stop();
|
1091
1116
|
}
|
1092
1117
|
}, _callee19);
|
1093
|
-
}))
|
1094
|
-
|
1118
|
+
}));
|
1119
|
+
return function (_x25, _x26, _x27, _x28) {
|
1120
|
+
return _ref22.apply(this, arguments);
|
1121
|
+
};
|
1122
|
+
}());
|
1095
1123
|
// Parameters:
|
1096
1124
|
// path (required) - string - Path to operate on.
|
1097
1125
|
// action - string - The action to perform. Can be `append`, `attachment`, `end`, `upload`, `put`, or may not exist
|
@@ -1107,8 +1135,8 @@ _class = File;
|
|
1107
1135
|
// size - int64 - Size of file.
|
1108
1136
|
// structure - string - If copying folder, copy just the structure?
|
1109
1137
|
// with_rename - boolean - Allow file rename instead of overwrite?
|
1110
|
-
(0, _defineProperty2.default)(File, "create", function (
|
1111
|
-
|
1138
|
+
(0, _defineProperty2.default)(File, "create", /*#__PURE__*/function () {
|
1139
|
+
var _ref23 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(path) {
|
1112
1140
|
var params,
|
1113
1141
|
options,
|
1114
1142
|
response,
|
@@ -1201,15 +1229,18 @@ _class = File;
|
|
1201
1229
|
return _context20.stop();
|
1202
1230
|
}
|
1203
1231
|
}, _callee20);
|
1204
|
-
}))
|
1205
|
-
|
1232
|
+
}));
|
1233
|
+
return function (_x29) {
|
1234
|
+
return _ref23.apply(this, arguments);
|
1235
|
+
};
|
1236
|
+
}());
|
1206
1237
|
// Parameters:
|
1207
1238
|
// path (required) - string - Path to operate on.
|
1208
1239
|
// preview_size - string - Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
|
1209
1240
|
// with_previews - boolean - Include file preview information?
|
1210
1241
|
// with_priority_color - boolean - Include file priority color information?
|
1211
|
-
(0, _defineProperty2.default)(File, "find", function (
|
1212
|
-
|
1242
|
+
(0, _defineProperty2.default)(File, "find", /*#__PURE__*/function () {
|
1243
|
+
var _ref24 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(path) {
|
1213
1244
|
var params,
|
1214
1245
|
options,
|
1215
1246
|
response,
|
@@ -1254,8 +1285,11 @@ _class = File;
|
|
1254
1285
|
return _context21.stop();
|
1255
1286
|
}
|
1256
1287
|
}, _callee21);
|
1257
|
-
}))
|
1258
|
-
|
1288
|
+
}));
|
1289
|
+
return function (_x30) {
|
1290
|
+
return _ref24.apply(this, arguments);
|
1291
|
+
};
|
1292
|
+
}());
|
1259
1293
|
(0, _defineProperty2.default)(File, "get", function (path) {
|
1260
1294
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1261
1295
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -217,8 +217,8 @@ _class = FileComment;
|
|
217
217
|
// cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
218
218
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
219
219
|
// path (required) - string - Path to operate on.
|
220
|
-
(0, _defineProperty2.default)(FileComment, "listFor", function (
|
221
|
-
|
220
|
+
(0, _defineProperty2.default)(FileComment, "listFor", /*#__PURE__*/function () {
|
221
|
+
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(path) {
|
222
222
|
var _response$data;
|
223
223
|
var params,
|
224
224
|
options,
|
@@ -272,8 +272,11 @@ _class = FileComment;
|
|
272
272
|
return _context3.stop();
|
273
273
|
}
|
274
274
|
}, _callee3);
|
275
|
-
}))
|
276
|
-
|
275
|
+
}));
|
276
|
+
return function (_x) {
|
277
|
+
return _ref5.apply(this, arguments);
|
278
|
+
};
|
279
|
+
}());
|
277
280
|
// Parameters:
|
278
281
|
// body (required) - string - Comment body.
|
279
282
|
// path (required) - string - File path.
|
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -84,8 +84,8 @@ var FileMigration = /*#__PURE__*/(0, _createClass2.default)(function FileMigrati
|
|
84
84
|
_class = FileMigration;
|
85
85
|
// Parameters:
|
86
86
|
// id (required) - int64 - File Migration ID.
|
87
|
-
(0, _defineProperty2.default)(FileMigration, "find", function (
|
88
|
-
|
87
|
+
(0, _defineProperty2.default)(FileMigration, "find", /*#__PURE__*/function () {
|
88
|
+
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(id) {
|
89
89
|
var params,
|
90
90
|
options,
|
91
91
|
response,
|
@@ -124,8 +124,11 @@ _class = FileMigration;
|
|
124
124
|
return _context.stop();
|
125
125
|
}
|
126
126
|
}, _callee);
|
127
|
-
}))
|
128
|
-
|
127
|
+
}));
|
128
|
+
return function (_x) {
|
129
|
+
return _ref3.apply(this, arguments);
|
130
|
+
};
|
131
|
+
}());
|
129
132
|
(0, _defineProperty2.default)(FileMigration, "get", function (id) {
|
130
133
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
131
134
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
package/lib/models/Folder.js
CHANGED
@@ -15,7 +15,6 @@ var errors = _interopRequireWildcard(require("../Errors"));
|
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
17
|
var _File = _interopRequireDefault(require("./File"));
|
18
|
-
var _ref3, _ref4;
|
19
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
20
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
21
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -192,8 +191,8 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
192
191
|
// search_all - boolean - Search entire site? If set, we will ignore the folder path provided and search the entire site. This is the same API used by the search bar in the UI. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
|
193
192
|
// with_previews - boolean - Include file previews?
|
194
193
|
// with_priority_color - boolean - Include file priority color information?
|
195
|
-
(0, _defineProperty2.default)(Folder, "listFor", function (
|
196
|
-
|
194
|
+
(0, _defineProperty2.default)(Folder, "listFor", /*#__PURE__*/function () {
|
195
|
+
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(path) {
|
197
196
|
var _response$data;
|
198
197
|
var params,
|
199
198
|
options,
|
@@ -265,14 +264,17 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
265
264
|
return _context.stop();
|
266
265
|
}
|
267
266
|
}, _callee);
|
268
|
-
}))
|
269
|
-
|
267
|
+
}));
|
268
|
+
return function (_x) {
|
269
|
+
return _ref3.apply(this, arguments);
|
270
|
+
};
|
271
|
+
}());
|
270
272
|
// Parameters:
|
271
273
|
// path (required) - string - Path to operate on.
|
272
274
|
// mkdir_parents - boolean - Create parent directories if they do not exist?
|
273
275
|
// provided_mtime - string - User provided modification time.
|
274
|
-
(0, _defineProperty2.default)(Folder, "create", function (
|
275
|
-
|
276
|
+
(0, _defineProperty2.default)(Folder, "create", /*#__PURE__*/function () {
|
277
|
+
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(path) {
|
276
278
|
var params,
|
277
279
|
options,
|
278
280
|
response,
|
@@ -317,8 +319,11 @@ var Folder = /*#__PURE__*/(0, _createClass2.default)(function Folder() {
|
|
317
319
|
return _context2.stop();
|
318
320
|
}
|
319
321
|
}, _callee2);
|
320
|
-
}))
|
321
|
-
|
322
|
+
}));
|
323
|
+
return function (_x2) {
|
324
|
+
return _ref4.apply(this, arguments);
|
325
|
+
};
|
326
|
+
}());
|
322
327
|
var _default = Folder;
|
323
328
|
exports.default = _default;
|
324
329
|
module.exports = Folder;
|
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -290,8 +290,8 @@ _class = FormFieldSet;
|
|
290
290
|
});
|
291
291
|
// Parameters:
|
292
292
|
// id (required) - int64 - Form Field Set ID.
|
293
|
-
(0, _defineProperty2.default)(FormFieldSet, "find", function (
|
294
|
-
|
293
|
+
(0, _defineProperty2.default)(FormFieldSet, "find", /*#__PURE__*/function () {
|
294
|
+
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(id) {
|
295
295
|
var params,
|
296
296
|
options,
|
297
297
|
response,
|
@@ -330,8 +330,11 @@ _class = FormFieldSet;
|
|
330
330
|
return _context4.stop();
|
331
331
|
}
|
332
332
|
}, _callee4);
|
333
|
-
}))
|
334
|
-
|
333
|
+
}));
|
334
|
+
return function (_x) {
|
335
|
+
return _ref6.apply(this, arguments);
|
336
|
+
};
|
337
|
+
}());
|
335
338
|
(0, _defineProperty2.default)(FormFieldSet, "get", function (id) {
|
336
339
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
337
340
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
package/lib/models/GpgKey.js
CHANGED
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -295,8 +295,8 @@ _class = GpgKey;
|
|
295
295
|
});
|
296
296
|
// Parameters:
|
297
297
|
// id (required) - int64 - Gpg Key ID.
|
298
|
-
(0, _defineProperty2.default)(GpgKey, "find", function (
|
299
|
-
|
298
|
+
(0, _defineProperty2.default)(GpgKey, "find", /*#__PURE__*/function () {
|
299
|
+
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(id) {
|
300
300
|
var params,
|
301
301
|
options,
|
302
302
|
response,
|
@@ -335,8 +335,11 @@ _class = GpgKey;
|
|
335
335
|
return _context4.stop();
|
336
336
|
}
|
337
337
|
}, _callee4);
|
338
|
-
}))
|
339
|
-
|
338
|
+
}));
|
339
|
+
return function (_x) {
|
340
|
+
return _ref6.apply(this, arguments);
|
341
|
+
};
|
342
|
+
}());
|
340
343
|
(0, _defineProperty2.default)(GpgKey, "get", function (id) {
|
341
344
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
342
345
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
package/lib/models/Group.js
CHANGED
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -290,8 +290,8 @@ _class = Group;
|
|
290
290
|
});
|
291
291
|
// Parameters:
|
292
292
|
// id (required) - int64 - Group ID.
|
293
|
-
(0, _defineProperty2.default)(Group, "find", function (
|
294
|
-
|
293
|
+
(0, _defineProperty2.default)(Group, "find", /*#__PURE__*/function () {
|
294
|
+
var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(id) {
|
295
295
|
var params,
|
296
296
|
options,
|
297
297
|
response,
|
@@ -330,8 +330,11 @@ _class = Group;
|
|
330
330
|
return _context4.stop();
|
331
331
|
}
|
332
332
|
}, _callee4);
|
333
|
-
}))
|
334
|
-
|
333
|
+
}));
|
334
|
+
return function (_x) {
|
335
|
+
return _ref6.apply(this, arguments);
|
336
|
+
};
|
337
|
+
}());
|
335
338
|
(0, _defineProperty2.default)(Group, "get", function (id) {
|
336
339
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
337
340
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
package/lib/models/History.js
CHANGED
@@ -14,7 +14,7 @@ var _Api = _interopRequireDefault(require("../Api"));
|
|
14
14
|
var errors = _interopRequireWildcard(require("../Errors"));
|
15
15
|
var _Logger = _interopRequireDefault(require("../Logger"));
|
16
16
|
var _utils = require("../utils");
|
17
|
-
var _class
|
17
|
+
var _class;
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -106,8 +106,8 @@ _class = History;
|
|
106
106
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
107
107
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
108
108
|
// path (required) - string - Path to operate on.
|
109
|
-
(0, _defineProperty2.default)(History, "listForFile", function (
|
110
|
-
|
109
|
+
(0, _defineProperty2.default)(History, "listForFile", /*#__PURE__*/function () {
|
110
|
+
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(path) {
|
111
111
|
var _response$data;
|
112
112
|
var params,
|
113
113
|
options,
|
@@ -179,8 +179,11 @@ _class = History;
|
|
179
179
|
return _context.stop();
|
180
180
|
}
|
181
181
|
}, _callee);
|
182
|
-
}))
|
183
|
-
|
182
|
+
}));
|
183
|
+
return function (_x) {
|
184
|
+
return _ref3.apply(this, arguments);
|
185
|
+
};
|
186
|
+
}());
|
184
187
|
// Parameters:
|
185
188
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
186
189
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
@@ -189,8 +192,8 @@ _class = History;
|
|
189
192
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
190
193
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
191
194
|
// path (required) - string - Path to operate on.
|
192
|
-
(0, _defineProperty2.default)(History, "listForFolder", function (
|
193
|
-
|
195
|
+
(0, _defineProperty2.default)(History, "listForFolder", /*#__PURE__*/function () {
|
196
|
+
var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(path) {
|
194
197
|
var _response$data2;
|
195
198
|
var params,
|
196
199
|
options,
|
@@ -262,8 +265,11 @@ _class = History;
|
|
262
265
|
return _context2.stop();
|
263
266
|
}
|
264
267
|
}, _callee2);
|
265
|
-
}))
|
266
|
-
|
268
|
+
}));
|
269
|
+
return function (_x2) {
|
270
|
+
return _ref4.apply(this, arguments);
|
271
|
+
};
|
272
|
+
}());
|
267
273
|
// Parameters:
|
268
274
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
269
275
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|
@@ -272,8 +278,8 @@ _class = History;
|
|
272
278
|
// per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
273
279
|
// sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[user_id]=desc`). Valid fields are `user_id` and `created_at`.
|
274
280
|
// user_id (required) - int64 - User ID.
|
275
|
-
(0, _defineProperty2.default)(History, "listForUser", function (
|
276
|
-
|
281
|
+
(0, _defineProperty2.default)(History, "listForUser", /*#__PURE__*/function () {
|
282
|
+
var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(user_id) {
|
277
283
|
var _response$data3;
|
278
284
|
var params,
|
279
285
|
options,
|
@@ -345,8 +351,11 @@ _class = History;
|
|
345
351
|
return _context3.stop();
|
346
352
|
}
|
347
353
|
}, _callee3);
|
348
|
-
}))
|
349
|
-
|
354
|
+
}));
|
355
|
+
return function (_x3) {
|
356
|
+
return _ref5.apply(this, arguments);
|
357
|
+
};
|
358
|
+
}());
|
350
359
|
// Parameters:
|
351
360
|
// start_at - string - Leave blank or set to a date/time to filter earlier entries.
|
352
361
|
// end_at - string - Leave blank or set to a date/time to filter later entries.
|