files.com 1.2.101 → 1.2.102

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.
Files changed (211) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/ActionNotificationExportResult.md +0 -2
  3. package/docs/models/ApiKey.md +1 -3
  4. package/docs/models/ApiRequestLog.md +0 -2
  5. package/docs/models/App.md +1 -3
  6. package/docs/models/As2IncomingMessage.md +1 -3
  7. package/docs/models/As2OutgoingMessage.md +1 -3
  8. package/docs/models/As2Partner.md +0 -2
  9. package/docs/models/As2Station.md +0 -2
  10. package/docs/models/Automation.md +1 -10
  11. package/docs/models/AutomationLog.md +0 -2
  12. package/docs/models/AutomationRun.md +1 -3
  13. package/docs/models/BandwidthSnapshot.md +1 -3
  14. package/docs/models/Behavior.md +2 -8
  15. package/docs/models/Bundle.md +1 -3
  16. package/docs/models/BundleAction.md +1 -3
  17. package/docs/models/BundleDownload.md +1 -3
  18. package/docs/models/BundleNotification.md +1 -3
  19. package/docs/models/BundleRecipient.md +1 -3
  20. package/docs/models/BundleRegistration.md +0 -2
  21. package/docs/models/Clickwrap.md +0 -2
  22. package/docs/models/DnsRecord.md +0 -2
  23. package/docs/models/EmailIncomingMessage.md +1 -3
  24. package/docs/models/EmailLog.md +0 -2
  25. package/docs/models/ExavaultApiRequestLog.md +0 -2
  26. package/docs/models/ExternalEvent.md +1 -3
  27. package/docs/models/FileComment.md +0 -2
  28. package/docs/models/FileMigrationLog.md +0 -2
  29. package/docs/models/Folder.md +0 -1
  30. package/docs/models/FormFieldSet.md +0 -2
  31. package/docs/models/FtpActionLog.md +0 -2
  32. package/docs/models/GpgKey.md +1 -3
  33. package/docs/models/Group.md +1 -3
  34. package/docs/models/GroupUser.md +0 -2
  35. package/docs/models/History.md +5 -15
  36. package/docs/models/HistoryExportResult.md +0 -2
  37. package/docs/models/InboxRecipient.md +1 -3
  38. package/docs/models/InboxRegistration.md +0 -2
  39. package/docs/models/InboxUpload.md +1 -3
  40. package/docs/models/Invoice.md +0 -2
  41. package/docs/models/IpAddress.md +0 -8
  42. package/docs/models/Lock.md +0 -2
  43. package/docs/models/Message.md +0 -2
  44. package/docs/models/MessageComment.md +0 -2
  45. package/docs/models/MessageCommentReaction.md +0 -2
  46. package/docs/models/MessageReaction.md +0 -2
  47. package/docs/models/Notification.md +1 -5
  48. package/docs/models/OutboundConnectionLog.md +0 -2
  49. package/docs/models/Payment.md +0 -2
  50. package/docs/models/Permission.md +1 -3
  51. package/docs/models/Priority.md +0 -2
  52. package/docs/models/Project.md +0 -2
  53. package/docs/models/PublicHostingRequestLog.md +0 -2
  54. package/docs/models/PublicKey.md +0 -2
  55. package/docs/models/RemoteBandwidthSnapshot.md +1 -3
  56. package/docs/models/RemoteServer.md +0 -2
  57. package/docs/models/Request.md +2 -6
  58. package/docs/models/SettingsChange.md +1 -3
  59. package/docs/models/SftpActionLog.md +0 -2
  60. package/docs/models/SftpHostKey.md +0 -2
  61. package/docs/models/ShareGroup.md +0 -2
  62. package/docs/models/Snapshot.md +0 -2
  63. package/docs/models/SsoStrategy.md +0 -2
  64. package/docs/models/SyncLog.md +0 -2
  65. package/docs/models/UsageDailySnapshot.md +1 -3
  66. package/docs/models/UsageSnapshot.md +0 -2
  67. package/docs/models/User.md +1 -3
  68. package/docs/models/UserCipherUse.md +0 -2
  69. package/docs/models/UserRequest.md +0 -2
  70. package/docs/models/WebDavActionLog.md +0 -2
  71. package/lib/Files.js +1 -1
  72. package/lib/models/ActionNotificationExportResult.js +5 -19
  73. package/lib/models/ApiKey.js +4 -18
  74. package/lib/models/ApiRequestLog.js +3 -17
  75. package/lib/models/App.js +4 -18
  76. package/lib/models/As2IncomingMessage.js +6 -20
  77. package/lib/models/As2OutgoingMessage.js +6 -20
  78. package/lib/models/As2Partner.js +3 -17
  79. package/lib/models/As2Station.js +3 -17
  80. package/lib/models/Automation.js +87 -124
  81. package/lib/models/AutomationLog.js +3 -17
  82. package/lib/models/AutomationRun.js +6 -20
  83. package/lib/models/BandwidthSnapshot.js +4 -18
  84. package/lib/models/Behavior.js +10 -45
  85. package/lib/models/Bundle.js +4 -18
  86. package/lib/models/BundleAction.js +8 -22
  87. package/lib/models/BundleDownload.js +8 -22
  88. package/lib/models/BundleNotification.js +4 -18
  89. package/lib/models/BundleRecipient.js +6 -20
  90. package/lib/models/BundleRegistration.js +5 -19
  91. package/lib/models/Clickwrap.js +3 -17
  92. package/lib/models/DnsRecord.js +3 -17
  93. package/lib/models/EmailIncomingMessage.js +4 -18
  94. package/lib/models/EmailLog.js +3 -17
  95. package/lib/models/ExavaultApiRequestLog.js +3 -17
  96. package/lib/models/ExternalEvent.js +4 -18
  97. package/lib/models/FileComment.js +5 -19
  98. package/lib/models/FileMigrationLog.js +3 -17
  99. package/lib/models/Folder.js +13 -20
  100. package/lib/models/FormFieldSet.js +3 -17
  101. package/lib/models/FtpActionLog.js +3 -17
  102. package/lib/models/GpgKey.js +4 -18
  103. package/lib/models/Group.js +6 -20
  104. package/lib/models/GroupUser.js +5 -19
  105. package/lib/models/History.js +26 -96
  106. package/lib/models/HistoryExportResult.js +5 -19
  107. package/lib/models/InboxRecipient.js +6 -20
  108. package/lib/models/InboxRegistration.js +5 -19
  109. package/lib/models/InboxUpload.js +8 -22
  110. package/lib/models/Invoice.js +3 -17
  111. package/lib/models/IpAddress.js +12 -68
  112. package/lib/models/Lock.js +5 -19
  113. package/lib/models/Message.js +5 -19
  114. package/lib/models/MessageComment.js +5 -19
  115. package/lib/models/MessageCommentReaction.js +5 -19
  116. package/lib/models/MessageReaction.js +5 -19
  117. package/lib/models/Notification.js +12 -33
  118. package/lib/models/OutboundConnectionLog.js +3 -17
  119. package/lib/models/Payment.js +3 -17
  120. package/lib/models/Permission.js +10 -24
  121. package/lib/models/Priority.js +5 -19
  122. package/lib/models/Project.js +3 -17
  123. package/lib/models/PublicHostingRequestLog.js +3 -17
  124. package/lib/models/PublicKey.js +3 -17
  125. package/lib/models/RemoteBandwidthSnapshot.js +4 -18
  126. package/lib/models/RemoteServer.js +3 -17
  127. package/lib/models/Request.js +12 -40
  128. package/lib/models/SettingsChange.js +4 -18
  129. package/lib/models/SftpActionLog.js +3 -17
  130. package/lib/models/SftpHostKey.js +3 -17
  131. package/lib/models/ShareGroup.js +3 -17
  132. package/lib/models/Snapshot.js +3 -17
  133. package/lib/models/SsoStrategy.js +3 -17
  134. package/lib/models/SyncLog.js +3 -17
  135. package/lib/models/UsageDailySnapshot.js +4 -18
  136. package/lib/models/UsageSnapshot.js +3 -17
  137. package/lib/models/User.js +8 -22
  138. package/lib/models/UserCipherUse.js +3 -17
  139. package/lib/models/UserRequest.js +3 -17
  140. package/lib/models/WebDavActionLog.js +3 -17
  141. package/package.json +1 -1
  142. package/src/Files.js +1 -1
  143. package/src/models/ActionNotificationExportResult.js +0 -10
  144. package/src/models/ApiKey.js +1 -11
  145. package/src/models/ApiRequestLog.js +0 -10
  146. package/src/models/App.js +1 -11
  147. package/src/models/As2IncomingMessage.js +1 -11
  148. package/src/models/As2OutgoingMessage.js +1 -11
  149. package/src/models/As2Partner.js +0 -10
  150. package/src/models/As2Station.js +0 -10
  151. package/src/models/Automation.js +1 -30
  152. package/src/models/AutomationLog.js +0 -10
  153. package/src/models/AutomationRun.js +1 -11
  154. package/src/models/BandwidthSnapshot.js +1 -11
  155. package/src/models/Behavior.js +2 -27
  156. package/src/models/Bundle.js +1 -11
  157. package/src/models/BundleAction.js +1 -11
  158. package/src/models/BundleDownload.js +1 -11
  159. package/src/models/BundleNotification.js +1 -11
  160. package/src/models/BundleRecipient.js +1 -11
  161. package/src/models/BundleRegistration.js +0 -10
  162. package/src/models/Clickwrap.js +0 -10
  163. package/src/models/DnsRecord.js +0 -10
  164. package/src/models/EmailIncomingMessage.js +1 -11
  165. package/src/models/EmailLog.js +0 -10
  166. package/src/models/ExavaultApiRequestLog.js +0 -10
  167. package/src/models/ExternalEvent.js +1 -11
  168. package/src/models/FileComment.js +0 -10
  169. package/src/models/FileMigrationLog.js +0 -10
  170. package/src/models/Folder.js +0 -5
  171. package/src/models/FormFieldSet.js +0 -10
  172. package/src/models/FtpActionLog.js +0 -10
  173. package/src/models/GpgKey.js +1 -11
  174. package/src/models/Group.js +1 -11
  175. package/src/models/GroupUser.js +0 -10
  176. package/src/models/History.js +5 -55
  177. package/src/models/HistoryExportResult.js +0 -10
  178. package/src/models/InboxRecipient.js +1 -11
  179. package/src/models/InboxRegistration.js +0 -10
  180. package/src/models/InboxUpload.js +1 -11
  181. package/src/models/Invoice.js +0 -10
  182. package/src/models/IpAddress.js +0 -40
  183. package/src/models/Lock.js +0 -10
  184. package/src/models/Message.js +0 -10
  185. package/src/models/MessageComment.js +0 -10
  186. package/src/models/MessageCommentReaction.js +0 -10
  187. package/src/models/MessageReaction.js +0 -10
  188. package/src/models/Notification.js +1 -16
  189. package/src/models/OutboundConnectionLog.js +0 -10
  190. package/src/models/Payment.js +0 -10
  191. package/src/models/Permission.js +1 -11
  192. package/src/models/Priority.js +0 -10
  193. package/src/models/Project.js +0 -10
  194. package/src/models/PublicHostingRequestLog.js +0 -10
  195. package/src/models/PublicKey.js +0 -10
  196. package/src/models/RemoteBandwidthSnapshot.js +1 -11
  197. package/src/models/RemoteServer.js +0 -10
  198. package/src/models/Request.js +2 -22
  199. package/src/models/SettingsChange.js +1 -11
  200. package/src/models/SftpActionLog.js +0 -10
  201. package/src/models/SftpHostKey.js +0 -10
  202. package/src/models/ShareGroup.js +0 -10
  203. package/src/models/Snapshot.js +0 -10
  204. package/src/models/SsoStrategy.js +0 -10
  205. package/src/models/SyncLog.js +0 -10
  206. package/src/models/UsageDailySnapshot.js +1 -11
  207. package/src/models/UsageSnapshot.js +0 -10
  208. package/src/models/User.js +1 -11
  209. package/src/models/UserCipherUse.js +0 -10
  210. package/src/models/UserRequest.js +0 -10
  211. package/src/models/WebDavActionLog.js +0 -10
@@ -285,9 +285,7 @@ _Behavior = Behavior;
285
285
  // Parameters:
286
286
  // 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.
287
287
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
288
- // action - string
289
- // page - int64
290
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
288
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior` and `impacts_ui`.
291
289
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
292
290
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
293
291
  (0, _defineProperty2.default)(Behavior, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
@@ -313,26 +311,14 @@ _Behavior = Behavior;
313
311
  }
314
312
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
315
313
  case 6:
316
- if (!(params.action && !(0, _utils.isString)(params.action))) {
317
- _context4.next = 8;
318
- break;
319
- }
320
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
321
- case 8:
322
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
323
- _context4.next = 10;
324
- break;
325
- }
326
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
327
- case 10:
328
- _context4.next = 12;
314
+ _context4.next = 8;
329
315
  return _Api.default.sendRequest('/behaviors', 'GET', params, options);
330
- case 12:
316
+ case 8:
331
317
  response = _context4.sent;
332
318
  return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
333
319
  return new _Behavior(obj, options);
334
320
  })) || []);
335
- case 14:
321
+ case 10:
336
322
  case "end":
337
323
  return _context4.stop();
338
324
  }
@@ -398,14 +384,11 @@ _Behavior = Behavior;
398
384
  // Parameters:
399
385
  // 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.
400
386
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
401
- // action - string
402
- // page - int64
403
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[behavior]=desc`). Valid fields are `behavior` and `impacts_ui`.
387
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior` and `impacts_ui`.
404
388
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
405
389
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
406
390
  // path (required) - string - Path to operate on.
407
391
  // ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
408
- // behavior - string
409
392
  (0, _defineProperty2.default)(Behavior, "listFor", /*#__PURE__*/function () {
410
393
  var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(path) {
411
394
  var _response$data2;
@@ -443,38 +426,20 @@ _Behavior = Behavior;
443
426
  }
444
427
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
445
428
  case 11:
446
- if (!(params.action && !(0, _utils.isString)(params.action))) {
447
- _context6.next = 13;
448
- break;
449
- }
450
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
451
- case 13:
452
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
453
- _context6.next = 15;
454
- break;
455
- }
456
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
457
- case 15:
458
429
  if (!(params.path && !(0, _utils.isString)(params.path))) {
459
- _context6.next = 17;
430
+ _context6.next = 13;
460
431
  break;
461
432
  }
462
433
  throw new errors.InvalidParameterError("Bad parameter: path must be of type String, received ".concat((0, _utils.getType)(params.path)));
463
- case 17:
464
- if (!(params.behavior && !(0, _utils.isString)(params.behavior))) {
465
- _context6.next = 19;
466
- break;
467
- }
468
- throw new errors.InvalidParameterError("Bad parameter: behavior must be of type String, received ".concat((0, _utils.getType)(params.behavior)));
469
- case 19:
470
- _context6.next = 21;
434
+ case 13:
435
+ _context6.next = 15;
471
436
  return _Api.default.sendRequest("/behaviors/folders/".concat(encodeURIComponent(params.path)), 'GET', params, options);
472
- case 21:
437
+ case 15:
473
438
  response = _context6.sent;
474
439
  return _context6.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
475
440
  return new _Behavior(obj, options);
476
441
  })) || []);
477
- case 23:
442
+ case 17:
478
443
  case "end":
479
444
  return _context6.stop();
480
445
  }
@@ -677,9 +677,7 @@ _Bundle = Bundle;
677
677
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
678
678
  // 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.
679
679
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
680
- // action - string
681
- // page - int64
682
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at` and `code`.
680
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `code`.
683
681
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
684
682
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
685
683
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -714,26 +712,14 @@ _Bundle = Bundle;
714
712
  }
715
713
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
716
714
  case 8:
717
- if (!(params.action && !(0, _utils.isString)(params.action))) {
718
- _context5.next = 10;
719
- break;
720
- }
721
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
722
- case 10:
723
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
724
- _context5.next = 12;
725
- break;
726
- }
727
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
728
- case 12:
729
- _context5.next = 14;
715
+ _context5.next = 10;
730
716
  return _Api.default.sendRequest('/bundles', 'GET', params, options);
731
- case 14:
717
+ case 10:
732
718
  response = _context5.sent;
733
719
  return _context5.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
734
720
  return new _Bundle(obj, options);
735
721
  })) || []);
736
- case 16:
722
+ case 12:
737
723
  case "end":
738
724
  return _context5.stop();
739
725
  }
@@ -74,9 +74,7 @@ _BundleAction = BundleAction;
74
74
  // Parameters:
75
75
  // 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.
76
76
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
77
- // action - string
78
- // page - int64
79
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_registration_id]=desc`). Valid fields are `bundle_registration_id` and `created_at`.
77
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_registration_id` and `created_at`.
80
78
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
81
79
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
82
80
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -107,38 +105,26 @@ _BundleAction = BundleAction;
107
105
  }
108
106
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
109
107
  case 6:
110
- if (!(params.action && !(0, _utils.isString)(params.action))) {
111
- _context.next = 8;
112
- break;
113
- }
114
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
115
- case 8:
116
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
117
- _context.next = 10;
118
- break;
119
- }
120
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
121
- case 10:
122
108
  if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
123
- _context.next = 12;
109
+ _context.next = 8;
124
110
  break;
125
111
  }
126
112
  throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
127
- case 12:
113
+ case 8:
128
114
  if (!(params.bundle_registration_id && !(0, _utils.isInt)(params.bundle_registration_id))) {
129
- _context.next = 14;
115
+ _context.next = 10;
130
116
  break;
131
117
  }
132
118
  throw new errors.InvalidParameterError("Bad parameter: bundle_registration_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_registration_id)));
133
- case 14:
134
- _context.next = 16;
119
+ case 10:
120
+ _context.next = 12;
135
121
  return _Api.default.sendRequest('/bundle_actions', 'GET', params, options);
136
- case 16:
122
+ case 12:
137
123
  response = _context.sent;
138
124
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
139
125
  return new _BundleAction(obj, options);
140
126
  })) || []);
141
- case 18:
127
+ case 14:
142
128
  case "end":
143
129
  return _context.stop();
144
130
  }
@@ -66,9 +66,7 @@ _BundleDownload = BundleDownload;
66
66
  // Parameters:
67
67
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
68
68
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
- // action - string
70
- // page - int64
71
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at`.
69
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
72
70
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
73
71
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
74
72
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -99,38 +97,26 @@ _BundleDownload = BundleDownload;
99
97
  }
100
98
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
101
99
  case 6:
102
- if (!(params.action && !(0, _utils.isString)(params.action))) {
103
- _context.next = 8;
104
- break;
105
- }
106
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
107
- case 8:
108
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
109
- _context.next = 10;
110
- break;
111
- }
112
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
113
- case 10:
114
100
  if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
115
- _context.next = 12;
101
+ _context.next = 8;
116
102
  break;
117
103
  }
118
104
  throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
119
- case 12:
105
+ case 8:
120
106
  if (!(params.bundle_registration_id && !(0, _utils.isInt)(params.bundle_registration_id))) {
121
- _context.next = 14;
107
+ _context.next = 10;
122
108
  break;
123
109
  }
124
110
  throw new errors.InvalidParameterError("Bad parameter: bundle_registration_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_registration_id)));
125
- case 14:
126
- _context.next = 16;
111
+ case 10:
112
+ _context.next = 12;
127
113
  return _Api.default.sendRequest('/bundle_downloads', 'GET', params, options);
128
- case 16:
114
+ case 12:
129
115
  response = _context.sent;
130
116
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
131
117
  return new _BundleDownload(obj, options);
132
118
  })) || []);
133
- case 18:
119
+ case 14:
134
120
  case "end":
135
121
  return _context.stop();
136
122
  }
@@ -220,9 +220,7 @@ _BundleNotification = BundleNotification;
220
220
  // Parameters:
221
221
  // 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.
222
222
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
223
- // action - string
224
- // page - int64
225
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[bundle_id]=desc`). Valid fields are `bundle_id`.
223
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `bundle_id`.
226
224
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
227
225
  (0, _defineProperty2.default)(BundleNotification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
228
226
  var _response$data;
@@ -247,26 +245,14 @@ _BundleNotification = BundleNotification;
247
245
  }
248
246
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
249
247
  case 6:
250
- if (!(params.action && !(0, _utils.isString)(params.action))) {
251
- _context4.next = 8;
252
- break;
253
- }
254
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
255
- case 8:
256
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
257
- _context4.next = 10;
258
- break;
259
- }
260
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
261
- case 10:
262
- _context4.next = 12;
248
+ _context4.next = 8;
263
249
  return _Api.default.sendRequest('/bundle_notifications', 'GET', params, options);
264
- case 12:
250
+ case 8:
265
251
  response = _context4.sent;
266
252
  return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
267
253
  return new _BundleNotification(obj, options);
268
254
  })) || []);
269
- case 14:
255
+ case 10:
270
256
  case "end":
271
257
  return _context4.stop();
272
258
  }
@@ -122,9 +122,7 @@ _BundleRecipient = BundleRecipient;
122
122
  // Parameters:
123
123
  // 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.
124
124
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
125
- // action - string
126
- // page - int64
127
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[has_registrations]=desc`). Valid fields are `has_registrations`.
125
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `has_registrations`.
128
126
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
129
127
  // bundle_id (required) - int64 - List recipients for the bundle with this ID.
130
128
  (0, _defineProperty2.default)(BundleRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
@@ -156,32 +154,20 @@ _BundleRecipient = BundleRecipient;
156
154
  }
157
155
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
158
156
  case 8:
159
- if (!(params.action && !(0, _utils.isString)(params.action))) {
160
- _context2.next = 10;
161
- break;
162
- }
163
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
164
- case 10:
165
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
166
- _context2.next = 12;
167
- break;
168
- }
169
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
170
- case 12:
171
157
  if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
172
- _context2.next = 14;
158
+ _context2.next = 10;
173
159
  break;
174
160
  }
175
161
  throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
176
- case 14:
177
- _context2.next = 16;
162
+ case 10:
163
+ _context2.next = 12;
178
164
  return _Api.default.sendRequest('/bundle_recipients', 'GET', params, options);
179
- case 16:
165
+ case 12:
180
166
  response = _context2.sent;
181
167
  return _context2.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
182
168
  return new _BundleRecipient(obj, options);
183
169
  })) || []);
184
- case 18:
170
+ case 14:
185
171
  case "end":
186
172
  return _context2.stop();
187
173
  }
@@ -102,8 +102,6 @@ _BundleRegistration = BundleRegistration;
102
102
  // Parameters:
103
103
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
104
104
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
105
- // action - string
106
- // page - int64
107
105
  // bundle_id - int64 - ID of the associated Bundle
108
106
  (0, _defineProperty2.default)(BundleRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
109
107
  var _response$data;
@@ -128,32 +126,20 @@ _BundleRegistration = BundleRegistration;
128
126
  }
129
127
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
130
128
  case 6:
131
- if (!(params.action && !(0, _utils.isString)(params.action))) {
132
- _context.next = 8;
133
- break;
134
- }
135
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
136
- case 8:
137
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
138
- _context.next = 10;
139
- break;
140
- }
141
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
142
- case 10:
143
129
  if (!(params.bundle_id && !(0, _utils.isInt)(params.bundle_id))) {
144
- _context.next = 12;
130
+ _context.next = 8;
145
131
  break;
146
132
  }
147
133
  throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params.bundle_id)));
148
- case 12:
149
- _context.next = 14;
134
+ case 8:
135
+ _context.next = 10;
150
136
  return _Api.default.sendRequest('/bundle_registrations', 'GET', params, options);
151
- case 14:
137
+ case 10:
152
138
  response = _context.sent;
153
139
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
154
140
  return new _BundleRegistration(obj, options);
155
141
  })) || []);
156
- case 16:
142
+ case 12:
157
143
  case "end":
158
144
  return _context.stop();
159
145
  }
@@ -260,8 +260,6 @@ _Clickwrap = Clickwrap;
260
260
  // Parameters:
261
261
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
262
262
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
263
- // action - string
264
- // page - int64
265
263
  (0, _defineProperty2.default)(Clickwrap, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
266
264
  var _response$data;
267
265
  var params,
@@ -285,26 +283,14 @@ _Clickwrap = Clickwrap;
285
283
  }
286
284
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
287
285
  case 6:
288
- if (!(params.action && !(0, _utils.isString)(params.action))) {
289
- _context4.next = 8;
290
- break;
291
- }
292
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
293
- case 8:
294
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
295
- _context4.next = 10;
296
- break;
297
- }
298
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
299
- case 10:
300
- _context4.next = 12;
286
+ _context4.next = 8;
301
287
  return _Api.default.sendRequest('/clickwraps', 'GET', params, options);
302
- case 12:
288
+ case 8:
303
289
  response = _context4.sent;
304
290
  return _context4.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
305
291
  return new _Clickwrap(obj, options);
306
292
  })) || []);
307
- case 14:
293
+ case 10:
308
294
  case "end":
309
295
  return _context4.stop();
310
296
  }
@@ -66,8 +66,6 @@ _DnsRecord = DnsRecord;
66
66
  // Parameters:
67
67
  // cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
68
68
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
69
- // action - string
70
- // page - int64
71
69
  (0, _defineProperty2.default)(DnsRecord, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
72
70
  var _response$data;
73
71
  var params,
@@ -91,26 +89,14 @@ _DnsRecord = DnsRecord;
91
89
  }
92
90
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
93
91
  case 6:
94
- if (!(params.action && !(0, _utils.isString)(params.action))) {
95
- _context.next = 8;
96
- break;
97
- }
98
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
99
- case 8:
100
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
101
- _context.next = 10;
102
- break;
103
- }
104
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
105
- case 10:
106
- _context.next = 12;
92
+ _context.next = 8;
107
93
  return _Api.default.sendRequest('/dns_records', 'GET', params, options);
108
- case 12:
94
+ case 8:
109
95
  response = _context.sent;
110
96
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
111
97
  return new _DnsRecord(obj, options);
112
98
  })) || []);
113
- case 14:
99
+ case 10:
114
100
  case "end":
115
101
  return _context.stop();
116
102
  }
@@ -86,9 +86,7 @@ _EmailIncomingMessage = EmailIncomingMessage;
86
86
  // Parameters:
87
87
  // 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.
88
88
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
- // action - string
90
- // page - int64
91
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[created_at]=desc`). Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
89
+ // 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`.
92
90
  // 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 `[ sender, created_at ]`, `[ status, created_at ]`, `[ inbox_id, created_at ]`, `[ inbox_id, status, created_at ]` or `[ inbox_id, status, sender, created_at ]`.
93
91
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
94
92
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -118,26 +116,14 @@ _EmailIncomingMessage = EmailIncomingMessage;
118
116
  }
119
117
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
120
118
  case 6:
121
- if (!(params.action && !(0, _utils.isString)(params.action))) {
122
- _context.next = 8;
123
- break;
124
- }
125
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
126
- case 8:
127
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
128
- _context.next = 10;
129
- break;
130
- }
131
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
132
- case 10:
133
- _context.next = 12;
119
+ _context.next = 8;
134
120
  return _Api.default.sendRequest('/email_incoming_messages', 'GET', params, options);
135
- case 12:
121
+ case 8:
136
122
  response = _context.sent;
137
123
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
138
124
  return new _EmailIncomingMessage(obj, options);
139
125
  })) || []);
140
- case 14:
126
+ case 10:
141
127
  case "end":
142
128
  return _context.stop();
143
129
  }
@@ -86,8 +86,6 @@ _EmailLog = EmailLog;
86
86
  // Parameters:
87
87
  // 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.
88
88
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
89
- // action - string
90
- // page - int64
91
89
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date` or `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.
92
90
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `status`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ status ]`, `[ start_date, end_date ]`, `[ start_date, status ]` or `[ end_date, status ]`.
93
91
  (0, _defineProperty2.default)(EmailLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -113,26 +111,14 @@ _EmailLog = EmailLog;
113
111
  }
114
112
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
115
113
  case 6:
116
- if (!(params.action && !(0, _utils.isString)(params.action))) {
117
- _context.next = 8;
118
- break;
119
- }
120
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
121
- case 8:
122
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
123
- _context.next = 10;
124
- break;
125
- }
126
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
127
- case 10:
128
- _context.next = 12;
114
+ _context.next = 8;
129
115
  return _Api.default.sendRequest('/email_logs', 'GET', params, options);
130
- case 12:
116
+ case 8:
131
117
  response = _context.sent;
132
118
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
133
119
  return new _EmailLog(obj, options);
134
120
  })) || []);
135
- case 14:
121
+ case 10:
136
122
  case "end":
137
123
  return _context.stop();
138
124
  }
@@ -94,8 +94,6 @@ _ExavaultApiRequestLog = ExavaultApiRequestLog;
94
94
  // Parameters:
95
95
  // 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.
96
96
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
97
- // action - string
98
- // page - int64
99
97
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `start_date`, `end_date`, `request_ip`, `request_method` or `success`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, request_ip ]`, `[ start_date, request_method ]`, `[ start_date, success ]`, `[ end_date, request_ip ]`, `[ end_date, request_method ]`, `[ end_date, success ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_method, success ]`, `[ start_date, end_date, request_ip ]`, `[ start_date, end_date, request_method ]`, `[ start_date, end_date, success ]`, `[ start_date, request_ip, request_method ]`, `[ start_date, request_ip, success ]`, `[ start_date, request_method, success ]`, `[ end_date, request_ip, request_method ]`, `[ end_date, request_ip, success ]`, `[ end_date, request_method, success ]`, `[ request_ip, request_method, success ]`, `[ start_date, end_date, request_ip, request_method ]`, `[ start_date, end_date, request_ip, success ]`, `[ start_date, end_date, request_method, success ]`, `[ start_date, request_ip, request_method, success ]` or `[ end_date, request_ip, request_method, success ]`.
100
98
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `request_ip` and `request_method`. Valid field combinations are `[ start_date ]`, `[ end_date ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ start_date, end_date ]`, `[ start_date, request_ip ]`, `[ start_date, request_method ]`, `[ start_date, success ]`, `[ end_date, request_ip ]`, `[ end_date, request_method ]`, `[ end_date, success ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_method, success ]`, `[ start_date, end_date, request_ip ]`, `[ start_date, end_date, request_method ]`, `[ start_date, end_date, success ]`, `[ start_date, request_ip, request_method ]`, `[ start_date, request_ip, success ]`, `[ start_date, request_method, success ]`, `[ end_date, request_ip, request_method ]`, `[ end_date, request_ip, success ]`, `[ end_date, request_method, success ]`, `[ request_ip, request_method, success ]`, `[ start_date, end_date, request_ip, request_method ]`, `[ start_date, end_date, request_ip, success ]`, `[ start_date, end_date, request_method, success ]`, `[ start_date, request_ip, request_method, success ]` or `[ end_date, request_ip, request_method, success ]`.
101
99
  (0, _defineProperty2.default)(ExavaultApiRequestLog, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -121,26 +119,14 @@ _ExavaultApiRequestLog = ExavaultApiRequestLog;
121
119
  }
122
120
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
123
121
  case 6:
124
- if (!(params.action && !(0, _utils.isString)(params.action))) {
125
- _context.next = 8;
126
- break;
127
- }
128
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
129
- case 8:
130
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
131
- _context.next = 10;
132
- break;
133
- }
134
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
135
- case 10:
136
- _context.next = 12;
122
+ _context.next = 8;
137
123
  return _Api.default.sendRequest('/exavault_api_request_logs', 'GET', params, options);
138
- case 12:
124
+ case 8:
139
125
  response = _context.sent;
140
126
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
141
127
  return new _ExavaultApiRequestLog(obj, options);
142
128
  })) || []);
143
- case 14:
129
+ case 10:
144
130
  case "end":
145
131
  return _context.stop();
146
132
  }