files.com 1.0.408 → 1.0.410

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