files.com 1.0.328 → 1.0.330

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) 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/as2_partner.md +11 -3
  8. data/docs/automation.md +8 -9
  9. data/docs/automation_run.md +0 -5
  10. data/docs/bandwidth_snapshot.md +2 -3
  11. data/docs/behavior.md +3 -11
  12. data/docs/bundle.md +2 -3
  13. data/docs/bundle_download.md +2 -3
  14. data/docs/bundle_notification.md +3 -1
  15. data/docs/bundle_recipient.md +0 -5
  16. data/docs/external_event.md +5 -5
  17. data/docs/group.md +1 -5
  18. data/docs/history.md +1 -5
  19. data/docs/inbox_recipient.md +0 -5
  20. data/docs/inbox_upload.md +2 -3
  21. data/docs/notification.md +3 -7
  22. data/docs/permission.md +1 -5
  23. data/docs/remote_bandwidth_snapshot.md +2 -3
  24. data/docs/settings_change.md +4 -6
  25. data/docs/usage_daily_snapshot.md +4 -5
  26. data/docs/user.md +5 -5
  27. data/lib/files.com/errors.rb +1 -0
  28. data/lib/files.com/models/api_key.rb +2 -4
  29. data/lib/files.com/models/app.rb +2 -10
  30. data/lib/files.com/models/as2_incoming_message.rb +2 -4
  31. data/lib/files.com/models/as2_outgoing_message.rb +2 -4
  32. data/lib/files.com/models/as2_partner.rb +12 -0
  33. data/lib/files.com/models/automation.rb +7 -9
  34. data/lib/files.com/models/automation_run.rb +0 -10
  35. data/lib/files.com/models/bandwidth_snapshot.rb +2 -4
  36. data/lib/files.com/models/behavior.rb +6 -22
  37. data/lib/files.com/models/bundle.rb +2 -4
  38. data/lib/files.com/models/bundle_download.rb +2 -4
  39. data/lib/files.com/models/bundle_notification.rb +6 -2
  40. data/lib/files.com/models/bundle_recipient.rb +0 -10
  41. data/lib/files.com/models/external_event.rb +6 -6
  42. data/lib/files.com/models/group.rb +2 -10
  43. data/lib/files.com/models/history.rb +2 -10
  44. data/lib/files.com/models/inbox_recipient.rb +0 -10
  45. data/lib/files.com/models/inbox_upload.rb +2 -4
  46. data/lib/files.com/models/notification.rb +5 -13
  47. data/lib/files.com/models/permission.rb +2 -10
  48. data/lib/files.com/models/remote_bandwidth_snapshot.rb +2 -4
  49. data/lib/files.com/models/settings_change.rb +4 -10
  50. data/lib/files.com/models/usage_daily_snapshot.rb +4 -6
  51. data/lib/files.com/models/user.rb +6 -6
  52. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46531dedd8ba834b387fb9c1d3c5ed556704b5979a16423a87960ff2c9a50385
4
- data.tar.gz: e446c914bcb7f7a2075f2806fb4460f1b30fd4514e8ea8f0dc687bc6e3412d46
3
+ metadata.gz: 50f2f62972d81d98a1f8c879bb98c00935b1c4d567204bd8c41d60d756fc2528
4
+ data.tar.gz: 3cfd3870990ab9187f16e3d2de978731f861a19323a7f29d8984dd761b72db29
5
5
  SHA512:
6
- metadata.gz: 9b165ae1cfeee1c19b6c1fe3e53db7e36339ace322026cc928cad8c62ae5486025f5058554b2ba6e575a7ff301a4f5262869449ccb01e8b42862375d523eb962
7
- data.tar.gz: 4b66a5a040eb18c220a7813fdb9e208537bb68f9689e23fe5f69c5c8683e6b6c4ed583506295535b1d2c766070006f3ee8b5352bffd03718c8cec40d2313e23e
6
+ metadata.gz: 2c1a15034f1d723dce4e7d0a608af08ca0d91d72b0616f3cee6f17c2f30c75227be926fee94cc18100634f9c17c55da2d6784a2bd760d96e0811d7da7e37ec9d
7
+ data.tar.gz: d3a2b11e223d15e5709efd015e7a4c5f5386be6fe5e309d61c3d9837a4c3269ec433aeef7104c2e08b8999f98e68546b85e3c2afb14df8a2d51d93b455b592f7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.328
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/as2_partner.md CHANGED
@@ -9,6 +9,7 @@
9
9
  "name": "AS2 Partner Name",
10
10
  "uri": "example",
11
11
  "server_certificate": "require_match",
12
+ "enable_dedicated_ips": true,
12
13
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
13
14
  "public_certificate_md5": "example",
14
15
  "public_certificate_subject": "example",
@@ -24,6 +25,7 @@
24
25
  * `name` (string): The partner's formal AS2 name.
25
26
  * `uri` (string): Public URI for sending AS2 message to.
26
27
  * `server_certificate` (string): Remote server certificate security setting
28
+ * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
27
29
  * `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
28
30
  * `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
29
31
  * `public_certificate_subject` (string): Subject of public certificate used for message security.
@@ -73,7 +75,8 @@ Files::As2Partner.create(
73
75
  uri: "uri",
74
76
  public_certificate: "public_certificate",
75
77
  as2_station_id: 1,
76
- server_certificate: "require_match"
78
+ server_certificate: "require_match",
79
+ enable_dedicated_ips: true
77
80
  )
78
81
  ```
79
82
 
@@ -84,6 +87,7 @@ Files::As2Partner.create(
84
87
  * `public_certificate` (string): Required -
85
88
  * `as2_station_id` (int64): Required - Id of As2Station for this partner
86
89
  * `server_certificate` (string): Remote server certificate security setting
90
+ * `enable_dedicated_ips` (boolean):
87
91
 
88
92
 
89
93
  ---
@@ -94,7 +98,8 @@ Files::As2Partner.create(
94
98
  Files::As2Partner.update(id,
95
99
  name: "AS2 Partner Name",
96
100
  uri: "example",
97
- server_certificate: "require_match"
101
+ server_certificate: "require_match",
102
+ enable_dedicated_ips: true
98
103
  )
99
104
  ```
100
105
 
@@ -105,6 +110,7 @@ Files::As2Partner.update(id,
105
110
  * `uri` (string): URL base for AS2 responses
106
111
  * `server_certificate` (string): Remote server certificate security setting
107
112
  * `public_certificate` (string):
113
+ * `enable_dedicated_ips` (boolean):
108
114
 
109
115
 
110
116
  ---
@@ -130,7 +136,8 @@ as2_partner = Files::As2Partner.list.first
130
136
  as2_partner.update(
131
137
  name: "AS2 Partner Name",
132
138
  uri: "example",
133
- server_certificate: "require_match"
139
+ server_certificate: "require_match",
140
+ enable_dedicated_ips: true
134
141
  )
135
142
  ```
136
143
 
@@ -141,6 +148,7 @@ as2_partner.update(
141
148
  * `uri` (string): URL base for AS2 responses
142
149
  * `server_certificate` (string): Remote server certificate security setting
143
150
  * `public_certificate` (string):
151
+ * `enable_dedicated_ips` (boolean):
144
152
 
145
153
 
146
154
  ---
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)