files.com 1.1.405 → 1.1.406

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d24b1c4f137ec1948cce3c4eef7476b88998af51ac06e6e9ec0cb73209da521
4
- data.tar.gz: a1b76eaa6b830abddabc323f4792a43f38f9a55446f928cc286c1b9a64913787
3
+ metadata.gz: 17247f17984c5b6dc00200024c9209356c8142f1f63c33d6748de6935a7c246f
4
+ data.tar.gz: 41e7914bdca6eb65dab36aa54e677ea2ba796b6a5f80fef7821be0e6087a2178
5
5
  SHA512:
6
- metadata.gz: 9f88902954f9be448ce1c7245d3ddeab5923032fdc5b5bf71790c91e0db704bcee1101935f5fcb8ef9da3f8e5eb04541000c70a6cbab53f7cd5e14d763d43955
7
- data.tar.gz: 93ca08524953f3fb73f24097d0221146cf6c334f8d7bb60921584d8a5c6825b0f2f3b111fac3dca6237b611059c083407a39c46b8ca3ebe70201a77ac3921cfd
6
+ metadata.gz: cd4e6709cba4d11869715601f991fc330d8ce8bccaccdb0f422f0646a9433a1c7b0a5a1f17be62bfcfcc1524f8f3a3ead3357a240f89662174e07dbf9ca7cbdc
7
+ data.tar.gz: 14b2e4a797266814981e05bfe37bd0595f0db38c3b0b59545e465b4b672c12c17062f95276f314196e1fb04e4004439a4b829a2df8b4fd7588ceab9d2953582d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.405
1
+ 1.1.406
@@ -86,9 +86,7 @@
86
86
  ## List AS2 Incoming Messages
87
87
 
88
88
  ```
89
- Files::As2IncomingMessage.list(
90
- as2_partner_id: 1
91
- )
89
+ Files::As2IncomingMessage.list
92
90
  ```
93
91
 
94
92
  ### Parameters
@@ -96,9 +94,8 @@ Files::As2IncomingMessage.list(
96
94
  * `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.
97
95
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
98
96
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
99
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
97
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
100
98
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
101
99
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
102
100
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
103
101
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
104
- * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
@@ -78,9 +78,7 @@
78
78
  ## List AS2 Outgoing Messages
79
79
 
80
80
  ```
81
- Files::As2OutgoingMessage.list(
82
- as2_partner_id: 1
83
- )
81
+ Files::As2OutgoingMessage.list
84
82
  ```
85
83
 
86
84
  ### Parameters
@@ -88,9 +86,8 @@ Files::As2OutgoingMessage.list(
88
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.
89
87
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
90
88
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
91
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
89
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
92
90
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
93
91
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
94
92
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
95
93
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
96
- * `as2_partner_id` (int64): As2 Partner ID. If provided, will return message specific to that partner.
data/docs/as2_partner.md CHANGED
@@ -62,6 +62,8 @@ Files::As2Partner.list
62
62
 
63
63
  * `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.
64
64
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
65
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id` and `name`.
66
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
65
67
 
66
68
 
67
69
  ---
@@ -183,12 +183,11 @@ module Files
183
183
  # 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.
184
184
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
185
185
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. 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`.
186
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
187
187
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
188
188
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
189
189
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
190
190
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
191
- # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
192
191
  def self.list(params = {}, options = {})
193
192
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
194
193
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -198,7 +197,6 @@ module Files
198
197
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
199
198
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
200
199
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
201
- 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)
202
200
 
203
201
  List.new(As2IncomingMessage, params) do
204
202
  Api.send_request("/as2_incoming_messages", :get, params, options)
@@ -163,12 +163,11 @@ module Files
163
163
  # 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.
164
164
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
165
165
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
166
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
166
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]` and `[ as2_partner_id, created_at ]`.
167
167
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
168
168
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
169
169
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
170
170
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
171
- # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
172
171
  def self.list(params = {}, options = {})
173
172
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
174
173
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -178,7 +177,6 @@ module Files
178
177
  raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
179
178
  raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
180
179
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
181
- 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)
182
180
 
183
181
  List.new(As2OutgoingMessage, params) do
184
182
  Api.send_request("/as2_outgoing_messages", :get, params, options)
@@ -249,9 +249,13 @@ module Files
249
249
  # Parameters:
250
250
  # 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.
251
251
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
252
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `as2_station_id` and `name`.
253
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id`.
252
254
  def self.list(params = {}, options = {})
253
255
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
254
256
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
257
+ raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
258
+ raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
255
259
 
256
260
  List.new(As2Partner, params) do
257
261
  Api.send_request("/as2_partners", :get, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.405"
4
+ VERSION = "1.1.406"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.405
4
+ version: 1.1.406
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com