files.com 1.1.168 → 1.1.169

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: 244ffe1d6792c4e56c3e2d9d3eeb0258ec4639f0170e1113d3515bf75f9d3ece
4
- data.tar.gz: c05fc3f129f405b0604c873978fca9f529f3483b90f59c3a84766763f320bd3a
3
+ metadata.gz: 236d539fb289c841bdb8d7b5be8ba1f2fc131dd083191af9409c4feb0c1876e2
4
+ data.tar.gz: e0fa051fe2ac00015f90ee93383eb9feb5a07a3fecafcb8f21f6a1e7027fc19c
5
5
  SHA512:
6
- metadata.gz: d4b269dce0476c7334893f8b8a32c86790cda599b25eee5dd501fca4e81276f5423ca9f731cfb7fc8fd1ed519ab2ab9929d1c847ef5c953e5f22b478624f0a47
7
- data.tar.gz: a330c1f1fcdccad1523ce93e99e01b89162bb79ebf9916dd1f2b84b7b5c29ee73a8e27174e821632970ae345a3d401d2dce809d617018323c76dd34b5a83969c
6
+ metadata.gz: 3277aaa1929bd664c3f1f6d562b6300680c31680607dafef8ad8413784a2c7dd29ad880b2aab76fac05434442d5d9f29e775d6e23dafb54a1c056f0ef7750549
7
+ data.tar.gz: fd9b408cf9615a011ed485e51e80449636e9b2540dbce2e9cbfba5ba64efba221ad915b37a96005cd2956b7f0261b1ba2db6958f9d9f978405ab7dcf86d30511
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.168
1
+ 1.1.169
data/docs/as2_partner.md CHANGED
@@ -10,6 +10,10 @@
10
10
  "uri": "example",
11
11
  "server_certificate": "require_match",
12
12
  "http_auth_username": "username",
13
+ "additional_http_headers": {
14
+ "key": "example value"
15
+ },
16
+ "default_mime_type": "application/octet-stream",
13
17
  "mdn_validation_level": "none",
14
18
  "enable_dedicated_ips": true,
15
19
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
@@ -28,8 +32,10 @@
28
32
  * `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
29
33
  * `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
30
34
  * `http_auth_username` (string): Username to send to server for HTTP Authentication.
35
+ * `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
36
+ * `default_mime_type` (string): Default mime type of the file attached to the encrypted message
31
37
  * `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
32
- * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
38
+ * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
33
39
  * `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
34
40
  * `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
35
41
  * `public_certificate_subject` (string): Subject of public certificate used for message security.
@@ -78,6 +84,8 @@ Files::As2Partner.create(
78
84
  http_auth_username: "username",
79
85
  mdn_validation_level: "none",
80
86
  server_certificate: "require_match",
87
+ default_mime_type: "application/octet-stream",
88
+ additional_http_headers: {"key":"example value"},
81
89
  as2_station_id: 1,
82
90
  name: "AS2 Partner Name",
83
91
  uri: "example",
@@ -87,11 +95,13 @@ Files::As2Partner.create(
87
95
 
88
96
  ### Parameters
89
97
 
90
- * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
98
+ * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
91
99
  * `http_auth_username` (string): Username to send to server for HTTP Authentication.
92
100
  * `http_auth_password` (string): Password to send to server for HTTP Authentication.
93
101
  * `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
94
102
  * `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
103
+ * `default_mime_type` (string): Default mime type of the file attached to the encrypted message
104
+ * `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
95
105
  * `as2_station_id` (int64): Required - ID of the AS2 Station associated with this partner.
96
106
  * `name` (string): Required - The partner's formal AS2 name.
97
107
  * `uri` (string): Required - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
@@ -108,6 +118,8 @@ Files::As2Partner.update(id,
108
118
  http_auth_username: "username",
109
119
  mdn_validation_level: "none",
110
120
  server_certificate: "require_match",
121
+ default_mime_type: "application/octet-stream",
122
+ additional_http_headers: {"key":"example value"},
111
123
  name: "AS2 Partner Name",
112
124
  uri: "example"
113
125
  )
@@ -116,11 +128,13 @@ Files::As2Partner.update(id,
116
128
  ### Parameters
117
129
 
118
130
  * `id` (int64): Required - As2 Partner ID.
119
- * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
131
+ * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
120
132
  * `http_auth_username` (string): Username to send to server for HTTP Authentication.
121
133
  * `http_auth_password` (string): Password to send to server for HTTP Authentication.
122
134
  * `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
123
135
  * `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
136
+ * `default_mime_type` (string): Default mime type of the file attached to the encrypted message
137
+ * `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
124
138
  * `name` (string): The partner's formal AS2 name.
125
139
  * `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
126
140
  * `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
@@ -151,6 +165,8 @@ as2_partner.update(
151
165
  http_auth_username: "username",
152
166
  mdn_validation_level: "none",
153
167
  server_certificate: "require_match",
168
+ default_mime_type: "application/octet-stream",
169
+ additional_http_headers: {"key":"example value"},
154
170
  name: "AS2 Partner Name",
155
171
  uri: "example"
156
172
  )
@@ -159,11 +175,13 @@ as2_partner.update(
159
175
  ### Parameters
160
176
 
161
177
  * `id` (int64): Required - As2 Partner ID.
162
- * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
178
+ * `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
163
179
  * `http_auth_username` (string): Username to send to server for HTTP Authentication.
164
180
  * `http_auth_password` (string): Password to send to server for HTTP Authentication.
165
181
  * `mdn_validation_level` (string): How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
166
182
  * `server_certificate` (string): Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
183
+ * `default_mime_type` (string): Default mime type of the file attached to the encrypted message
184
+ * `additional_http_headers` (object): Additional HTTP Headers for outgoing message sent to this partner.
167
185
  * `name` (string): The partner's formal AS2 name.
168
186
  * `uri` (string): Public URI where we will send the AS2 messages (via HTTP/HTTPS).
169
187
  * `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
@@ -22,6 +22,7 @@
22
22
  "bundle_recipient_id": 1,
23
23
  "created_at": "2000-01-01T01:00:00Z"
24
24
  },
25
+ "created_at": "2000-01-01T01:00:00Z",
25
26
  "when": "2000-01-01T01:00:00Z",
26
27
  "destination": "/to_path",
27
28
  "path": "",
@@ -31,6 +32,7 @@
31
32
 
32
33
  * `action` (string): Type of action
33
34
  * `bundle_registration` (BundleRegistration): Object that contains bundle registration information
35
+ * `created_at` (date-time): Action occurrence date/time
34
36
  * `when` (date-time): Action occurrence date/time
35
37
  * `destination` (string): The destination path for this bundle action, if applicable
36
38
  * `path` (string): Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
@@ -63,6 +63,24 @@ module Files
63
63
  @attributes[:http_auth_username] = value
64
64
  end
65
65
 
66
+ # object - Additional HTTP Headers for outgoing message sent to this partner.
67
+ def additional_http_headers
68
+ @attributes[:additional_http_headers]
69
+ end
70
+
71
+ def additional_http_headers=(value)
72
+ @attributes[:additional_http_headers] = value
73
+ end
74
+
75
+ # string - Default mime type of the file attached to the encrypted message
76
+ def default_mime_type
77
+ @attributes[:default_mime_type]
78
+ end
79
+
80
+ def default_mime_type=(value)
81
+ @attributes[:default_mime_type] = value
82
+ end
83
+
66
84
  # string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
67
85
  def mdn_validation_level
68
86
  @attributes[:mdn_validation_level]
@@ -72,7 +90,7 @@ module Files
72
90
  @attributes[:mdn_validation_level] = value
73
91
  end
74
92
 
75
- # boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
93
+ # boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
76
94
  def enable_dedicated_ips
77
95
  @attributes[:enable_dedicated_ips]
78
96
  end
@@ -163,11 +181,13 @@ module Files
163
181
  end
164
182
 
165
183
  # Parameters:
166
- # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
184
+ # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
167
185
  # http_auth_username - string - Username to send to server for HTTP Authentication.
168
186
  # http_auth_password - string - Password to send to server for HTTP Authentication.
169
187
  # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
170
188
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
189
+ # default_mime_type - string - Default mime type of the file attached to the encrypted message
190
+ # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
171
191
  # name - string - The partner's formal AS2 name.
172
192
  # uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
173
193
  # public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
@@ -180,6 +200,7 @@ module Files
180
200
  raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
181
201
  raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
182
202
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
203
+ raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
183
204
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
184
205
  raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
185
206
  raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
@@ -247,11 +268,13 @@ module Files
247
268
  end
248
269
 
249
270
  # Parameters:
250
- # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
271
+ # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
251
272
  # http_auth_username - string - Username to send to server for HTTP Authentication.
252
273
  # http_auth_password - string - Password to send to server for HTTP Authentication.
253
274
  # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
254
275
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
276
+ # default_mime_type - string - Default mime type of the file attached to the encrypted message
277
+ # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
255
278
  # as2_station_id (required) - int64 - ID of the AS2 Station associated with this partner.
256
279
  # name (required) - string - The partner's formal AS2 name.
257
280
  # uri (required) - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
@@ -261,6 +284,8 @@ module Files
261
284
  raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
262
285
  raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
263
286
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
287
+ raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
288
+ raise InvalidParameterError.new("Bad parameter: additional_http_headers must be an Hash") if params[:additional_http_headers] and !params[:additional_http_headers].is_a?(Hash)
264
289
  raise InvalidParameterError.new("Bad parameter: as2_station_id must be an Integer") if params[:as2_station_id] and !params[:as2_station_id].is_a?(Integer)
265
290
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
266
291
  raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
@@ -275,11 +300,13 @@ module Files
275
300
  end
276
301
 
277
302
  # Parameters:
278
- # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 PArtner.
303
+ # enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
279
304
  # http_auth_username - string - Username to send to server for HTTP Authentication.
280
305
  # http_auth_password - string - Password to send to server for HTTP Authentication.
281
306
  # mdn_validation_level - string - How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates.
282
307
  # server_certificate - string - Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS?
308
+ # default_mime_type - string - Default mime type of the file attached to the encrypted message
309
+ # additional_http_headers - object - Additional HTTP Headers for outgoing message sent to this partner.
283
310
  # name - string - The partner's formal AS2 name.
284
311
  # uri - string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
285
312
  # public_certificate - string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
@@ -291,6 +318,8 @@ module Files
291
318
  raise InvalidParameterError.new("Bad parameter: http_auth_password must be an String") if params[:http_auth_password] and !params[:http_auth_password].is_a?(String)
292
319
  raise InvalidParameterError.new("Bad parameter: mdn_validation_level must be an String") if params[:mdn_validation_level] and !params[:mdn_validation_level].is_a?(String)
293
320
  raise InvalidParameterError.new("Bad parameter: server_certificate must be an String") if params[:server_certificate] and !params[:server_certificate].is_a?(String)
321
+ raise InvalidParameterError.new("Bad parameter: default_mime_type must be an String") if params[:default_mime_type] and !params[:default_mime_type].is_a?(String)
322
+ raise InvalidParameterError.new("Bad parameter: additional_http_headers must be an Hash") if params[:additional_http_headers] and !params[:additional_http_headers].is_a?(Hash)
294
323
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
295
324
  raise InvalidParameterError.new("Bad parameter: uri must be an String") if params[:uri] and !params[:uri].is_a?(String)
296
325
  raise InvalidParameterError.new("Bad parameter: public_certificate must be an String") if params[:public_certificate] and !params[:public_certificate].is_a?(String)
@@ -19,6 +19,11 @@ module Files
19
19
  @attributes[:bundle_registration]
20
20
  end
21
21
 
22
+ # date-time - Action occurrence date/time
23
+ def created_at
24
+ @attributes[:created_at]
25
+ end
26
+
22
27
  # date-time - Action occurrence date/time
23
28
  def when
24
29
  @attributes[:when]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.168"
4
+ VERSION = "1.1.169"
5
5
  end
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.1.168
4
+ version: 1.1.169
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable