files.com 1.2.101 → 1.2.102

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -105,9 +105,7 @@ _History = History;
105
105
  // display - string - Display format. Leave blank or set to `full` or `parent`.
106
106
  // 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.
107
107
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
108
- // action - string
109
- // page - int64
110
- // 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
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
111
109
  // path (required) - string - Path to operate on.
112
110
  (0, _defineProperty2.default)(History, "listForFile", /*#__PURE__*/function () {
113
111
  var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(path) {
@@ -165,33 +163,21 @@ _History = History;
165
163
  }
166
164
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
167
165
  case 17:
168
- if (!(params.action && !(0, _utils.isString)(params.action))) {
169
- _context.next = 19;
170
- break;
171
- }
172
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
173
- case 19:
174
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
175
- _context.next = 21;
176
- break;
177
- }
178
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
179
- case 21:
180
166
  if (!(params.path && !(0, _utils.isString)(params.path))) {
181
- _context.next = 23;
167
+ _context.next = 19;
182
168
  break;
183
169
  }
184
170
  throw new errors.InvalidParameterError("Bad parameter: path must be of type String, received ".concat((0, _utils.getType)(params.path)));
185
- case 23:
186
- _context.next = 25;
171
+ case 19:
172
+ _context.next = 21;
187
173
  return _Api.default.sendRequest("/history/files/".concat(encodeURIComponent(params.path)), 'GET', params, options);
188
- case 25:
174
+ case 21:
189
175
  response = _context.sent;
190
176
  Action = require('./Action.js').default;
191
177
  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) {
192
178
  return new Action(obj, options);
193
179
  })) || []);
194
- case 28:
180
+ case 24:
195
181
  case "end":
196
182
  return _context.stop();
197
183
  }
@@ -207,9 +193,7 @@ _History = History;
207
193
  // display - string - Display format. Leave blank or set to `full` or `parent`.
208
194
  // 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.
209
195
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
210
- // action - string
211
- // page - int64
212
- // 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`.
196
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
213
197
  // path (required) - string - Path to operate on.
214
198
  (0, _defineProperty2.default)(History, "listForFolder", /*#__PURE__*/function () {
215
199
  var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(path) {
@@ -267,33 +251,21 @@ _History = History;
267
251
  }
268
252
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
269
253
  case 17:
270
- if (!(params.action && !(0, _utils.isString)(params.action))) {
271
- _context2.next = 19;
272
- break;
273
- }
274
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
275
- case 19:
276
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
277
- _context2.next = 21;
278
- break;
279
- }
280
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
281
- case 21:
282
254
  if (!(params.path && !(0, _utils.isString)(params.path))) {
283
- _context2.next = 23;
255
+ _context2.next = 19;
284
256
  break;
285
257
  }
286
258
  throw new errors.InvalidParameterError("Bad parameter: path must be of type String, received ".concat((0, _utils.getType)(params.path)));
287
- case 23:
288
- _context2.next = 25;
259
+ case 19:
260
+ _context2.next = 21;
289
261
  return _Api.default.sendRequest("/history/folders/".concat(encodeURIComponent(params.path)), 'GET', params, options);
290
- case 25:
262
+ case 21:
291
263
  response = _context2.sent;
292
264
  Action = require('./Action.js').default;
293
265
  return _context2.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
294
266
  return new Action(obj, options);
295
267
  })) || []);
296
- case 28:
268
+ case 24:
297
269
  case "end":
298
270
  return _context2.stop();
299
271
  }
@@ -309,9 +281,7 @@ _History = History;
309
281
  // display - string - Display format. Leave blank or set to `full` or `parent`.
310
282
  // 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.
311
283
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
312
- // action - string
313
- // page - int64
314
- // 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`.
284
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
315
285
  // user_id (required) - int64 - User ID.
316
286
  (0, _defineProperty2.default)(History, "listForUser", /*#__PURE__*/function () {
317
287
  var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(userId) {
@@ -369,33 +339,21 @@ _History = History;
369
339
  }
370
340
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
371
341
  case 17:
372
- if (!(params.action && !(0, _utils.isString)(params.action))) {
373
- _context3.next = 19;
374
- break;
375
- }
376
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
377
- case 19:
378
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
379
- _context3.next = 21;
380
- break;
381
- }
382
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
383
- case 21:
384
342
  if (!(params.user_id && !(0, _utils.isInt)(params.user_id))) {
385
- _context3.next = 23;
343
+ _context3.next = 19;
386
344
  break;
387
345
  }
388
346
  throw new errors.InvalidParameterError("Bad parameter: user_id must be of type Int, received ".concat((0, _utils.getType)(params.user_id)));
389
- case 23:
390
- _context3.next = 25;
347
+ case 19:
348
+ _context3.next = 21;
391
349
  return _Api.default.sendRequest("/history/users/".concat(encodeURIComponent(params.user_id)), 'GET', params, options);
392
- case 25:
350
+ case 21:
393
351
  response = _context3.sent;
394
352
  Action = require('./Action.js').default;
395
353
  return _context3.abrupt("return", (response === null || response === void 0 || (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.map(function (obj) {
396
354
  return new Action(obj, options);
397
355
  })) || []);
398
- case 28:
356
+ case 24:
399
357
  case "end":
400
358
  return _context3.stop();
401
359
  }
@@ -411,9 +369,7 @@ _History = History;
411
369
  // display - string - Display format. Leave blank or set to `full` or `parent`.
412
370
  // 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.
413
371
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
414
- // action - string
415
- // page - int64
416
- // 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`.
372
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
417
373
  (0, _defineProperty2.default)(History, "listLogins", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
418
374
  var _response$data4;
419
375
  var params,
@@ -456,27 +412,15 @@ _History = History;
456
412
  }
457
413
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
458
414
  case 12:
459
- if (!(params.action && !(0, _utils.isString)(params.action))) {
460
- _context4.next = 14;
461
- break;
462
- }
463
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
464
- case 14:
465
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
466
- _context4.next = 16;
467
- break;
468
- }
469
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
470
- case 16:
471
- _context4.next = 18;
415
+ _context4.next = 14;
472
416
  return _Api.default.sendRequest('/history/login', 'GET', params, options);
473
- case 18:
417
+ case 14:
474
418
  response = _context4.sent;
475
419
  Action = require('./Action.js').default;
476
420
  return _context4.abrupt("return", (response === null || response === void 0 || (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.map(function (obj) {
477
421
  return new Action(obj, options);
478
422
  })) || []);
479
- case 21:
423
+ case 17:
480
424
  case "end":
481
425
  return _context4.stop();
482
426
  }
@@ -488,9 +432,7 @@ _History = History;
488
432
  // display - string - Display format. Leave blank or set to `full` or `parent`.
489
433
  // 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.
490
434
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
491
- // action - string
492
- // page - int64
493
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[path]=desc`). Valid fields are `path`, `folder`, `user_id` or `created_at`.
435
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `path`, `folder`, `user_id` or `created_at`.
494
436
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
495
437
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
496
438
  (0, _defineProperty2.default)(History, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
@@ -535,27 +477,15 @@ _History = History;
535
477
  }
536
478
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
537
479
  case 12:
538
- if (!(params.action && !(0, _utils.isString)(params.action))) {
539
- _context5.next = 14;
540
- break;
541
- }
542
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
543
- case 14:
544
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
545
- _context5.next = 16;
546
- break;
547
- }
548
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
549
- case 16:
550
- _context5.next = 18;
480
+ _context5.next = 14;
551
481
  return _Api.default.sendRequest('/history', 'GET', params, options);
552
- case 18:
482
+ case 14:
553
483
  response = _context5.sent;
554
484
  Action = require('./Action.js').default;
555
485
  return _context5.abrupt("return", (response === null || response === void 0 || (_response$data5 = response.data) === null || _response$data5 === void 0 ? void 0 : _response$data5.map(function (obj) {
556
486
  return new Action(obj, options);
557
487
  })) || []);
558
- case 21:
488
+ case 17:
559
489
  case "end":
560
490
  return _context5.stop();
561
491
  }
@@ -151,8 +151,6 @@ _HistoryExportResult = HistoryExportResult;
151
151
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
152
152
  // 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.
153
153
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
154
- // action - string
155
- // page - int64
156
154
  // history_export_id (required) - int64 - ID of the associated history export.
157
155
  (0, _defineProperty2.default)(HistoryExportResult, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
158
156
  var _response$data;
@@ -189,32 +187,20 @@ _HistoryExportResult = HistoryExportResult;
189
187
  }
190
188
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
191
189
  case 10:
192
- if (!(params.action && !(0, _utils.isString)(params.action))) {
193
- _context.next = 12;
194
- break;
195
- }
196
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
197
- case 12:
198
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
199
- _context.next = 14;
200
- break;
201
- }
202
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
203
- case 14:
204
190
  if (!(params.history_export_id && !(0, _utils.isInt)(params.history_export_id))) {
205
- _context.next = 16;
191
+ _context.next = 12;
206
192
  break;
207
193
  }
208
194
  throw new errors.InvalidParameterError("Bad parameter: history_export_id must be of type Int, received ".concat((0, _utils.getType)(params.history_export_id)));
209
- case 16:
210
- _context.next = 18;
195
+ case 12:
196
+ _context.next = 14;
211
197
  return _Api.default.sendRequest('/history_export_results', 'GET', params, options);
212
- case 18:
198
+ case 14:
213
199
  response = _context.sent;
214
200
  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) {
215
201
  return new _HistoryExportResult(obj, options);
216
202
  })) || []);
217
- case 20:
203
+ case 16:
218
204
  case "end":
219
205
  return _context.stop();
220
206
  }
@@ -122,9 +122,7 @@ _InboxRecipient = InboxRecipient;
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
  // inbox_id (required) - int64 - List recipients for the inbox with this ID.
130
128
  (0, _defineProperty2.default)(InboxRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
@@ -156,32 +154,20 @@ _InboxRecipient = InboxRecipient;
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.inbox_id && !(0, _utils.isInt)(params.inbox_id))) {
172
- _context2.next = 14;
158
+ _context2.next = 10;
173
159
  break;
174
160
  }
175
161
  throw new errors.InvalidParameterError("Bad parameter: inbox_id must be of type Int, received ".concat((0, _utils.getType)(params.inbox_id)));
176
- case 14:
177
- _context2.next = 16;
162
+ case 10:
163
+ _context2.next = 12;
178
164
  return _Api.default.sendRequest('/inbox_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 _InboxRecipient(obj, options);
183
169
  })) || []);
184
- case 18:
170
+ case 14:
185
171
  case "end":
186
172
  return _context2.stop();
187
173
  }
@@ -98,8 +98,6 @@ _InboxRegistration = InboxRegistration;
98
98
  // Parameters:
99
99
  // 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.
100
100
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
101
- // action - string
102
- // page - int64
103
101
  // folder_behavior_id - int64 - ID of the associated Inbox.
104
102
  (0, _defineProperty2.default)(InboxRegistration, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
105
103
  var _response$data;
@@ -124,32 +122,20 @@ _InboxRegistration = InboxRegistration;
124
122
  }
125
123
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
126
124
  case 6:
127
- if (!(params.action && !(0, _utils.isString)(params.action))) {
128
- _context.next = 8;
129
- break;
130
- }
131
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
132
- case 8:
133
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
134
- _context.next = 10;
135
- break;
136
- }
137
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
138
- case 10:
139
125
  if (!(params.folder_behavior_id && !(0, _utils.isInt)(params.folder_behavior_id))) {
140
- _context.next = 12;
126
+ _context.next = 8;
141
127
  break;
142
128
  }
143
129
  throw new errors.InvalidParameterError("Bad parameter: folder_behavior_id must be of type Int, received ".concat((0, _utils.getType)(params.folder_behavior_id)));
144
- case 12:
145
- _context.next = 14;
130
+ case 8:
131
+ _context.next = 10;
146
132
  return _Api.default.sendRequest('/inbox_registrations', 'GET', params, options);
147
- case 14:
133
+ case 10:
148
134
  response = _context.sent;
149
135
  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) {
150
136
  return new _InboxRegistration(obj, options);
151
137
  })) || []);
152
- case 16:
138
+ case 12:
153
139
  case "end":
154
140
  return _context.stop();
155
141
  }
@@ -62,9 +62,7 @@ _InboxUpload = InboxUpload;
62
62
  // Parameters:
63
63
  // 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.
64
64
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
65
- // action - string
66
- // page - int64
67
- // 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`.
65
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
68
66
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
69
67
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
70
68
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -95,38 +93,26 @@ _InboxUpload = InboxUpload;
95
93
  }
96
94
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
97
95
  case 6:
98
- if (!(params.action && !(0, _utils.isString)(params.action))) {
99
- _context.next = 8;
100
- break;
101
- }
102
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
103
- case 8:
104
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
105
- _context.next = 10;
106
- break;
107
- }
108
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
109
- case 10:
110
96
  if (!(params.inbox_registration_id && !(0, _utils.isInt)(params.inbox_registration_id))) {
111
- _context.next = 12;
97
+ _context.next = 8;
112
98
  break;
113
99
  }
114
100
  throw new errors.InvalidParameterError("Bad parameter: inbox_registration_id must be of type Int, received ".concat((0, _utils.getType)(params.inbox_registration_id)));
115
- case 12:
101
+ case 8:
116
102
  if (!(params.inbox_id && !(0, _utils.isInt)(params.inbox_id))) {
117
- _context.next = 14;
103
+ _context.next = 10;
118
104
  break;
119
105
  }
120
106
  throw new errors.InvalidParameterError("Bad parameter: inbox_id must be of type Int, received ".concat((0, _utils.getType)(params.inbox_id)));
121
- case 14:
122
- _context.next = 16;
107
+ case 10:
108
+ _context.next = 12;
123
109
  return _Api.default.sendRequest('/inbox_uploads', 'GET', params, options);
124
- case 16:
110
+ case 12:
125
111
  response = _context.sent;
126
112
  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) {
127
113
  return new _InboxUpload(obj, options);
128
114
  })) || []);
129
- case 18:
115
+ case 14:
130
116
  case "end":
131
117
  return _context.stop();
132
118
  }
@@ -102,8 +102,6 @@ _Invoice = Invoice;
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
  (0, _defineProperty2.default)(Invoice, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
108
106
  var _response$data;
109
107
  var params,
@@ -128,27 +126,15 @@ _Invoice = Invoice;
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
- _context.next = 12;
129
+ _context.next = 8;
144
130
  return _Api.default.sendRequest('/invoices', 'GET', params, options);
145
- case 12:
131
+ case 8:
146
132
  response = _context.sent;
147
133
  AccountLineItem = require('./AccountLineItem.js').default;
148
134
  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) {
149
135
  return new AccountLineItem(obj, options);
150
136
  })) || []);
151
- case 15:
137
+ case 11:
152
138
  case "end":
153
139
  return _context.stop();
154
140
  }
@@ -66,8 +66,6 @@ _IpAddress = IpAddress;
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)(IpAddress, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
72
70
  var _response$data;
73
71
  var params,
@@ -91,26 +89,14 @@ _IpAddress = IpAddress;
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('/ip_addresses', '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 _IpAddress(obj, options);
112
98
  })) || []);
113
- case 14:
99
+ case 10:
114
100
  case "end":
115
101
  return _context.stop();
116
102
  }
@@ -124,8 +110,6 @@ _IpAddress = IpAddress;
124
110
  // Parameters:
125
111
  // 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.
126
112
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
127
- // action - string
128
- // page - int64
129
113
  (0, _defineProperty2.default)(IpAddress, "getSmartfileReserved", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
130
114
  var _response$data2;
131
115
  var params,
@@ -150,27 +134,15 @@ _IpAddress = IpAddress;
150
134
  }
151
135
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
152
136
  case 6:
153
- if (!(params.action && !(0, _utils.isString)(params.action))) {
154
- _context2.next = 8;
155
- break;
156
- }
157
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
158
- case 8:
159
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
160
- _context2.next = 10;
161
- break;
162
- }
163
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
164
- case 10:
165
- _context2.next = 12;
137
+ _context2.next = 8;
166
138
  return _Api.default.sendRequest('/ip_addresses/smartfile-reserved', 'GET', params, options);
167
- case 12:
139
+ case 8:
168
140
  response = _context2.sent;
169
141
  PublicIpAddress = require('./PublicIpAddress.js').default;
170
142
  return _context2.abrupt("return", (response === null || response === void 0 || (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.map(function (obj) {
171
143
  return new PublicIpAddress(obj, options);
172
144
  })) || []);
173
- case 15:
145
+ case 11:
174
146
  case "end":
175
147
  return _context2.stop();
176
148
  }
@@ -179,8 +151,6 @@ _IpAddress = IpAddress;
179
151
  // Parameters:
180
152
  // 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.
181
153
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
182
- // action - string
183
- // page - int64
184
154
  (0, _defineProperty2.default)(IpAddress, "getExavaultReserved", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
185
155
  var _response$data3;
186
156
  var params,
@@ -205,27 +175,15 @@ _IpAddress = IpAddress;
205
175
  }
206
176
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
207
177
  case 6:
208
- if (!(params.action && !(0, _utils.isString)(params.action))) {
209
- _context3.next = 8;
210
- break;
211
- }
212
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
213
- case 8:
214
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
215
- _context3.next = 10;
216
- break;
217
- }
218
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
219
- case 10:
220
- _context3.next = 12;
178
+ _context3.next = 8;
221
179
  return _Api.default.sendRequest('/ip_addresses/exavault-reserved', 'GET', params, options);
222
- case 12:
180
+ case 8:
223
181
  response = _context3.sent;
224
182
  PublicIpAddress = require('./PublicIpAddress.js').default;
225
183
  return _context3.abrupt("return", (response === null || response === void 0 || (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.map(function (obj) {
226
184
  return new PublicIpAddress(obj, options);
227
185
  })) || []);
228
- case 15:
186
+ case 11:
229
187
  case "end":
230
188
  return _context3.stop();
231
189
  }
@@ -234,8 +192,6 @@ _IpAddress = IpAddress;
234
192
  // Parameters:
235
193
  // 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.
236
194
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
237
- // action - string
238
- // page - int64
239
195
  (0, _defineProperty2.default)(IpAddress, "getReserved", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
240
196
  var _response$data4;
241
197
  var params,
@@ -260,27 +216,15 @@ _IpAddress = IpAddress;
260
216
  }
261
217
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
262
218
  case 6:
263
- if (!(params.action && !(0, _utils.isString)(params.action))) {
264
- _context4.next = 8;
265
- break;
266
- }
267
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
268
- case 8:
269
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
270
- _context4.next = 10;
271
- break;
272
- }
273
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
274
- case 10:
275
- _context4.next = 12;
219
+ _context4.next = 8;
276
220
  return _Api.default.sendRequest('/ip_addresses/reserved', 'GET', params, options);
277
- case 12:
221
+ case 8:
278
222
  response = _context4.sent;
279
223
  PublicIpAddress = require('./PublicIpAddress.js').default;
280
224
  return _context4.abrupt("return", (response === null || response === void 0 || (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.map(function (obj) {
281
225
  return new PublicIpAddress(obj, options);
282
226
  })) || []);
283
- case 15:
227
+ case 11:
284
228
  case "end":
285
229
  return _context4.stop();
286
230
  }