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
package/lib/models/App.js CHANGED
@@ -130,9 +130,7 @@ _App = App;
130
130
  // Parameters:
131
131
  // 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.
132
132
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
133
- // action - string
134
- // page - int64
135
- // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[name]=desc`). Valid fields are `name` and `app_type`.
133
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name` and `app_type`.
136
134
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
137
135
  // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
138
136
  (0, _defineProperty2.default)(App, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -158,26 +156,14 @@ _App = App;
158
156
  }
159
157
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
160
158
  case 6:
161
- if (!(params.action && !(0, _utils.isString)(params.action))) {
162
- _context.next = 8;
163
- break;
164
- }
165
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
166
- case 8:
167
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
168
- _context.next = 10;
169
- break;
170
- }
171
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
172
- case 10:
173
- _context.next = 12;
159
+ _context.next = 8;
174
160
  return _Api.default.sendRequest('/apps', 'GET', params, options);
175
- case 12:
161
+ case 8:
176
162
  response = _context.sent;
177
163
  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) {
178
164
  return new _App(obj, options);
179
165
  })) || []);
180
- case 14:
166
+ case 10:
181
167
  case "end":
182
168
  return _context.stop();
183
169
  }
@@ -190,9 +190,7 @@ _As2IncomingMessage = As2IncomingMessage;
190
190
  // Parameters:
191
191
  // 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.
192
192
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
193
- // action - string
194
- // page - int64
195
- // 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 `as2_partner_id`.
193
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
196
194
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
197
195
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
198
196
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -222,32 +220,20 @@ _As2IncomingMessage = As2IncomingMessage;
222
220
  }
223
221
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
224
222
  case 6:
225
- if (!(params.action && !(0, _utils.isString)(params.action))) {
226
- _context.next = 8;
227
- break;
228
- }
229
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
230
- case 8:
231
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
232
- _context.next = 10;
233
- break;
234
- }
235
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
236
- case 10:
237
223
  if (!(params.as2_partner_id && !(0, _utils.isInt)(params.as2_partner_id))) {
238
- _context.next = 12;
224
+ _context.next = 8;
239
225
  break;
240
226
  }
241
227
  throw new errors.InvalidParameterError("Bad parameter: as2_partner_id must be of type Int, received ".concat((0, _utils.getType)(params.as2_partner_id)));
242
- case 12:
243
- _context.next = 14;
228
+ case 8:
229
+ _context.next = 10;
244
230
  return _Api.default.sendRequest('/as2_incoming_messages', 'GET', params, options);
245
- case 14:
231
+ case 10:
246
232
  response = _context.sent;
247
233
  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) {
248
234
  return new _As2IncomingMessage(obj, options);
249
235
  })) || []);
250
- case 16:
236
+ case 12:
251
237
  case "end":
252
238
  return _context.stop();
253
239
  }
@@ -174,9 +174,7 @@ _As2OutgoingMessage = As2OutgoingMessage;
174
174
  // Parameters:
175
175
  // 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.
176
176
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
177
- // action - string
178
- // page - int64
179
- // 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 `as2_partner_id`.
177
+ // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
180
178
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
181
179
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
182
180
  // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
@@ -206,32 +204,20 @@ _As2OutgoingMessage = As2OutgoingMessage;
206
204
  }
207
205
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
208
206
  case 6:
209
- if (!(params.action && !(0, _utils.isString)(params.action))) {
210
- _context.next = 8;
211
- break;
212
- }
213
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
214
- case 8:
215
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
216
- _context.next = 10;
217
- break;
218
- }
219
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
220
- case 10:
221
207
  if (!(params.as2_partner_id && !(0, _utils.isInt)(params.as2_partner_id))) {
222
- _context.next = 12;
208
+ _context.next = 8;
223
209
  break;
224
210
  }
225
211
  throw new errors.InvalidParameterError("Bad parameter: as2_partner_id must be of type Int, received ".concat((0, _utils.getType)(params.as2_partner_id)));
226
- case 12:
227
- _context.next = 14;
212
+ case 8:
213
+ _context.next = 10;
228
214
  return _Api.default.sendRequest('/as2_outgoing_messages', 'GET', params, options);
229
- case 14:
215
+ case 10:
230
216
  response = _context.sent;
231
217
  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) {
232
218
  return new _As2OutgoingMessage(obj, options);
233
219
  })) || []);
234
- case 16:
220
+ case 12:
235
221
  case "end":
236
222
  return _context.stop();
237
223
  }
@@ -352,8 +352,6 @@ _As2Partner = As2Partner;
352
352
  // Parameters:
353
353
  // 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.
354
354
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
355
- // action - string
356
- // page - int64
357
355
  (0, _defineProperty2.default)(As2Partner, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
358
356
  var _response$data;
359
357
  var params,
@@ -377,26 +375,14 @@ _As2Partner = As2Partner;
377
375
  }
378
376
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
379
377
  case 6:
380
- if (!(params.action && !(0, _utils.isString)(params.action))) {
381
- _context4.next = 8;
382
- break;
383
- }
384
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
385
- case 8:
386
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
387
- _context4.next = 10;
388
- break;
389
- }
390
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
391
- case 10:
392
- _context4.next = 12;
378
+ _context4.next = 8;
393
379
  return _Api.default.sendRequest('/as2_partners', 'GET', params, options);
394
- case 12:
380
+ case 8:
395
381
  response = _context4.sent;
396
382
  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) {
397
383
  return new _As2Partner(obj, options);
398
384
  })) || []);
399
- case 14:
385
+ case 10:
400
386
  case "end":
401
387
  return _context4.stop();
402
388
  }
@@ -323,8 +323,6 @@ _As2Station = As2Station;
323
323
  // Parameters:
324
324
  // 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.
325
325
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
326
- // action - string
327
- // page - int64
328
326
  (0, _defineProperty2.default)(As2Station, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
329
327
  var _response$data;
330
328
  var params,
@@ -348,26 +346,14 @@ _As2Station = As2Station;
348
346
  }
349
347
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
350
348
  case 6:
351
- if (!(params.action && !(0, _utils.isString)(params.action))) {
352
- _context4.next = 8;
353
- break;
354
- }
355
- throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
356
- case 8:
357
- if (!(params.page && !(0, _utils.isInt)(params.page))) {
358
- _context4.next = 10;
359
- break;
360
- }
361
- throw new errors.InvalidParameterError("Bad parameter: page must be of type Int, received ".concat((0, _utils.getType)(params.page)));
362
- case 10:
363
- _context4.next = 12;
349
+ _context4.next = 8;
364
350
  return _Api.default.sendRequest('/as2_stations', 'GET', params, options);
365
- case 12:
351
+ case 8:
366
352
  response = _context4.sent;
367
353
  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) {
368
354
  return new _As2Station(obj, options);
369
355
  })) || []);
370
- case 14:
356
+ case 10:
371
357
  case "end":
372
358
  return _context4.stop();
373
359
  }