files.com 1.0.329 → 1.0.331
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/api_key.md +2 -3
- data/docs/app.md +1 -5
- data/docs/as2_incoming_message.md +2 -3
- data/docs/as2_outgoing_message.md +2 -3
- data/docs/automation.md +8 -9
- data/docs/automation_run.md +0 -5
- data/docs/bandwidth_snapshot.md +2 -3
- data/docs/behavior.md +3 -11
- data/docs/bundle.md +2 -3
- data/docs/bundle_download.md +2 -3
- data/docs/bundle_notification.md +3 -1
- data/docs/bundle_recipient.md +0 -5
- data/docs/external_event.md +5 -5
- data/docs/file_upload_part.md +2 -0
- data/docs/group.md +1 -5
- data/docs/history.md +1 -5
- data/docs/inbox_recipient.md +0 -10
- data/docs/inbox_upload.md +2 -3
- data/docs/notification.md +3 -7
- data/docs/permission.md +1 -5
- data/docs/remote_bandwidth_snapshot.md +2 -3
- data/docs/settings_change.md +4 -6
- data/docs/usage_daily_snapshot.md +4 -5
- data/docs/user.md +5 -5
- data/lib/files.com/errors.rb +1 -0
- data/lib/files.com/models/api_key.rb +2 -4
- data/lib/files.com/models/app.rb +2 -10
- data/lib/files.com/models/as2_incoming_message.rb +2 -4
- data/lib/files.com/models/as2_outgoing_message.rb +2 -4
- data/lib/files.com/models/automation.rb +7 -9
- data/lib/files.com/models/automation_run.rb +0 -10
- data/lib/files.com/models/bandwidth_snapshot.rb +2 -4
- data/lib/files.com/models/behavior.rb +6 -22
- data/lib/files.com/models/bundle.rb +2 -4
- data/lib/files.com/models/bundle_download.rb +2 -4
- data/lib/files.com/models/bundle_notification.rb +6 -2
- data/lib/files.com/models/bundle_recipient.rb +0 -10
- data/lib/files.com/models/external_event.rb +6 -6
- data/lib/files.com/models/file_upload_part.rb +5 -0
- data/lib/files.com/models/group.rb +2 -10
- data/lib/files.com/models/history.rb +2 -10
- data/lib/files.com/models/inbox_recipient.rb +0 -23
- data/lib/files.com/models/inbox_upload.rb +2 -4
- data/lib/files.com/models/notification.rb +5 -13
- data/lib/files.com/models/permission.rb +2 -10
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +2 -4
- data/lib/files.com/models/settings_change.rb +4 -10
- data/lib/files.com/models/usage_daily_snapshot.rb +4 -6
- data/lib/files.com/models/user.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14222b37137fc5a7dbd47f3ae067b97f9dc26eadf43362675c919af12f9e3046
|
4
|
+
data.tar.gz: fed625035ea60ba05ebeecb5da4b75abef6b0b6a7e01ccdb5b78e6e03b38e652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2df3ef6c1d9307110d0004e2d538d92b683e1d51b27a69e1f77c1708410caec422e3526212b223a3aacc40c19a1b61d5d7f5033efb64e36b26119eb594ffbf4
|
7
|
+
data.tar.gz: 3a3c3f852739c6d0a23c9426a9eb256665eac8cfa9331ec5e3bbbea5302415b853b1cc9334bb79a3c2ab047fb5b1e9f88933822e9bb8d0123b54a4bf428993e7
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.331
|
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
|
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
|
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
|
-
* `
|
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
|
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
|
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
|
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
|
98
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
100
99
|
* `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
|
data/docs/automation.md
CHANGED
@@ -76,8 +76,8 @@
|
|
76
76
|
```
|
77
77
|
Files::Automation.list(
|
78
78
|
per_page: 1,
|
79
|
-
|
80
|
-
|
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
|
-
* `
|
90
|
-
* `
|
91
|
-
* `
|
92
|
-
* `
|
93
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `
|
94
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal
|
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
|
---
|
data/docs/automation_run.md
CHANGED
@@ -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
|
|
data/docs/bandwidth_snapshot.md
CHANGED
@@ -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
|
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
|
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
|
-
* `
|
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
|
-
* `
|
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
|
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
|
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
|
---
|
data/docs/bundle_download.md
CHANGED
@@ -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
|
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
|
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
|
data/docs/bundle_notification.md
CHANGED
@@ -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
|
-
* `
|
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
|
---
|
data/docs/bundle_recipient.md
CHANGED
@@ -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
|
|
data/docs/external_event.md
CHANGED
@@ -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
|
51
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal
|
52
|
-
* `
|
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
|
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/file_upload_part.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
"http_method": "PUT",
|
18
18
|
"next_partsize": 1,
|
19
19
|
"parallel_parts": true,
|
20
|
+
"retry_parts": true,
|
20
21
|
"parameters": {
|
21
22
|
"key": "example value"
|
22
23
|
},
|
@@ -37,6 +38,7 @@
|
|
37
38
|
* `http_method` (string): HTTP Method to use for uploading the part, usually `PUT`
|
38
39
|
* `next_partsize` (int64): Size in bytes for this part
|
39
40
|
* `parallel_parts` (boolean): If `true`, multiple parts may be uploaded in parallel. If `false`, be sure to only upload one part at a time, in order.
|
41
|
+
* `retry_parts` (boolean): If `true`, parts may be retried. If `false`, a part cannot be retried and the upload should be restarted.
|
40
42
|
* `parameters` (object): Additional HTTP parameters to send with the upload
|
41
43
|
* `part_number` (int64): Number of this upload part
|
42
44
|
* `partsize` (int64): Size in bytes for the next upload part
|
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
|
-
* `
|
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
|
-
* `
|
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`.
|
data/docs/inbox_recipient.md
CHANGED
@@ -17,7 +17,6 @@
|
|
17
17
|
* `note` (string): A note sent to the recipient with the inbox.
|
18
18
|
* `recipient` (string): The recipient's email address.
|
19
19
|
* `sent_at` (date-time): When the Inbox was shared with this recipient.
|
20
|
-
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
21
20
|
* `inbox_id` (int64): Inbox to share.
|
22
21
|
* `share_after_create` (boolean): Set to true to share the link with the recipient upon creation.
|
23
22
|
|
@@ -28,7 +27,6 @@
|
|
28
27
|
|
29
28
|
```
|
30
29
|
Files::InboxRecipient.list(
|
31
|
-
user_id: 1,
|
32
30
|
per_page: 1,
|
33
31
|
inbox_id: 1
|
34
32
|
)
|
@@ -36,16 +34,10 @@ Files::InboxRecipient.list(
|
|
36
34
|
|
37
35
|
### Parameters
|
38
36
|
|
39
|
-
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
40
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.
|
41
38
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
39
|
* `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
40
|
* `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
41
|
* `inbox_id` (int64): Required - List recipients for the inbox with this ID.
|
50
42
|
|
51
43
|
|
@@ -55,7 +47,6 @@ Files::InboxRecipient.list(
|
|
55
47
|
|
56
48
|
```
|
57
49
|
Files::InboxRecipient.create(
|
58
|
-
user_id: 1,
|
59
50
|
inbox_id: 1,
|
60
51
|
recipient: "johndoe@gmail.com",
|
61
52
|
name: "John Smith",
|
@@ -67,7 +58,6 @@ Files::InboxRecipient.create(
|
|
67
58
|
|
68
59
|
### Parameters
|
69
60
|
|
70
|
-
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
71
61
|
* `inbox_id` (int64): Required - Inbox to share.
|
72
62
|
* `recipient` (string): Required - Email address to share this inbox with.
|
73
63
|
* `name` (string): Name of recipient.
|
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
|
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
|
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
|
-
* `
|
83
|
-
* `
|
84
|
-
* `
|
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
|
-
* `
|
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
|
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
|
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`.
|
data/docs/settings_change.md
CHANGED
@@ -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
|
53
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal
|
54
|
-
* `
|
55
|
-
* `
|
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 `
|
159
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal
|
160
|
-
* `
|
161
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `
|
162
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal
|
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.
|
data/lib/files.com/errors.rb
CHANGED
@@ -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
|
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
|
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
|
|
data/lib/files.com/models/app.rb
CHANGED
@@ -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
|
-
#
|
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:
|
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
|
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
|
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
|
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
|
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)
|