files.com 1.0.254 → 1.0.255

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 (74) hide show
  1. package/_VERSION +1 -1
  2. package/docs/Errors.md +1 -0
  3. package/docs/models/ApiKey.md +2 -3
  4. package/docs/models/App.md +1 -5
  5. package/docs/models/As2IncomingMessage.md +2 -3
  6. package/docs/models/As2OutgoingMessage.md +2 -3
  7. package/docs/models/Automation.md +7 -8
  8. package/docs/models/AutomationRun.md +0 -5
  9. package/docs/models/BandwidthSnapshot.md +2 -3
  10. package/docs/models/Behavior.md +3 -11
  11. package/docs/models/Bundle.md +2 -3
  12. package/docs/models/BundleDownload.md +2 -3
  13. package/docs/models/BundleNotification.md +3 -1
  14. package/docs/models/BundleRecipient.md +0 -5
  15. package/docs/models/ExternalEvent.md +5 -5
  16. package/docs/models/Group.md +1 -5
  17. package/docs/models/History.md +1 -5
  18. package/docs/models/InboxRecipient.md +0 -5
  19. package/docs/models/InboxUpload.md +2 -3
  20. package/docs/models/Notification.md +3 -7
  21. package/docs/models/Permission.md +1 -5
  22. package/docs/models/RemoteBandwidthSnapshot.md +2 -3
  23. package/docs/models/SettingsChange.md +3 -5
  24. package/docs/models/UsageDailySnapshot.md +4 -5
  25. package/docs/models/User.md +5 -5
  26. package/lib/Errors.js +713 -699
  27. package/lib/models/ApiKey.js +2 -3
  28. package/lib/models/App.js +1 -5
  29. package/lib/models/As2IncomingMessage.js +2 -3
  30. package/lib/models/As2OutgoingMessage.js +2 -3
  31. package/lib/models/Automation.js +6 -7
  32. package/lib/models/AutomationRun.js +0 -5
  33. package/lib/models/BandwidthSnapshot.js +2 -3
  34. package/lib/models/Behavior.js +3 -11
  35. package/lib/models/Bundle.js +2 -3
  36. package/lib/models/BundleDownload.js +2 -3
  37. package/lib/models/BundleNotification.js +5 -3
  38. package/lib/models/BundleRecipient.js +0 -5
  39. package/lib/models/ExternalEvent.js +5 -5
  40. package/lib/models/Group.js +1 -5
  41. package/lib/models/History.js +1 -5
  42. package/lib/models/InboxRecipient.js +0 -5
  43. package/lib/models/InboxUpload.js +2 -3
  44. package/lib/models/Notification.js +5 -9
  45. package/lib/models/Permission.js +1 -5
  46. package/lib/models/RemoteBandwidthSnapshot.js +2 -3
  47. package/lib/models/SettingsChange.js +17 -8
  48. package/lib/models/UsageDailySnapshot.js +4 -5
  49. package/lib/models/User.js +5 -5
  50. package/package.json +1 -1
  51. package/src/Errors.js +1 -0
  52. package/src/models/ApiKey.js +2 -3
  53. package/src/models/App.js +1 -5
  54. package/src/models/As2IncomingMessage.js +2 -3
  55. package/src/models/As2OutgoingMessage.js +2 -3
  56. package/src/models/Automation.js +6 -7
  57. package/src/models/AutomationRun.js +0 -5
  58. package/src/models/BandwidthSnapshot.js +2 -3
  59. package/src/models/Behavior.js +3 -11
  60. package/src/models/Bundle.js +2 -3
  61. package/src/models/BundleDownload.js +2 -3
  62. package/src/models/BundleNotification.js +5 -3
  63. package/src/models/BundleRecipient.js +0 -5
  64. package/src/models/ExternalEvent.js +5 -5
  65. package/src/models/Group.js +1 -5
  66. package/src/models/History.js +1 -5
  67. package/src/models/InboxRecipient.js +0 -5
  68. package/src/models/InboxUpload.js +2 -3
  69. package/src/models/Notification.js +5 -9
  70. package/src/models/Permission.js +1 -5
  71. package/src/models/RemoteBandwidthSnapshot.js +2 -3
  72. package/src/models/SettingsChange.js +10 -5
  73. package/src/models/UsageDailySnapshot.js +4 -5
  74. package/src/models/User.js +5 -5
@@ -285,10 +285,9 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
285
285
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[expires_at]=desc`). Valid fields are `expires_at`.
286
286
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
287
287
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
288
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `expires_at`.
289
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
288
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
290
289
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
291
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `expires_at`.
290
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
292
291
  (0, _defineProperty2.default)(ApiKey, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
293
292
  var _response$data;
294
293
  var params,
package/lib/models/App.js CHANGED
@@ -113,11 +113,7 @@ var App = /*#__PURE__*/(0, _createClass2.default)(function App() {
113
113
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
114
114
  // 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`.
115
115
  // 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 ]`.
116
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
117
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
118
- // filter_like - 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 ]`.
119
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
120
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
116
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
121
117
  (0, _defineProperty2.default)(App, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
122
118
  var _response$data;
123
119
  var params,
@@ -190,10 +190,9 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
190
190
  // 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`.
191
191
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
192
192
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
193
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
194
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
193
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
195
194
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
196
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
195
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
197
196
  // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
198
197
  (0, _defineProperty2.default)(As2IncomingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
199
198
  var _response$data;
@@ -174,10 +174,9 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
174
174
  // 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`.
175
175
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
176
176
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
177
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
178
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
177
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
179
178
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
180
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
179
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
181
180
  // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
182
181
  (0, _defineProperty2.default)(As2OutgoingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
183
182
  var _response$data;
@@ -435,14 +435,13 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
435
435
  // 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.
436
436
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
437
437
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation]=desc`). Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
438
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
439
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
440
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
441
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
442
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
443
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
438
+ // automation - string - If set, return records where the specified field is equal to the supplied value.
439
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
440
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
441
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
442
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
443
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `last_modified_at`.
444
444
  // with_deleted - boolean - Set to true to include deleted automations in the results.
445
- // automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
446
445
  (0, _defineProperty2.default)(Automation, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
447
446
  var _response$data;
448
447
  var params,
@@ -74,11 +74,6 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
74
74
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
75
75
  // 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 `status`.
76
76
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
77
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `status`.
78
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `status`.
79
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
80
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `status`.
81
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `status`.
82
77
  // automation_id (required) - int64 - ID of the associated Automation.
83
78
  (0, _defineProperty2.default)(AutomationRun, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
84
79
  var _response$data;
@@ -86,10 +86,9 @@ var BandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function Bandwid
86
86
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
87
87
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
88
88
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
89
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
90
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
89
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
91
90
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
92
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `logged_at`.
91
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
93
92
  (0, _defineProperty2.default)(BandwidthSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
94
93
  var _response$data;
95
94
  var params,
@@ -266,13 +266,9 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
266
266
  // 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.
267
267
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
268
268
  // 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`.
269
+ // behavior - string - If set, return records where the specified field is equal to the supplied value.
269
270
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
270
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
271
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
272
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
273
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
274
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
275
- // behavior - string - If set, only shows folder behaviors matching this behavior type.
271
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
276
272
  (0, _defineProperty2.default)(Behavior, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
277
273
  var _response$data;
278
274
  var params,
@@ -377,11 +373,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
377
373
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
378
374
  // 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`.
379
375
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
380
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
381
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
382
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
383
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
384
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
376
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
385
377
  // path (required) - string - Path to operate on.
386
378
  // recursive - string - Show behaviors above this path?
387
379
  // behavior - string - DEPRECATED: If set only shows folder behaviors matching this behavior type. Use `filter[behavior]` instead.
@@ -567,10 +567,9 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
567
567
  // 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`.
568
568
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
569
569
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
570
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
571
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
570
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
572
571
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
573
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
572
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
574
573
  (0, _defineProperty2.default)(Bundle, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
575
574
  var _response$data;
576
575
  var params,
@@ -66,10 +66,9 @@ var BundleDownload = /*#__PURE__*/(0, _createClass2.default)(function BundleDown
66
66
  // 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`.
67
67
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
68
68
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
69
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
70
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
69
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
71
70
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
72
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
71
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
73
72
  // bundle_id - int64 - Bundle ID
74
73
  // bundle_registration_id - int64 - BundleRegistration ID
75
74
  (0, _defineProperty2.default)(BundleDownload, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -203,7 +203,9 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
203
203
  // user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
204
204
  // 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.
205
205
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
206
- // bundle_id - int64 - Bundle ID to notify on
206
+ // 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`.
207
+ // bundle_id - string - If set, return records where the specified field is equal to the supplied value.
208
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
207
209
  (0, _defineProperty2.default)(BundleNotification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
208
210
  var _response$data;
209
211
  var params,
@@ -233,11 +235,11 @@ var BundleNotification = /*#__PURE__*/(0, _createClass2.default)(function Bundle
233
235
  }
234
236
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params['per_page'])));
235
237
  case 8:
236
- if (!(params['bundle_id'] && !(0, _utils.isInt)(params['bundle_id']))) {
238
+ if (!(params['bundle_id'] && !(0, _utils.isString)(params['bundle_id']))) {
237
239
  _context3.next = 10;
238
240
  break;
239
241
  }
240
- throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type Int, received ".concat((0, _utils.getType)(params['bundle_id'])));
242
+ throw new errors.InvalidParameterError("Bad parameter: bundle_id must be of type String, received ".concat((0, _utils.getType)(params['bundle_id'])));
241
243
  case 10:
242
244
  _context3.next = 12;
243
245
  return _Api.default.sendRequest("/bundle_notifications", 'GET', params, options);
@@ -115,11 +115,6 @@ var BundleRecipient = /*#__PURE__*/(0, _createClass2.default)(function BundleRec
115
115
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
116
116
  // 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`.
117
117
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
118
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
119
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
120
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
121
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
122
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `has_registrations`.
123
118
  // bundle_id (required) - int64 - List recipients for the bundle with this ID.
124
119
  (0, _defineProperty2.default)(BundleRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
125
120
  var _response$data;
@@ -132,11 +132,11 @@ var ExternalEvent = /*#__PURE__*/(0, _createClass2.default)(function ExternalEve
132
132
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
133
133
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[remote_server_type]=desc`). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
134
134
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
135
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
136
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
137
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
138
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
139
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`. Valid field combinations are `[ event_type, status, created_at ]`, `[ event_type, created_at ]` or `[ status, created_at ]`.
135
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
136
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
137
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
138
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
139
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
140
140
  (0, _defineProperty2.default)(ExternalEvent, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
141
141
  var _response$data;
142
142
  var params,
@@ -237,11 +237,7 @@ var Group = /*#__PURE__*/(0, _createClass2.default)(function Group() {
237
237
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
238
238
  // 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`.
239
239
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
240
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name`.
241
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name`.
242
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
243
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name`.
244
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name`.
240
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
245
241
  // ids - string - Comma-separated list of group ids to include in results.
246
242
  (0, _defineProperty2.default)(Group, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
247
243
  var _response$data;
@@ -423,11 +423,7 @@ var History = /*#__PURE__*/(0, _createClass2.default)(function History() {
423
423
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
424
424
  // 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`.
425
425
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
426
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
427
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
428
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
429
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `user_id`, `folder` or `path`.
430
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
426
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
431
427
  (0, _defineProperty2.default)(History, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
432
428
  var _response$data5;
433
429
  var params,
@@ -115,11 +115,6 @@ var InboxRecipient = /*#__PURE__*/(0, _createClass2.default)(function InboxRecip
115
115
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
116
116
  // 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`.
117
117
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
118
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
119
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
120
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
121
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
122
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `has_registrations`.
123
118
  // inbox_id (required) - int64 - List recipients for the inbox with this ID.
124
119
  (0, _defineProperty2.default)(InboxRecipient, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
125
120
  var _response$data;
@@ -62,10 +62,9 @@ var InboxUpload = /*#__PURE__*/(0, _createClass2.default)(function InboxUpload()
62
62
  // 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`.
63
63
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
64
64
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
65
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
66
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
65
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
67
66
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
68
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
67
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
69
68
  // inbox_registration_id - int64 - InboxRegistration ID
70
69
  // inbox_id - int64 - Inbox ID
71
70
  (0, _defineProperty2.default)(InboxUpload, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
@@ -364,13 +364,9 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
364
364
  // 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.
365
365
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
366
366
  // 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`, `user_id` or `group_id`.
367
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
368
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `user_id`, `group_id` or `path`.
369
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
370
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
371
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `user_id`, `group_id` or `path`.
372
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
373
- // group_id - int64 - DEPRECATED: Show notifications for this Group ID. Use `filter[group_id]` instead.
367
+ // group_id - string - If set, return records where the specified field is equal to the supplied value.
368
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id` or `group_id`.
369
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
374
370
  // path - string - Show notifications for this Path.
375
371
  // include_ancestors - boolean - If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
376
372
  (0, _defineProperty2.default)(Notification, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
@@ -402,11 +398,11 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
402
398
  }
403
399
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params['per_page'])));
404
400
  case 8:
405
- if (!(params['group_id'] && !(0, _utils.isInt)(params['group_id']))) {
401
+ if (!(params['group_id'] && !(0, _utils.isString)(params['group_id']))) {
406
402
  _context3.next = 10;
407
403
  break;
408
404
  }
409
- throw new errors.InvalidParameterError("Bad parameter: group_id must be of type Int, received ".concat((0, _utils.getType)(params['group_id'])));
405
+ throw new errors.InvalidParameterError("Bad parameter: group_id must be of type String, received ".concat((0, _utils.getType)(params['group_id'])));
410
406
  case 10:
411
407
  if (!(params['path'] && !(0, _utils.isString)(params['path']))) {
412
408
  _context3.next = 12;
@@ -170,11 +170,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
170
170
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
171
171
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[group_id]=desc`). Valid fields are `group_id`, `path`, `user_id` or `permission`.
172
172
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
173
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
174
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
175
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
176
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
177
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`. Valid field combinations are `[ group_id, path ]` and `[ user_id, path ]`.
173
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
178
174
  // path - string - DEPRECATED: Permission path. If provided, will scope permissions to this path. Use `filter[path]` instead.
179
175
  // group_id - string - DEPRECATED: Group ID. If provided, will scope permissions to this group. Use `filter[group_id]` instead.`
180
176
  // user_id - string - DEPRECATED: User ID. If provided, will scope permissions to this user. Use `filter[user_id]` instead.`
@@ -70,10 +70,9 @@ var RemoteBandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function R
70
70
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[logged_at]=desc`). Valid fields are `logged_at`.
71
71
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
72
72
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
73
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
74
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
73
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
75
74
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
76
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `logged_at`.
75
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
77
76
  (0, _defineProperty2.default)(RemoteBandwidthSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
78
77
  var _response$data;
79
78
  var params,
@@ -68,12 +68,9 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
68
68
  // 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.
69
69
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
70
70
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[api_key_id]=desc`). Valid fields are `api_key_id`, `created_at` or `user_id`.
71
+ // api_key_id - string - If set, return records where the specified field is equal to the supplied value.
72
+ // user_id - string - If set, return records where the specified field is equal to the supplied value.
71
73
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
72
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `api_key_id` and `user_id`.
73
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
74
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
75
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `api_key_id` and `user_id`.
76
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
77
74
  (0, _defineProperty2.default)(SettingsChange, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
78
75
  var _response$data;
79
76
  var params,
@@ -97,14 +94,26 @@ var SettingsChange = /*#__PURE__*/(0, _createClass2.default)(function SettingsCh
97
94
  }
98
95
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params['per_page'])));
99
96
  case 6:
100
- _context.next = 8;
101
- return _Api.default.sendRequest("/settings_changes", 'GET', params, options);
97
+ if (!(params['api_key_id'] && !(0, _utils.isString)(params['api_key_id']))) {
98
+ _context.next = 8;
99
+ break;
100
+ }
101
+ throw new errors.InvalidParameterError("Bad parameter: api_key_id must be of type String, received ".concat((0, _utils.getType)(params['api_key_id'])));
102
102
  case 8:
103
+ if (!(params['user_id'] && !(0, _utils.isString)(params['user_id']))) {
104
+ _context.next = 10;
105
+ break;
106
+ }
107
+ throw new errors.InvalidParameterError("Bad parameter: user_id must be of type String, received ".concat((0, _utils.getType)(params['user_id'])));
108
+ case 10:
109
+ _context.next = 12;
110
+ return _Api.default.sendRequest("/settings_changes", 'GET', params, options);
111
+ case 12:
103
112
  response = _context.sent;
104
113
  return _context.abrupt("return", (response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
105
114
  return new SettingsChange(obj, options);
106
115
  })) || []);
107
- case 10:
116
+ case 14:
108
117
  case "end":
109
118
  return _context.stop();
110
119
  }
@@ -93,11 +93,10 @@ var UsageDailySnapshot = /*#__PURE__*/(0, _createClass2.default)(function UsageD
93
93
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
94
94
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[date]=desc`). Valid fields are `date` and `usage_snapshot_id`.
95
95
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
96
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
97
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
98
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
99
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
100
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
96
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `date`.
97
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `date`.
98
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `date`.
99
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `date`.
101
100
  (0, _defineProperty2.default)(UsageDailySnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
102
101
  var _response$data;
103
102
  var params,
@@ -1000,11 +1000,11 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
1000
1000
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
1001
1001
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[authenticate_until]=desc`). Valid fields are `authenticate_until`, `active`, `email`, `last_desktop_login_at`, `last_login_at`, `username`, `company`, `name`, `site_admin`, `receive_admin_alerts`, `password_validity_days`, `ssl_required` or `not_site_admin`.
1002
1002
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1003
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1004
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1005
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1006
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1007
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `username`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until` or `not_site_admin`. Valid field combinations are `[ not_site_admin, username ]`.
1003
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1004
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1005
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `email` or `company`.
1006
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1007
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
1008
1008
  // ids - string - comma-separated list of User IDs
1009
1009
  // q[username] - string - List users matching username.
1010
1010
  // q[email] - string - List users matching email.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Errors.js CHANGED
@@ -99,6 +99,7 @@ export class BadRequest_InvalidCursorTypeForSortError extends BadRequestError {
99
99
  export class BadRequest_InvalidEtagsError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidEtagsError' } } errorClasses.BadRequest_InvalidEtagsError = BadRequest_InvalidEtagsError
100
100
  export class BadRequest_InvalidFilterCombinationError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterCombinationError' } } errorClasses.BadRequest_InvalidFilterCombinationError = BadRequest_InvalidFilterCombinationError
101
101
  export class BadRequest_InvalidFilterFieldError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterFieldError' } } errorClasses.BadRequest_InvalidFilterFieldError = BadRequest_InvalidFilterFieldError
102
+ export class BadRequest_InvalidFilterParamError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidFilterParamError' } } errorClasses.BadRequest_InvalidFilterParamError = BadRequest_InvalidFilterParamError
102
103
  export class BadRequest_InvalidInputEncodingError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidInputEncodingError' } } errorClasses.BadRequest_InvalidInputEncodingError = BadRequest_InvalidInputEncodingError
103
104
  export class BadRequest_InvalidInterfaceError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidInterfaceError' } } errorClasses.BadRequest_InvalidInterfaceError = BadRequest_InvalidInterfaceError
104
105
  export class BadRequest_InvalidOauthProviderError extends BadRequestError { constructor(message, code) { super(message, code); this.name = 'BadRequest_InvalidOauthProviderError' } } errorClasses.BadRequest_InvalidOauthProviderError = BadRequest_InvalidOauthProviderError
@@ -202,10 +202,9 @@ class ApiKey {
202
202
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[expires_at]=desc`). Valid fields are `expires_at`.
203
203
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
204
204
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
205
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `expires_at`.
206
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
205
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
207
206
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
208
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `expires_at`.
207
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
209
208
  static list = async (params = {}, options = {}) => {
210
209
  if (params['user_id'] && !isInt(params['user_id'])) {
211
210
  throw new errors.InvalidParameterError(`Bad parameter: user_id must be of type Int, received ${getType(params['user_id'])}`)
package/src/models/App.js CHANGED
@@ -77,11 +77,7 @@ class App {
77
77
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
78
78
  // 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`.
79
79
  // 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 ]`.
80
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
81
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
82
- // filter_like - 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 ]`.
83
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
84
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]` and `[ app_type, name ]`.
80
+ // filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
85
81
  static list = async (params = {}, options = {}) => {
86
82
  if (params['cursor'] && !isString(params['cursor'])) {
87
83
  throw new errors.InvalidParameterError(`Bad parameter: cursor must be of type String, received ${getType(params['cursor'])}`)
@@ -135,10 +135,9 @@ class As2IncomingMessage {
135
135
  // 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`.
136
136
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
137
137
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
138
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
139
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
138
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
140
139
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
141
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
140
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
142
141
  // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
143
142
  static list = async (params = {}, options = {}) => {
144
143
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -123,10 +123,9 @@ class As2OutgoingMessage {
123
123
  // 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`.
124
124
  // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
125
125
  // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
126
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
127
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
126
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
128
127
  // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
129
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
128
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
130
129
  // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
131
130
  static list = async (params = {}, options = {}) => {
132
131
  if (params['cursor'] && !isString(params['cursor'])) {
@@ -320,14 +320,13 @@ class Automation {
320
320
  // 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.
321
321
  // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
322
322
  // sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation]=desc`). Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
323
- // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
324
- // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
325
- // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
326
- // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
327
- // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
328
- // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`, `last_modified_at` or `disabled`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
323
+ // automation - string - If set, return records where the specified field is equal to the supplied value.
324
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ automation, disabled ]` and `[ disabled, automation ]`.
325
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
326
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
327
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
328
+ // filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `last_modified_at`.
329
329
  // with_deleted - boolean - Set to true to include deleted automations in the results.
330
- // automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
331
330
  static list = async (params = {}, options = {}) => {
332
331
  if (params['cursor'] && !isString(params['cursor'])) {
333
332
  throw new errors.InvalidParameterError(`Bad parameter: cursor must be of type String, received ${getType(params['cursor'])}`)