files.com 1.0.261 → 1.0.262

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1dc3cd0d3d0a6dda0844ff67fee98ba92a627b1455e2921cdc80affc6b573cf
4
- data.tar.gz: 29483fba0113db59f03ccdbbcd5800342d2c090592915839d8332d4c8689616b
3
+ metadata.gz: f4f6ab56e4015c5b9666c3ed15e07ef511d6502d308d9105001992ffcad820f0
4
+ data.tar.gz: 40aac200d2f0d37df064e28883cd65e7927f9887a1611d76e1c80e9f5c55bfba
5
5
  SHA512:
6
- metadata.gz: c5264ac1a65a7bb9e0df48486cff95b2fa7beac51299f7a100328c5a9240f4c0c320e3b0d68116dbd3cf56102fd3b1896623105b5ad15d2b20cd0193e3453c52
7
- data.tar.gz: 125af09d7850f5bb1300e1e4d97d7ca5c8e8ca9ec8e125d8f671ae621d7b91f6b40724af8938b7e59a5498dda48e8f3c3420426583a91b38ba11232307ae8414
6
+ metadata.gz: 2a3663323fea63e3f354905571362f9205072d948f7fd4bdb85730f6dbd083a57ef7478ad3e83e53f7b7f48876e4e9a7376fa6f495a3968305f1eac7218c244e
7
+ data.tar.gz: e2e94f372c2f28c56d6147ac53cdf191e5f7a6946c0ba07170b6c4b98b3c53daea45118c0c3064041d789f226c4559828352ee11a9e1e6eac6df5f0fdc2cff06
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.261
1
+ 1.0.262
@@ -92,4 +92,11 @@ Files::As2IncomingMessage.list(
92
92
 
93
93
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
94
94
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
95
+ * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
96
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
97
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
98
+ * `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`.
99
+ * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
100
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
101
+ * `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`.
95
102
  * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
@@ -82,4 +82,11 @@ Files::As2OutgoingMessage.list(
82
82
 
83
83
  * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
84
84
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
85
+ * `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
86
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
87
+ * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
88
+ * `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`.
89
+ * `filter_like` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
90
+ * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
91
+ * `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`.
85
92
  * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
@@ -182,10 +182,24 @@ module Files
182
182
  # Parameters:
183
183
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
184
184
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
185
+ # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
186
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
187
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
188
+ # 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`.
189
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
190
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
191
+ # 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`.
185
192
  # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
186
193
  def self.list(params = {}, options = {})
187
194
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
188
195
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
196
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
197
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
198
+ raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
199
+ raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
200
+ raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
201
+ raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
202
+ raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
189
203
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params.dig(:as2_partner_id) and !params.dig(:as2_partner_id).is_a?(Integer)
190
204
 
191
205
  List.new(As2IncomingMessage, params) do
@@ -157,10 +157,24 @@ module Files
157
157
  # Parameters:
158
158
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
159
159
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
160
+ # sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
161
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
162
+ # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
163
+ # 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`.
164
+ # filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
165
+ # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
166
+ # 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`.
160
167
  # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
161
168
  def self.list(params = {}, options = {})
162
169
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params.dig(:cursor) and !params.dig(:cursor).is_a?(String)
163
170
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params.dig(:per_page) and !params.dig(:per_page).is_a?(Integer)
171
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params.dig(:sort_by) and !params.dig(:sort_by).is_a?(Hash)
172
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params.dig(:filter) and !params.dig(:filter).is_a?(Hash)
173
+ raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params.dig(:filter_gt) and !params.dig(:filter_gt).is_a?(Hash)
174
+ raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params.dig(:filter_gteq) and !params.dig(:filter_gteq).is_a?(Hash)
175
+ raise InvalidParameterError.new("Bad parameter: filter_like must be an Hash") if params.dig(:filter_like) and !params.dig(:filter_like).is_a?(Hash)
176
+ raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params.dig(:filter_lt) and !params.dig(:filter_lt).is_a?(Hash)
177
+ raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params.dig(:filter_lteq) and !params.dig(:filter_lteq).is_a?(Hash)
164
178
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params.dig(:as2_partner_id) and !params.dig(:as2_partner_id).is_a?(Integer)
165
179
 
166
180
  List.new(As2OutgoingMessage, params) do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.261
4
+ version: 1.0.262
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-19 00:00:00.000000000 Z
11
+ date: 2022-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable