files.com 1.0.223 → 1.0.227

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/api_key.md +6 -6
  4. data/docs/app.md +7 -7
  5. data/docs/automation.md +6 -6
  6. data/docs/automation_run.md +6 -6
  7. data/docs/bandwidth_snapshot.md +6 -6
  8. data/docs/behavior.md +19 -14
  9. data/docs/bundle.md +24 -8
  10. data/docs/bundle_download.md +6 -6
  11. data/docs/bundle_recipient.md +6 -6
  12. data/docs/bundle_registration.md +1 -1
  13. data/docs/external_event.md +6 -6
  14. data/docs/file.md +1 -2
  15. data/docs/file_action.md +3 -3
  16. data/docs/folder.md +1 -2
  17. data/docs/group.md +6 -6
  18. data/docs/history.md +6 -6
  19. data/docs/inbox_recipient.md +6 -6
  20. data/docs/inbox_registration.md +1 -1
  21. data/docs/inbox_upload.md +6 -6
  22. data/docs/notification.md +6 -6
  23. data/docs/permission.md +6 -6
  24. data/docs/preview.md +1 -3
  25. data/docs/settings_change.md +6 -6
  26. data/docs/usage_daily_snapshot.md +6 -6
  27. data/docs/user.md +6 -6
  28. data/lib/files.com/models/api_key.rb +6 -6
  29. data/lib/files.com/models/app.rb +7 -7
  30. data/lib/files.com/models/automation.rb +6 -6
  31. data/lib/files.com/models/automation_run.rb +6 -6
  32. data/lib/files.com/models/bandwidth_snapshot.rb +6 -6
  33. data/lib/files.com/models/behavior.rb +25 -13
  34. data/lib/files.com/models/bundle.rb +47 -6
  35. data/lib/files.com/models/bundle_download.rb +6 -6
  36. data/lib/files.com/models/bundle_recipient.rb +6 -6
  37. data/lib/files.com/models/bundle_registration.rb +1 -1
  38. data/lib/files.com/models/external_event.rb +6 -6
  39. data/lib/files.com/models/file_action.rb +2 -2
  40. data/lib/files.com/models/group.rb +6 -6
  41. data/lib/files.com/models/history.rb +6 -6
  42. data/lib/files.com/models/inbox_recipient.rb +6 -6
  43. data/lib/files.com/models/inbox_registration.rb +1 -1
  44. data/lib/files.com/models/inbox_upload.rb +6 -6
  45. data/lib/files.com/models/notification.rb +6 -6
  46. data/lib/files.com/models/permission.rb +6 -6
  47. data/lib/files.com/models/preview.rb +0 -5
  48. data/lib/files.com/models/settings_change.rb +6 -6
  49. data/lib/files.com/models/usage_daily_snapshot.rb +6 -6
  50. data/lib/files.com/models/user.rb +6 -6
  51. metadata +2 -2
@@ -34,9 +34,9 @@ Files::UsageDailySnapshot.list(
34
34
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
35
35
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
36
36
  * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `date` and `usage_snapshot_id`.
37
- * `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
38
- * `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `date` and `usage_snapshot_id`.
39
- * `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
40
- * `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
41
- * `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `date` and `usage_snapshot_id`.
42
- * `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
37
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`.
38
+ * `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`.
39
+ * `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`.
40
+ * `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`.
41
+ * `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`.
42
+ * `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`.
data/docs/user.md CHANGED
@@ -132,12 +132,12 @@ Files::User.list(
132
132
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
133
133
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
134
134
  * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `authenticate_until`, `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`.
135
- * `filter` (object): If set, return records where the specifiied 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`.
136
- * `filter_gt` (object): If set, return records where the specifiied 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`.
137
- * `filter_gteq` (object): If set, return records where the specifiied 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`.
138
- * `filter_like` (object): If set, return records where the specifiied 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`.
139
- * `filter_lt` (object): If set, return records where the specifiied 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`.
140
- * `filter_lteq` (object): If set, return records where the specifiied 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`.
135
+ * `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`.
136
+ * `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`.
137
+ * `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`.
138
+ * `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`.
139
+ * `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`.
140
+ * `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`.
141
141
  * `ids` (string): comma-separated list of User IDs
142
142
  * `q[username]` (string): List users matching username.
143
143
  * `q[email]` (string): List users matching email.
@@ -149,12 +149,12 @@ module Files
149
149
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
150
150
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
151
151
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `expires_at`.
152
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `expires_at`.
153
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `expires_at`.
154
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `expires_at`.
155
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `expires_at`.
156
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `expires_at`.
157
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `expires_at`.
152
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
153
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
154
+ # 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`.
155
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `expires_at`.
156
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
157
+ # 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`.
158
158
  def self.list(params = {}, options = {})
159
159
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
160
160
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -24,7 +24,7 @@ module Files
24
24
  @attributes[:short_description]
25
25
  end
26
26
 
27
- # string - Collection of named links to documentation
27
+ # object - Collection of named links to documentation
28
28
  def documentation_links
29
29
  @attributes[:documentation_links]
30
30
  end
@@ -93,12 +93,12 @@ module Files
93
93
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
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[last_login_at]=desc). Valid fields are `name` and `app_type`.
96
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name` and `app_type`.
97
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `name` and `app_type`.
98
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `name` and `app_type`.
99
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name` and `app_type`.
100
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `name` and `app_type`.
101
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `name` and `app_type`.
96
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`.
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`.
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`.
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`.
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`.
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`.
102
102
  def self.list(params = {}, options = {})
103
103
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
104
104
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
@@ -260,12 +260,12 @@ module Files
260
260
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
261
261
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
262
262
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`.
263
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `automation`.
264
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `automation`.
265
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `automation`.
266
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `automation`.
267
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `automation`.
268
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `automation`.
263
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`.
264
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `automation`.
265
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `automation`.
266
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `automation`.
267
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `automation`.
268
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `automation`.
269
269
  # automation - string - DEPRECATED: Type of automation to filter by. Use `filter[automation]` instead.
270
270
  def self.list(params = {}, options = {})
271
271
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -44,12 +44,12 @@ module Files
44
44
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
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[last_login_at]=desc). Valid fields are `created_at` and `status`.
47
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
48
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `status`.
49
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `status`.
50
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `status`.
51
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `status`.
52
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `status`.
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
53
  # automation_id (required) - int64 - ID of the associated Automation.
54
54
  def self.list(params = {}, options = {})
55
55
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -68,12 +68,12 @@ module Files
68
68
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
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[last_login_at]=desc). Valid fields are `logged_at`.
71
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `logged_at`.
72
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `logged_at`.
73
- # filter_gteq - object - If set, return records where the specifiied 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 specifiied field is equal to the supplied value. Valid fields are `logged_at`.
75
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `logged_at`.
76
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `logged_at`.
71
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
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`.
75
+ # 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`.
77
77
  def self.list(params = {}, options = {})
78
78
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
79
79
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
@@ -81,6 +81,15 @@ module Files
81
81
  @attributes[:attachment_file] = value
82
82
  end
83
83
 
84
+ # boolean - If true, will delete the file stored in attachment
85
+ def attachment_delete
86
+ @attributes[:attachment_delete]
87
+ end
88
+
89
+ def attachment_delete=(value)
90
+ @attributes[:attachment_delete] = value
91
+ end
92
+
84
93
  # Parameters:
85
94
  # value - string - The value of the folder behavior. Can be a integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
86
95
  # attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
@@ -88,6 +97,7 @@ module Files
88
97
  # description - string - Description for this behavior.
89
98
  # behavior - string - Behavior type.
90
99
  # path - string - Folder behaviors path.
100
+ # attachment_delete - boolean - If true, will delete the file stored in attachment
91
101
  def update(params = {})
92
102
  params ||= {}
93
103
  params[:id] = @attributes[:id]
@@ -130,12 +140,12 @@ module Files
130
140
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
131
141
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
132
142
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
133
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
134
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
135
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
136
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
137
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `behavior`.
138
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `behavior`.
143
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
144
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
145
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
146
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
147
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
148
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
139
149
  # behavior - string - If set, only shows folder behaviors matching this behavior type.
140
150
  def self.list(params = {}, options = {})
141
151
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -178,12 +188,12 @@ module Files
178
188
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
179
189
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
180
190
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
181
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
182
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
183
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
184
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
185
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `behavior`.
186
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `behavior`.
191
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
192
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `behavior`.
193
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `behavior`.
194
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `behavior`.
195
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `behavior`.
196
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `behavior`.
187
197
  # path (required) - string - Path to operate on.
188
198
  # recursive - string - Show behaviors above this path?
189
199
  # behavior - string - DEPRECATED: If set only shows folder behaviors matching this behavior type. Use `filter[behavior]` instead.
@@ -256,6 +266,7 @@ module Files
256
266
  # description - string - Description for this behavior.
257
267
  # behavior - string - Behavior type.
258
268
  # path - string - Folder behaviors path.
269
+ # attachment_delete - boolean - If true, will delete the file stored in attachment
259
270
  def self.update(id, params = {}, options = {})
260
271
  params ||= {}
261
272
  params[:id] = id
@@ -264,7 +275,8 @@ module Files
264
275
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params.dig(:name) and !params.dig(:name).is_a?(String)
265
276
  raise InvalidParameterError.new("Bad parameter: description must be an String") if params.dig(:description) and !params.dig(:description).is_a?(String)
266
277
  raise InvalidParameterError.new("Bad parameter: behavior must be an String") if params.dig(:behavior) and !params.dig(:behavior).is_a?(String)
267
- raise InvalidParameterError.new("Bad parameter: path must be one of String, Integer, Hash") if params.dig(:path) and [ String, Integer, Hash ].none? { |klass| params.dig(:path).is_a?(klass) }
278
+ raise InvalidParameterError.new("Bad parameter: path must be an String") if params.dig(:path) and !params.dig(:path).is_a?(String)
279
+ raise InvalidParameterError.new("Bad parameter: attachment_delete must be one of String, Integer, Hash") if params.dig(:attachment_delete) and [ String, Integer, Hash ].none? { |klass| params.dig(:attachment_delete).is_a?(klass) }
268
280
  raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
269
281
 
270
282
  response, options = Api.send_request("/behaviors/#{params[:id]}", :patch, params, options)
@@ -167,6 +167,24 @@ module Files
167
167
  @attributes[:inbox_id] = value
168
168
  end
169
169
 
170
+ # Preview watermark image applied to all bundle items.
171
+ def watermark_attachment
172
+ @attributes[:watermark_attachment]
173
+ end
174
+
175
+ def watermark_attachment=(value)
176
+ @attributes[:watermark_attachment] = value
177
+ end
178
+
179
+ # object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
180
+ def watermark_value
181
+ @attributes[:watermark_value]
182
+ end
183
+
184
+ def watermark_value=(value)
185
+ @attributes[:watermark_value] = value
186
+ end
187
+
170
188
  # boolean - Does this bundle have an associated inbox?
171
189
  def has_inbox
172
190
  @attributes[:has_inbox]
@@ -203,6 +221,24 @@ module Files
203
221
  @attributes[:form_field_set_id] = value
204
222
  end
205
223
 
224
+ # file - Preview watermark image applied to all bundle items.
225
+ def watermark_attachment_file
226
+ @attributes[:watermark_attachment_file]
227
+ end
228
+
229
+ def watermark_attachment_file=(value)
230
+ @attributes[:watermark_attachment_file] = value
231
+ end
232
+
233
+ # boolean - If true, will delete the file stored in watermark_attachment
234
+ def watermark_attachment_delete
235
+ @attributes[:watermark_attachment_delete]
236
+ end
237
+
238
+ def watermark_attachment_delete=(value)
239
+ @attributes[:watermark_attachment_delete] = value
240
+ end
241
+
206
242
  # Send email(s) with a link to bundle
207
243
  #
208
244
  # Parameters:
@@ -236,6 +272,8 @@ module Files
236
272
  # preview_only - boolean - Restrict users to previewing files only?
237
273
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
238
274
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
275
+ # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
276
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
239
277
  def update(params = {})
240
278
  params ||= {}
241
279
  params[:id] = @attributes[:id]
@@ -284,12 +322,12 @@ module Files
284
322
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
285
323
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
286
324
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `code`.
287
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
288
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
289
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
290
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
291
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
292
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
325
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
326
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
327
+ # 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`.
328
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
329
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
330
+ # 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`.
293
331
  def self.list(params = {}, options = {})
294
332
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
295
333
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -342,6 +380,7 @@ module Files
342
380
  # clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
343
381
  # inbox_id - int64 - ID of the associated inbox, if available.
344
382
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
383
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
345
384
  def self.create(params = {}, options = {})
346
385
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
347
386
  raise InvalidParameterError.new("Bad parameter: paths must be an Array") if params.dig(:paths) and !params.dig(:paths).is_a?(Array)
@@ -393,6 +432,8 @@ module Files
393
432
  # preview_only - boolean - Restrict users to previewing files only?
394
433
  # require_registration - boolean - Show a registration page that captures the downloader's name and email address?
395
434
  # require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
435
+ # watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
436
+ # watermark_attachment_file - file - Preview watermark image applied to all bundle items.
396
437
  def self.update(id, params = {}, options = {})
397
438
  params ||= {}
398
439
  params[:id] = id
@@ -32,12 +32,12 @@ module Files
32
32
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
33
33
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
34
34
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
35
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
36
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
37
- # filter_gteq - object - If set, return records where the specifiied 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 specifiied field is equal to the supplied value. Valid fields are `created_at`.
39
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
40
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
35
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
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`.
39
+ # 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`.
41
41
  # bundle_id - int64 - Bundle ID
42
42
  # bundle_registration_id - int64 - BundleRegistration ID
43
43
  def self.list(params = {}, options = {})
@@ -95,12 +95,12 @@ module Files
95
95
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
96
96
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
97
97
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
98
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
99
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `has_registrations`.
100
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
102
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `has_registrations`.
103
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `has_registrations`.
98
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
99
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
100
+ # 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`.
101
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
102
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
103
+ # 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`.
104
104
  # bundle_id (required) - int64 - List recipients for the bundle with this ID.
105
105
  def self.list(params = {}, options = {})
106
106
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -49,7 +49,7 @@ module Files
49
49
  @attributes[:form_field_set_id]
50
50
  end
51
51
 
52
- # string - Data for form field set with form field ids as keys and user data as values
52
+ # object - Data for form field set with form field ids as keys and user data as values
53
53
  def form_field_data
54
54
  @attributes[:form_field_data]
55
55
  end
@@ -117,12 +117,12 @@ module Files
117
117
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
118
118
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
119
119
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `event_type`, `created_at` or `status`.
120
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
121
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
122
- # filter_gteq - object - If set, return records where the specifiied 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`.
123
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
124
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status` or `folder_behavior_id`.
125
- # filter_lteq - object - If set, return records where the specifiied 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`.
120
+ # 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`.
121
+ # 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`.
122
+ # 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`.
123
+ # 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`.
124
+ # 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`.
125
+ # 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`.
126
126
  def self.list(params = {}, options = {})
127
127
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
128
128
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
@@ -9,12 +9,12 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # string - Status of file operation. Possible values: completed, enqueued.
12
+ # string - Status of file operation.
13
13
  def status
14
14
  @attributes[:status]
15
15
  end
16
16
 
17
- # int64 - If status is enqueued, this is the id of the FileMigration to check for status updates.
17
+ # int64 - If status is pending, this is the id of the FileMigration to check for status updates.
18
18
  def file_migration_id
19
19
  @attributes[:file_migration_id]
20
20
  end
@@ -109,12 +109,12 @@ module Files
109
109
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
110
110
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
111
111
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `name`.
112
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name`.
113
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `name`.
114
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `name`.
115
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `name`.
116
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `name`.
117
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `name`.
112
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
113
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `name`.
114
+ # filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `name`.
115
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
116
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `name`.
117
+ # filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `name`.
118
118
  # ids - string - Comma-separated list of group ids to include in results.
119
119
  def self.list(params = {}, options = {})
120
120
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
@@ -176,12 +176,12 @@ module Files
176
176
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
177
177
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
178
178
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `folder`, `user_id` or `created_at`.
179
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
180
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `user_id`, `folder` or `path`.
181
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
182
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
183
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `user_id`, `folder` or `path`.
184
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
179
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`.
180
+ # 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`.
181
+ # 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`.
182
+ # 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`.
183
+ # 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`.
184
+ # 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`.
185
185
  def self.list(params = {}, options = {})
186
186
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params.dig(:start_at) and !params.dig(:start_at).is_a?(String)
187
187
  raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params.dig(:end_at) and !params.dig(:end_at).is_a?(String)
@@ -95,12 +95,12 @@ module Files
95
95
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
96
96
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
97
97
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
98
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
99
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `has_registrations`.
100
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
101
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
102
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `has_registrations`.
103
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `has_registrations`.
98
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
99
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `has_registrations`.
100
+ # 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`.
101
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
102
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `has_registrations`.
103
+ # 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`.
104
104
  # inbox_id (required) - int64 - List recipients for the inbox with this ID.
105
105
  def self.list(params = {}, options = {})
106
106
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
@@ -39,7 +39,7 @@ module Files
39
39
  @attributes[:form_field_set_id]
40
40
  end
41
41
 
42
- # string - Data for form field set with form field ids as keys and user data as values
42
+ # object - Data for form field set with form field ids as keys and user data as values
43
43
  def form_field_data
44
44
  @attributes[:form_field_data]
45
45
  end
@@ -27,12 +27,12 @@ module Files
27
27
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
28
28
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
29
29
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at`.
30
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
31
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
32
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
33
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
34
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `created_at`.
35
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `created_at`.
30
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
31
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
32
+ # 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`.
33
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
34
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
35
+ # 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`.
36
36
  # inbox_registration_id - int64 - InboxRegistration ID
37
37
  # inbox_id - int64 - Inbox ID
38
38
  def self.list(params = {}, options = {})
@@ -170,12 +170,12 @@ module Files
170
170
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
171
171
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
172
172
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `path`, `user_id` or `group_id`.
173
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
174
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `user_id`, `group_id` or `path`.
175
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
176
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
177
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `user_id`, `group_id` or `path`.
178
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `user_id`, `group_id` or `path`.
173
+ # 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`.
174
+ # 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`.
175
+ # 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`.
176
+ # 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`.
177
+ # 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`.
178
+ # 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`.
179
179
  # group_id - int64 - DEPRECATED: Show notifications for this Group ID. Use `filter[group_id]` instead.
180
180
  # path - string - Show notifications for this Path.
181
181
  # include_ancestors - boolean - If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
@@ -108,12 +108,12 @@ module Files
108
108
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
109
109
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
110
110
  # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `group_id`, `path`, `user_id` or `permission`.
111
- # filter - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
112
- # filter_gt - object - If set, return records where the specifiied field is greater than the supplied value. Valid fields are `group_id`, `user_id` or `path`.
113
- # filter_gteq - object - If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
114
- # filter_like - object - If set, return records where the specifiied field is equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
115
- # filter_lt - object - If set, return records where the specifiied field is less than the supplied value. Valid fields are `group_id`, `user_id` or `path`.
116
- # filter_lteq - object - If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `group_id`, `user_id` or `path`.
111
+ # 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`.
112
+ # 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`.
113
+ # 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`.
114
+ # 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`.
115
+ # 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`.
116
+ # 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`.
117
117
  # path - string - DEPRECATED: Permission path. If provided, will scope permissions to this path. Use `filter[path]` instead.
118
118
  # group_id - string - DEPRECATED: Group ID. If provided, will scope permissions to this group. Use `filter[group_id]` instead.`
119
119
  # user_id - string - DEPRECATED: User ID. If provided, will scope permissions to this user. Use `filter[user_id]` instead.`
@@ -33,10 +33,5 @@ module Files
33
33
  def size
34
34
  @attributes[:size]
35
35
  end
36
-
37
- # string - Preview status message. Addtional context from the preview generation process about the status
38
- def status_message
39
- @attributes[:status_message]
40
- end
41
36
  end
42
37
  end