files.com 1.1.800 → 1.1.801
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 +4 -4
- data/_VERSION +1 -1
- data/docs/as2_incoming_message.md +15 -2
- data/lib/files.com/models/as2_incoming_message.rb +22 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1c87d4e516aa3589dc5273186b088dad8a25acecbbd6b84a4929a0afb482e62
|
|
4
|
+
data.tar.gz: 406cac39656e4fc8b91ecf80835b534fc3490ddc9464cb67a2de973693fbf905
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 434989dfad4771c8553eddcdbfb247d838264c3cabfc143e240cff900c7adab93bbb662d624da2342413d8e71e69519f352237eaef79a1963a48af676f2bf848
|
|
7
|
+
data.tar.gz: c19133619f3568f39fe6df01161ad3209f9399d85750b9a6a8fb56473f48fcf5775d75502d879cde007d365673ff942f0f21fa3cc77b58b96af92c77384fe757
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.801
|
|
@@ -98,13 +98,26 @@ Files::As2IncomingMessage.list
|
|
|
98
98
|
* `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.
|
|
99
99
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
100
100
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
101
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
101
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id`, `replayed_from_message_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ replayed_from_message_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, replayed_from_message_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]`, `[ workspace_id, replayed_from_message_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
102
102
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
103
103
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
104
104
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
105
105
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
106
106
|
|
|
107
107
|
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Show AS2 Incoming Message
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
Files::As2IncomingMessage.find(id)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Parameters
|
|
117
|
+
|
|
118
|
+
* `id` (int64): Required - As2 Incoming Message ID.
|
|
119
|
+
|
|
120
|
+
|
|
108
121
|
---
|
|
109
122
|
|
|
110
123
|
## Replay AS2 Incoming Message
|
|
@@ -123,7 +136,7 @@ Files::As2IncomingMessage.replay(id)
|
|
|
123
136
|
## Replay AS2 Incoming Message
|
|
124
137
|
|
|
125
138
|
```
|
|
126
|
-
as2_incoming_message = Files::As2IncomingMessage.
|
|
139
|
+
as2_incoming_message = Files::As2IncomingMessage.find(id)
|
|
127
140
|
|
|
128
141
|
as2_incoming_message.replay
|
|
129
142
|
```
|
|
@@ -208,7 +208,7 @@ module Files
|
|
|
208
208
|
# 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.
|
|
209
209
|
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
210
210
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
|
|
211
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
211
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id`, `replayed_from_message_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ replayed_from_message_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, replayed_from_message_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]`, `[ workspace_id, replayed_from_message_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
|
|
212
212
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
213
213
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
214
214
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
@@ -240,6 +240,27 @@ module Files
|
|
|
240
240
|
list(params, options)
|
|
241
241
|
end
|
|
242
242
|
|
|
243
|
+
# Parameters:
|
|
244
|
+
# id (required) - int64 - As2 Incoming Message ID.
|
|
245
|
+
#
|
|
246
|
+
# params:: Hash of API operation parameter values.
|
|
247
|
+
# options:: Hash of optional request configuration passed to Files::Api.send_request.
|
|
248
|
+
#
|
|
249
|
+
# Returns a Files::As2IncomingMessage.
|
|
250
|
+
def self.find(id, params = {}, options = {})
|
|
251
|
+
params = (params || {}).dup
|
|
252
|
+
params[:id] = id
|
|
253
|
+
raise InvalidParameterError.new("Bad parameter: id must be an Integer") if !params[:id].nil? and !params[:id].is_a?(Integer)
|
|
254
|
+
raise MissingParameterError.new("Parameter missing: id") if params[:id].nil?
|
|
255
|
+
|
|
256
|
+
response, options = Api.send_request("/as2_incoming_messages/#{params[:id]}", :get, params, options) { |reply| reply.require_object("As2IncomingMessage") }
|
|
257
|
+
As2IncomingMessage.new(response.data, options)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
def self.get(id, params = {}, options = {})
|
|
261
|
+
find(id, params, options)
|
|
262
|
+
end
|
|
263
|
+
|
|
243
264
|
# Replay AS2 Incoming Message
|
|
244
265
|
#
|
|
245
266
|
# params:: Hash of API operation parameter values.
|