files.com 1.0.329 → 1.0.330

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/api_key.md +2 -3
  4. data/docs/app.md +1 -5
  5. data/docs/as2_incoming_message.md +2 -3
  6. data/docs/as2_outgoing_message.md +2 -3
  7. data/docs/automation.md +8 -9
  8. data/docs/automation_run.md +0 -5
  9. data/docs/bandwidth_snapshot.md +2 -3
  10. data/docs/behavior.md +3 -11
  11. data/docs/bundle.md +2 -3
  12. data/docs/bundle_download.md +2 -3
  13. data/docs/bundle_notification.md +3 -1
  14. data/docs/bundle_recipient.md +0 -5
  15. data/docs/external_event.md +5 -5
  16. data/docs/group.md +1 -5
  17. data/docs/history.md +1 -5
  18. data/docs/inbox_recipient.md +0 -5
  19. data/docs/inbox_upload.md +2 -3
  20. data/docs/notification.md +3 -7
  21. data/docs/permission.md +1 -5
  22. data/docs/remote_bandwidth_snapshot.md +2 -3
  23. data/docs/settings_change.md +4 -6
  24. data/docs/usage_daily_snapshot.md +4 -5
  25. data/docs/user.md +5 -5
  26. data/lib/files.com/errors.rb +1 -0
  27. data/lib/files.com/models/api_key.rb +2 -4
  28. data/lib/files.com/models/app.rb +2 -10
  29. data/lib/files.com/models/as2_incoming_message.rb +2 -4
  30. data/lib/files.com/models/as2_outgoing_message.rb +2 -4
  31. data/lib/files.com/models/automation.rb +7 -9
  32. data/lib/files.com/models/automation_run.rb +0 -10
  33. data/lib/files.com/models/bandwidth_snapshot.rb +2 -4
  34. data/lib/files.com/models/behavior.rb +6 -22
  35. data/lib/files.com/models/bundle.rb +2 -4
  36. data/lib/files.com/models/bundle_download.rb +2 -4
  37. data/lib/files.com/models/bundle_notification.rb +6 -2
  38. data/lib/files.com/models/bundle_recipient.rb +0 -10
  39. data/lib/files.com/models/external_event.rb +6 -6
  40. data/lib/files.com/models/group.rb +2 -10
  41. data/lib/files.com/models/history.rb +2 -10
  42. data/lib/files.com/models/inbox_recipient.rb +0 -10
  43. data/lib/files.com/models/inbox_upload.rb +2 -4
  44. data/lib/files.com/models/notification.rb +5 -13
  45. data/lib/files.com/models/permission.rb +2 -10
  46. data/lib/files.com/models/remote_bandwidth_snapshot.rb +2 -4
  47. data/lib/files.com/models/settings_change.rb +4 -10
  48. data/lib/files.com/models/usage_daily_snapshot.rb +4 -6
  49. data/lib/files.com/models/user.rb +6 -6
  50. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32098194a11da79228d863c4a368a54b0160dd744f19a5e7ff5842c3cb7f77e8
4
- data.tar.gz: d4a11337dfbc681a787d0c855a69baba5a7ca735c374fe9e7c2a960bbb84c42c
3
+ metadata.gz: 50f2f62972d81d98a1f8c879bb98c00935b1c4d567204bd8c41d60d756fc2528
4
+ data.tar.gz: 3cfd3870990ab9187f16e3d2de978731f861a19323a7f29d8984dd761b72db29
5
5
  SHA512:
6
- metadata.gz: 9dfa29876c97075aec8c24fec2771ab2a6dc87b7e84b9f630ff684c2668771997e2628f8f0bf66d69b1a30fc170ba656b95147a93c72434bcf8c42b26c3e1304
7
- data.tar.gz: a46dd708b439c4729c47d9f733aba63c6c9fd498dbd0f701fdf840abb9fe116a7faf530fc07e1ba38b52c38f8c1a4abc441b359acb956f1b5defd0471ffc93ee
6
+ metadata.gz: 2c1a15034f1d723dce4e7d0a608af08ca0d91d72b0616f3cee6f17c2f30c75227be926fee94cc18100634f9c17c55da2d6784a2bd760d96e0811d7da7e37ec9d
7
+ data.tar.gz: d3a2b11e223d15e5709efd015e7a4c5f5386be6fe5e309d61c3d9837a4c3269ec433aeef7104c2e08b8999f98e68546b85e3c2afb14df8a2d51d93b455b592f7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.329
1
+ 1.0.330
data/docs/api_key.md CHANGED
@@ -54,10 +54,9 @@ Files::ApiKey.list(
54
54
  * `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`.
55
55
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
56
56
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
57
- * `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`.
58
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
57
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
59
58
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
60
- * `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`.
59
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
61
60
 
62
61
 
63
62
  ---
data/docs/app.md CHANGED
@@ -61,8 +61,4 @@ Files::App.list(
61
61
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
62
62
  * `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`.
63
63
  * `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 ]`.
64
- * `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 ]`.
65
- * `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 ]`.
66
- * `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 ]`.
67
- * `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 ]`.
68
- * `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 ]`.
64
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
@@ -101,8 +101,7 @@ Files::As2IncomingMessage.list(
101
101
  * `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`.
102
102
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
103
103
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
104
- * `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`.
105
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
104
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
106
105
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
107
- * `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`.
106
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
108
107
  * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
@@ -93,8 +93,7 @@ Files::As2OutgoingMessage.list(
93
93
  * `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`.
94
94
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
95
95
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
96
- * `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`.
97
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
96
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
98
97
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
99
- * `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`.
98
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
100
99
  * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
data/docs/automation.md CHANGED
@@ -76,8 +76,8 @@
76
76
  ```
77
77
  Files::Automation.list(
78
78
  per_page: 1,
79
- with_deleted: true,
80
- automation: "create_folder"
79
+ automation: "create_folder",
80
+ with_deleted: true
81
81
  )
82
82
  ```
83
83
 
@@ -86,14 +86,13 @@ Files::Automation.list(
86
86
  * `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.
87
87
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
88
88
  * `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`.
89
- * `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 ]`.
90
- * `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 ]`.
91
- * `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 ]`.
92
- * `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 ]`.
93
- * `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 ]`.
94
- * `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 ]`.
89
+ * `automation` (string): If set, return records where the specified field is equal to the supplied value.
90
+ * `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 ]`.
91
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
92
+ * `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`.
93
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
94
+ * `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`.
95
95
  * `with_deleted` (boolean): Set to true to include deleted automations in the results.
96
- * `automation` (string): DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
97
96
 
98
97
 
99
98
  ---
@@ -40,11 +40,6 @@ Files::AutomationRun.list(
40
40
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
41
41
  * `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`.
42
42
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
43
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `status`.
44
- * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `status`.
45
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
46
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `status`.
47
- * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `status`.
48
43
  * `automation_id` (int64): Required - ID of the associated Automation.
49
44
 
50
45
 
@@ -44,7 +44,6 @@ Files::BandwidthSnapshot.list(
44
44
  * `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`.
45
45
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
46
46
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
47
- * `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`.
48
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
47
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
49
48
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
50
- * `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`.
49
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
data/docs/behavior.md CHANGED
@@ -43,13 +43,9 @@ Files::Behavior.list(
43
43
  * `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.
44
44
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
45
45
  * `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`.
46
+ * `behavior` (string): If set, return records where the specified field is equal to the supplied value.
46
47
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
47
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
48
- * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
49
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
50
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
51
- * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
52
- * `behavior` (string): If set, only shows folder behaviors matching this behavior type.
48
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
53
49
 
54
50
 
55
51
  ---
@@ -82,11 +78,7 @@ Files::Behavior.list_for(path,
82
78
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
83
79
  * `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`.
84
80
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
85
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
86
- * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
87
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
88
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
89
- * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
81
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
90
82
  * `path` (string): Required - Path to operate on.
91
83
  * `recursive` (string): Show behaviors above this path?
92
84
  * `behavior` (string): DEPRECATED: If set only shows folder behaviors matching this behavior type. Use `filter[behavior]` instead.
data/docs/bundle.md CHANGED
@@ -94,10 +94,9 @@ Files::Bundle.list(
94
94
  * `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`.
95
95
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
96
96
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
97
- * `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`.
98
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
97
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
99
98
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
100
- * `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`.
99
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
101
100
 
102
101
 
103
102
  ---
@@ -36,9 +36,8 @@ Files::BundleDownload.list(
36
36
  * `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`.
37
37
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
38
38
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
39
- * `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`.
40
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
39
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
41
40
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
42
- * `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`.
41
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
43
42
  * `bundle_id` (int64): Bundle ID
44
43
  * `bundle_registration_id` (int64): BundleRegistration ID
@@ -36,7 +36,9 @@ Files::BundleNotification.list(
36
36
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
37
37
  * `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.
38
38
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
39
- * `bundle_id` (int64): Bundle ID to notify on
39
+ * `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`.
40
+ * `bundle_id` (string): If set, return records where the specified field is equal to the supplied value.
41
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
40
42
 
41
43
 
42
44
  ---
@@ -41,11 +41,6 @@ Files::BundleRecipient.list(
41
41
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
42
42
  * `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`.
43
43
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
44
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
45
- * `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`.
46
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
47
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
48
- * `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`.
49
44
  * `bundle_id` (int64): Required - List recipients for the bundle with this ID.
50
45
 
51
46
 
@@ -47,11 +47,11 @@ Files::ExternalEvent.list(
47
47
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
48
48
  * `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`.
49
49
  * `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 ]`.
50
- * `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 ]`.
51
- * `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 ]`.
52
- * `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 ]`.
53
- * `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 ]`.
54
- * `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 ]`.
50
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
51
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
52
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
53
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
54
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
55
55
 
56
56
 
57
57
  ---
data/docs/group.md CHANGED
@@ -37,11 +37,7 @@ Files::Group.list(
37
37
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
38
38
  * `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`.
39
39
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
40
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `name`.
41
- * `filter_gteq` (object): If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name`.
42
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
43
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `name`.
44
- * `filter_lteq` (object): If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name`.
40
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
45
41
  * `ids` (string): Comma-separated list of group ids to include in results.
46
42
 
47
43
 
data/docs/history.md CHANGED
@@ -144,8 +144,4 @@ Files::History.list(
144
144
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
145
145
  * `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`.
146
146
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
147
- * `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`.
148
- * `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`.
149
- * `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`.
150
- * `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`.
151
- * `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`.
147
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
@@ -41,11 +41,6 @@ Files::InboxRecipient.list(
41
41
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
42
42
  * `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`.
43
43
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
44
- * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
45
- * `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`.
46
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
47
- * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
48
- * `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`.
49
44
  * `inbox_id` (int64): Required - List recipients for the inbox with this ID.
50
45
 
51
46
 
data/docs/inbox_upload.md CHANGED
@@ -34,9 +34,8 @@ Files::InboxUpload.list(
34
34
  * `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`.
35
35
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
36
36
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
37
- * `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`.
38
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
37
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
39
38
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
40
- * `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`.
39
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
41
40
  * `inbox_registration_id` (int64): InboxRegistration ID
42
41
  * `inbox_id` (int64): Inbox ID
data/docs/notification.md CHANGED
@@ -79,13 +79,9 @@ Files::Notification.list(
79
79
  * `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.
80
80
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
81
81
  * `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`.
82
- * `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`.
83
- * `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`.
84
- * `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`.
85
- * `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`.
86
- * `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`.
87
- * `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`.
88
- * `group_id` (int64): DEPRECATED: Show notifications for this Group ID. Use `filter[group_id]` instead.
82
+ * `group_id` (string): If set, return records where the specified field is equal to the supplied value.
83
+ * `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`.
84
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
89
85
  * `path` (string): Show notifications for this Path.
90
86
  * `include_ancestors` (boolean): If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
91
87
 
data/docs/permission.md CHANGED
@@ -45,11 +45,7 @@ Files::Permission.list(
45
45
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
46
  * `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`.
47
47
  * `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 ]`.
48
- * `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 ]`.
49
- * `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 ]`.
50
- * `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 ]`.
51
- * `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 ]`.
52
- * `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 ]`.
48
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
53
49
  * `path` (string): DEPRECATED: Permission path. If provided, will scope permissions to this path. Use `filter[path]` instead.
54
50
  * `group_id` (string): DEPRECATED: Group ID. If provided, will scope permissions to this group. Use `filter[group_id]` instead.`
55
51
  * `user_id` (string): DEPRECATED: User ID. If provided, will scope permissions to this user. Use `filter[user_id]` instead.`
@@ -36,7 +36,6 @@ Files::RemoteBandwidthSnapshot.list(
36
36
  * `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`.
37
37
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
38
38
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
39
- * `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`.
40
- * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
39
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
41
40
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
42
- * `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`.
41
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
@@ -27,7 +27,8 @@
27
27
 
28
28
  ```
29
29
  Files::SettingsChange.list(
30
- per_page: 1
30
+ per_page: 1,
31
+ user_id: 1
31
32
  )
32
33
  ```
33
34
 
@@ -36,9 +37,6 @@ Files::SettingsChange.list(
36
37
  * `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.
37
38
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
38
39
  * `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`.
40
+ * `api_key_id` (string): If set, return records where the specified field is equal to the supplied value.
41
+ * `user_id` (string): If set, return records where the specified field is equal to the supplied value.
39
42
  * `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`.
40
- * `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`.
41
- * `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`.
42
- * `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`.
43
- * `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`.
44
- * `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`.
@@ -49,8 +49,7 @@ Files::UsageDailySnapshot.list(
49
49
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
50
50
  * `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`.
51
51
  * `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 ]`.
52
- * `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 ]`.
53
- * `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 ]`.
54
- * `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 ]`.
55
- * `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 ]`.
56
- * `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 ]`.
52
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `date`.
53
+ * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `date`.
54
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `date`.
55
+ * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `date`.
data/docs/user.md CHANGED
@@ -155,11 +155,11 @@ Files::User.list(
155
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
156
  * `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`.
157
157
  * `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 ]`.
158
- * `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 ]`.
159
- * `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 ]`.
160
- * `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 ]`.
161
- * `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 ]`.
162
- * `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 ]`.
158
+ * `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`.
159
+ * `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`.
160
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `email` or `company`.
161
+ * `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`.
162
+ * `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`.
163
163
  * `ids` (string): comma-separated list of User IDs
164
164
  * `q[username]` (string): List users matching username.
165
165
  * `q[email]` (string): List users matching email.
@@ -58,6 +58,7 @@ module Files
58
58
  class InvalidEtagsError < BadRequestError; end
59
59
  class InvalidFilterCombinationError < BadRequestError; end
60
60
  class InvalidFilterFieldError < BadRequestError; end
61
+ class InvalidFilterParamError < BadRequestError; end
61
62
  class InvalidInputEncodingError < BadRequestError; end
62
63
  class InvalidInterfaceError < BadRequestError; end
63
64
  class InvalidOauthProviderError < BadRequestError; end
@@ -171,10 +171,9 @@ module Files
171
171
  # 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`.
172
172
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
173
173
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
174
- # 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`.
175
- # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
174
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
176
175
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
177
- # 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`.
176
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
178
177
  def self.list(params = {}, options = {})
179
178
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
180
179
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -183,7 +182,6 @@ module Files
183
182
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
184
183
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
185
184
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
186
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
187
185
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
188
186
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
189
187
 
@@ -94,21 +94,13 @@ module Files
94
94
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
95
95
  # 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`.
96
96
  # 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 ]`.
97
- # 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 ]`.
98
- # 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 ]`.
99
- # 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 ]`.
100
- # 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 ]`.
101
- # 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 ]`.
97
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
102
98
  def self.list(params = {}, options = {})
103
99
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
104
100
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
105
101
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
106
102
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
107
- raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
108
- raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
109
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
110
- raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
111
- raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
103
+ raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
112
104
 
113
105
  List.new(App, params) do
114
106
  Api.send_request("/apps", :get, params, options)
@@ -190,10 +190,9 @@ module Files
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
  def self.list(params = {}, options = {})
199
198
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -202,7 +201,6 @@ module Files
202
201
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
203
202
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
204
203
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
205
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
206
204
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
207
205
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
208
206
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
@@ -170,10 +170,9 @@ module Files
170
170
  # 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`.
171
171
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
172
172
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
173
- # 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`.
174
- # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
173
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
175
174
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
176
- # 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`.
175
+ # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
177
176
  # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
178
177
  def self.list(params = {}, options = {})
179
178
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
@@ -182,7 +181,6 @@ module Files
182
181
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
183
182
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
184
183
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
185
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
186
184
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
187
185
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
188
186
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
@@ -287,25 +287,23 @@ module Files
287
287
  # 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.
288
288
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
289
289
  # 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`.
290
- # 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 ]`.
291
- # 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 ]`.
292
- # 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 ]`.
293
- # 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 ]`.
294
- # 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 ]`.
295
- # 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 ]`.
290
+ # automation - string - If set, return records where the specified field is equal to the supplied value.
291
+ # 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 ]`.
292
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
293
+ # 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`.
294
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
295
+ # 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`.
296
296
  # with_deleted - boolean - Set to true to include deleted automations in the results.
297
- # automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
298
297
  def self.list(params = {}, options = {})
299
298
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
300
299
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
301
300
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
301
+ raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
302
302
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
303
303
  raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
304
304
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
305
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
306
305
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
307
306
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
308
- raise InvalidParameterError.new("Bad parameter: automation must be an String") if params[:automation] and !params[:automation].is_a?(String)
309
307
 
310
308
  List.new(Automation, params) do
311
309
  Api.send_request("/automations", :get, params, options)
@@ -45,11 +45,6 @@ module Files
45
45
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
46
  # 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`.
47
47
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
48
- # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `status`.
49
- # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `status`.
50
- # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `status`.
51
- # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `status`.
52
- # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `status`.
53
48
  # automation_id (required) - int64 - ID of the associated Automation.
54
49
  def self.list(params = {}, options = {})
55
50
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -57,11 +52,6 @@ module Files
57
52
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
58
53
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
59
54
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
60
- raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
61
- raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
62
- raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params[:filter_like] and !params[:filter_like].is_a?(Hash)
63
- raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
64
- raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
65
55
  raise InvalidParameterError.new("Bad parameter: automation_id must be an Integer") if params[:automation_id] and !params[:automation_id].is_a?(Integer)
66
56
  raise MissingParameterError.new("Parameter missing: automation_id") unless params[:automation_id]
67
57