files.com 1.0.254 → 1.0.257
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 +33 -1
- data/docs/as2_outgoing_message.md +36 -2
- data/docs/as2_partner.md +2 -0
- data/docs/as2_station.md +2 -0
- data/docs/automation.md +8 -0
- data/docs/bundle.md +19 -1
- data/lib/files.com/models/as2_incoming_message.rb +80 -0
- data/lib/files.com/models/as2_outgoing_message.rb +86 -1
- data/lib/files.com/models/as2_partner.rb +9 -0
- data/lib/files.com/models/as2_station.rb +9 -0
- data/lib/files.com/models/automation.rb +12 -0
- data/lib/files.com/models/bundle.rb +9 -0
- 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: 32640bbe2bb21cc9636ff18287956c9393e402edb8353eca80e4f59301d833f8
|
|
4
|
+
data.tar.gz: 9cb6dd1d3c8cd1ac6c5305d423d5988f60250cc2a099096befa6584b3ec1fb3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9fec2e59687bfa91484e45a98a1111dcde6d3240d424c9ed2f5c3d9ade23c01a96c64e11601fe1c3af18059b4540300d74b8919cae3472d7cf16e774b0befdf2
|
|
7
|
+
data.tar.gz: be174255d64d8f04c692f5de596cff8dfcad45d785c185c289102c3be022b9b58cac7ef5fce025b9c3d0ad2422c77681c186a291a99797ab017ec093944d5e7a
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.257
|
|
@@ -6,35 +6,67 @@
|
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
8
|
"as2_partner_id": 1,
|
|
9
|
+
"as2_station_id": 1,
|
|
9
10
|
"uuid": "",
|
|
10
11
|
"content_type": "",
|
|
11
12
|
"http_headers": "",
|
|
12
13
|
"activity_log": "",
|
|
13
14
|
"processing_result": "",
|
|
15
|
+
"mic": "",
|
|
16
|
+
"mic_algo": "",
|
|
14
17
|
"as2_to": "",
|
|
15
18
|
"as2_from": "",
|
|
16
19
|
"message_id": "",
|
|
17
20
|
"subject": "",
|
|
18
21
|
"body_size": "",
|
|
19
22
|
"attachment_filename": "",
|
|
20
|
-
"
|
|
23
|
+
"ip": "",
|
|
24
|
+
"created_at": "2000-01-01T01:00:00Z",
|
|
25
|
+
"http_response_code": "",
|
|
26
|
+
"http_response_headers": "",
|
|
27
|
+
"message_received": true,
|
|
28
|
+
"message_decrypted": true,
|
|
29
|
+
"message_signature_verified": true,
|
|
30
|
+
"message_processing_success": true,
|
|
31
|
+
"message_mdn_returned": true,
|
|
32
|
+
"encrypted_uri": "",
|
|
33
|
+
"smime_signed_uri": "",
|
|
34
|
+
"smime_uri": "",
|
|
35
|
+
"raw_uri": "",
|
|
36
|
+
"mdn_response_uri": ""
|
|
21
37
|
}
|
|
22
38
|
```
|
|
23
39
|
|
|
24
40
|
* `id` (int64): Id of the AS2 Partner.
|
|
25
41
|
* `as2_partner_id` (int64): Id of the AS2 Partner associated with this message.
|
|
42
|
+
* `as2_station_id` (int64): Id of the AS2 Station associated with this message.
|
|
26
43
|
* `uuid` (string): UUID assigned to this message.
|
|
27
44
|
* `content_type` (string): Content Type header of the incoming message.
|
|
28
45
|
* `http_headers` (object): HTTP Headers sent with this message.
|
|
29
46
|
* `activity_log` (string): JSON Structure of the activity log.
|
|
30
47
|
* `processing_result` (string): Result of processing.
|
|
48
|
+
* `mic` (string): AS2 Message Integrity Check
|
|
49
|
+
* `mic_algo` (string): AS2 Message Integrity Check Algorithm Used
|
|
31
50
|
* `as2_to` (string): AS2 TO header of message
|
|
32
51
|
* `as2_from` (string): AS2 FROM header of message
|
|
33
52
|
* `message_id` (string): AS2 Message Id
|
|
34
53
|
* `subject` (string): AS2 Subject Header
|
|
35
54
|
* `body_size` (string): Encrypted Payload Body Size
|
|
36
55
|
* `attachment_filename` (string): Filename of the file being received.
|
|
56
|
+
* `ip` (string): IP Address of the Sender
|
|
37
57
|
* `created_at` (date-time): Message creation date/time
|
|
58
|
+
* `http_response_code` (string): HTTP Response Code sent for this message
|
|
59
|
+
* `http_response_headers` (object): HTTP Headers sent for this message.
|
|
60
|
+
* `message_received` (boolean): Message body received?
|
|
61
|
+
* `message_decrypted` (boolean): Message decrypted successfully?
|
|
62
|
+
* `message_signature_verified` (boolean): Message signature verified?
|
|
63
|
+
* `message_processing_success` (boolean): Message processed successfully?
|
|
64
|
+
* `message_mdn_returned` (boolean): MDN returned?
|
|
65
|
+
* `encrypted_uri` (string): URL to download the encrypted signed smime that is to sent as AS2 body
|
|
66
|
+
* `smime_signed_uri` (string): URL to download the file contents as smime with signature
|
|
67
|
+
* `smime_uri` (string): URL to download the file contents encoded as smime
|
|
68
|
+
* `raw_uri` (string): URL to download the original file contents
|
|
69
|
+
* `mdn_response_uri` (string): URL to download the http response body
|
|
38
70
|
|
|
39
71
|
|
|
40
72
|
---
|
|
@@ -6,29 +6,63 @@
|
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
8
|
"as2_partner_id": 1,
|
|
9
|
+
"as2_station_id": 1,
|
|
9
10
|
"uuid": "",
|
|
10
11
|
"http_headers": "",
|
|
11
12
|
"activity_log": "",
|
|
12
13
|
"processing_result": "",
|
|
13
14
|
"mic": "",
|
|
15
|
+
"mic_sha_256": "",
|
|
16
|
+
"as2_to": "",
|
|
17
|
+
"as2_from": "",
|
|
14
18
|
"message_id": "",
|
|
15
19
|
"body_size": "",
|
|
16
20
|
"attachment_filename": "",
|
|
17
|
-
"created_at": "2000-01-01T01:00:00Z"
|
|
21
|
+
"created_at": "2000-01-01T01:00:00Z",
|
|
22
|
+
"http_response_code": "",
|
|
23
|
+
"http_response_headers": "",
|
|
24
|
+
"mdn_received": true,
|
|
25
|
+
"mdn_valid": true,
|
|
26
|
+
"mdn_signature_verified": true,
|
|
27
|
+
"mdn_message_id_matched": true,
|
|
28
|
+
"mdn_mic_matched": true,
|
|
29
|
+
"mdn_processing_success": true,
|
|
30
|
+
"raw_uri": "",
|
|
31
|
+
"smime_uri": "",
|
|
32
|
+
"smime_signed_uri": "",
|
|
33
|
+
"encrypted_uri": "",
|
|
34
|
+
"mdn_response_uri": ""
|
|
18
35
|
}
|
|
19
36
|
```
|
|
20
37
|
|
|
21
38
|
* `id` (int64): Id of the AS2 Partner.
|
|
22
39
|
* `as2_partner_id` (int64): Id of the AS2 Partner associated with this message.
|
|
40
|
+
* `as2_station_id` (int64): Id of the AS2 Station associated with this message.
|
|
23
41
|
* `uuid` (string): UUID assigned to this message.
|
|
24
42
|
* `http_headers` (object): HTTP Headers sent with this message.
|
|
25
43
|
* `activity_log` (string): JSON Structure of the activity log.
|
|
26
44
|
* `processing_result` (string): Result of processing.
|
|
27
|
-
* `mic` (string): AS2 Message Integrity Check
|
|
45
|
+
* `mic` (string): AS2 Message Integrity Check SHA1
|
|
46
|
+
* `mic_sha_256` (string): AS2 Message Integrity Check SHA256
|
|
47
|
+
* `as2_to` (string): AS2 TO
|
|
48
|
+
* `as2_from` (string): AS2 FROM
|
|
28
49
|
* `message_id` (string): AS2 Message Id
|
|
29
50
|
* `body_size` (string): Encrypted Payload Body Size
|
|
30
51
|
* `attachment_filename` (string): Filename of the file being sent.
|
|
31
52
|
* `created_at` (date-time): Message creation date/time
|
|
53
|
+
* `http_response_code` (string): HTTP Response Code received for this message
|
|
54
|
+
* `http_response_headers` (object): HTTP Headers received for this message.
|
|
55
|
+
* `mdn_received` (boolean): Did the partner give a response body?
|
|
56
|
+
* `mdn_valid` (boolean): Is the response in MDN format?
|
|
57
|
+
* `mdn_signature_verified` (boolean): MDN signature verified?
|
|
58
|
+
* `mdn_message_id_matched` (boolean): MDN message id matched?
|
|
59
|
+
* `mdn_mic_matched` (boolean): MDN MIC matched?
|
|
60
|
+
* `mdn_processing_success` (boolean): MDN disposition indicate a successful processing?
|
|
61
|
+
* `raw_uri` (string): URL to download the original file contents
|
|
62
|
+
* `smime_uri` (string): URL to download the file contents encoded as smime
|
|
63
|
+
* `smime_signed_uri` (string): URL to download the file contents as smime with signature
|
|
64
|
+
* `encrypted_uri` (string): URL to download the encrypted signed smime that is to sent as AS2 body
|
|
65
|
+
* `mdn_response_uri` (string): URL to download the http response body
|
|
32
66
|
|
|
33
67
|
|
|
34
68
|
---
|
data/docs/as2_partner.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"name": "AS2 Partner Name",
|
|
10
10
|
"uri": "",
|
|
11
11
|
"server_certificate": "require_match",
|
|
12
|
+
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
|
12
13
|
"public_certificate_md5": "",
|
|
13
14
|
"public_certificate_subject": "",
|
|
14
15
|
"public_certificate_issuer": "",
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
* `name` (string): The partner's formal AS2 name.
|
|
24
25
|
* `uri` (string): Public URI for sending AS2 message to.
|
|
25
26
|
* `server_certificate` (string): Remote server certificate security setting
|
|
27
|
+
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
|
26
28
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
|
27
29
|
* `public_certificate_subject` (string): Subject of public certificate used for message security.
|
|
28
30
|
* `public_certificate_issuer` (string): Issuer of public certificate used for message security.
|
data/docs/as2_station.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"name": "AS2 Station Name",
|
|
9
9
|
"uri": "",
|
|
10
10
|
"domain": "domain.test",
|
|
11
|
+
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
|
11
12
|
"public_certificate_md5": "",
|
|
12
13
|
"private_key_md5": "",
|
|
13
14
|
"public_certificate_subject": "",
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
* `name` (string): The station's formal AS2 name.
|
|
24
25
|
* `uri` (string): Public URI for sending AS2 message to.
|
|
25
26
|
* `domain` (string): The station's AS2 domain name.
|
|
27
|
+
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
|
26
28
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
|
27
29
|
* `private_key_md5` (string): MD5 hash of private key used for message security.
|
|
28
30
|
* `public_certificate_subject` (string): Subject of public certificate used for message security.
|
data/docs/automation.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
{
|
|
7
7
|
"id": 1,
|
|
8
8
|
"automation": "create_folder",
|
|
9
|
+
"disabled": true,
|
|
9
10
|
"trigger": "realtime",
|
|
10
11
|
"interval": "week",
|
|
11
12
|
"name": "",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
|
|
47
48
|
* `id` (int64): Automation ID
|
|
48
49
|
* `automation` (string): Automation type
|
|
50
|
+
* `disabled` (boolean): If true, this automation will not run.
|
|
49
51
|
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
50
52
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
51
53
|
* `name` (string): Name for this automation.
|
|
@@ -116,6 +118,7 @@ Files::Automation.create(
|
|
|
116
118
|
user_ids: [1,2],
|
|
117
119
|
group_ids: [1,2],
|
|
118
120
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
|
121
|
+
disabled: true,
|
|
119
122
|
trigger: "realtime",
|
|
120
123
|
trigger_actions: "[ \"create\" ]",
|
|
121
124
|
value: "{\"limit\": \"1\"}"
|
|
@@ -136,6 +139,7 @@ Files::Automation.create(
|
|
|
136
139
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
137
140
|
* `schedule` (object): Custom schedule for running this automation.
|
|
138
141
|
* `description` (string): Description for the this Automation.
|
|
142
|
+
* `disabled` (boolean): If true, this automation will not run.
|
|
139
143
|
* `name` (string): Name for this automation.
|
|
140
144
|
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
141
145
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -155,6 +159,7 @@ Files::Automation.update(id,
|
|
|
155
159
|
user_ids: [1,2],
|
|
156
160
|
group_ids: [1,2],
|
|
157
161
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
|
162
|
+
disabled: true,
|
|
158
163
|
trigger: "realtime",
|
|
159
164
|
trigger_actions: "[ \"create\" ]",
|
|
160
165
|
value: "{\"limit\": \"1\"}"
|
|
@@ -176,6 +181,7 @@ Files::Automation.update(id,
|
|
|
176
181
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
177
182
|
* `schedule` (object): Custom schedule for running this automation.
|
|
178
183
|
* `description` (string): Description for the this Automation.
|
|
184
|
+
* `disabled` (boolean): If true, this automation will not run.
|
|
179
185
|
* `name` (string): Name for this automation.
|
|
180
186
|
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
181
187
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -210,6 +216,7 @@ automation.update(
|
|
|
210
216
|
user_ids: [1,2],
|
|
211
217
|
group_ids: [1,2],
|
|
212
218
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
|
219
|
+
disabled: true,
|
|
213
220
|
trigger: "realtime",
|
|
214
221
|
trigger_actions: "[ \"create\" ]",
|
|
215
222
|
value: "{\"limit\": \"1\"}"
|
|
@@ -231,6 +238,7 @@ automation.update(
|
|
|
231
238
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
232
239
|
* `schedule` (object): Custom schedule for running this automation.
|
|
233
240
|
* `description` (string): Description for the this Automation.
|
|
241
|
+
* `disabled` (boolean): If true, this automation will not run.
|
|
234
242
|
* `name` (string): Name for this automation.
|
|
235
243
|
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
236
244
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
data/docs/bundle.md
CHANGED
|
@@ -151,7 +151,10 @@ Files::Bundle.create(
|
|
|
151
151
|
require_registration: true,
|
|
152
152
|
clickwrap_id: 1,
|
|
153
153
|
inbox_id: 1,
|
|
154
|
-
require_share_recipient: true
|
|
154
|
+
require_share_recipient: true,
|
|
155
|
+
skip_email: true,
|
|
156
|
+
skip_name: true,
|
|
157
|
+
skip_company: true
|
|
155
158
|
)
|
|
156
159
|
```
|
|
157
160
|
|
|
@@ -171,6 +174,9 @@ Files::Bundle.create(
|
|
|
171
174
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
|
172
175
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
|
173
176
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
177
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
|
178
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
|
179
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
|
174
180
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
175
181
|
|
|
176
182
|
|
|
@@ -213,6 +219,9 @@ Files::Bundle.update(id,
|
|
|
213
219
|
preview_only: true,
|
|
214
220
|
require_registration: true,
|
|
215
221
|
require_share_recipient: true,
|
|
222
|
+
skip_email: true,
|
|
223
|
+
skip_name: true,
|
|
224
|
+
skip_company: true,
|
|
216
225
|
watermark_attachment_delete: true
|
|
217
226
|
)
|
|
218
227
|
```
|
|
@@ -233,6 +242,9 @@ Files::Bundle.update(id,
|
|
|
233
242
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
|
234
243
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
|
235
244
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
245
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
|
246
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
|
247
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
|
236
248
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
237
249
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
238
250
|
|
|
@@ -293,6 +305,9 @@ bundle.update(
|
|
|
293
305
|
preview_only: true,
|
|
294
306
|
require_registration: true,
|
|
295
307
|
require_share_recipient: true,
|
|
308
|
+
skip_email: true,
|
|
309
|
+
skip_name: true,
|
|
310
|
+
skip_company: true,
|
|
296
311
|
watermark_attachment_delete: true
|
|
297
312
|
)
|
|
298
313
|
```
|
|
@@ -313,6 +328,9 @@ bundle.update(
|
|
|
313
328
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
|
314
329
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
|
315
330
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
331
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
|
332
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
|
333
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
|
316
334
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
|
317
335
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
318
336
|
|
|
@@ -19,6 +19,11 @@ module Files
|
|
|
19
19
|
@attributes[:as2_partner_id]
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
# int64 - Id of the AS2 Station associated with this message.
|
|
23
|
+
def as2_station_id
|
|
24
|
+
@attributes[:as2_station_id]
|
|
25
|
+
end
|
|
26
|
+
|
|
22
27
|
# string - UUID assigned to this message.
|
|
23
28
|
def uuid
|
|
24
29
|
@attributes[:uuid]
|
|
@@ -44,6 +49,16 @@ module Files
|
|
|
44
49
|
@attributes[:processing_result]
|
|
45
50
|
end
|
|
46
51
|
|
|
52
|
+
# string - AS2 Message Integrity Check
|
|
53
|
+
def mic
|
|
54
|
+
@attributes[:mic]
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# string - AS2 Message Integrity Check Algorithm Used
|
|
58
|
+
def mic_algo
|
|
59
|
+
@attributes[:mic_algo]
|
|
60
|
+
end
|
|
61
|
+
|
|
47
62
|
# string - AS2 TO header of message
|
|
48
63
|
def as2_to
|
|
49
64
|
@attributes[:as2_to]
|
|
@@ -74,11 +89,76 @@ module Files
|
|
|
74
89
|
@attributes[:attachment_filename]
|
|
75
90
|
end
|
|
76
91
|
|
|
92
|
+
# string - IP Address of the Sender
|
|
93
|
+
def ip
|
|
94
|
+
@attributes[:ip]
|
|
95
|
+
end
|
|
96
|
+
|
|
77
97
|
# date-time - Message creation date/time
|
|
78
98
|
def created_at
|
|
79
99
|
@attributes[:created_at]
|
|
80
100
|
end
|
|
81
101
|
|
|
102
|
+
# string - HTTP Response Code sent for this message
|
|
103
|
+
def http_response_code
|
|
104
|
+
@attributes[:http_response_code]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# object - HTTP Headers sent for this message.
|
|
108
|
+
def http_response_headers
|
|
109
|
+
@attributes[:http_response_headers]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# boolean - Message body received?
|
|
113
|
+
def message_received
|
|
114
|
+
@attributes[:message_received]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# boolean - Message decrypted successfully?
|
|
118
|
+
def message_decrypted
|
|
119
|
+
@attributes[:message_decrypted]
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# boolean - Message signature verified?
|
|
123
|
+
def message_signature_verified
|
|
124
|
+
@attributes[:message_signature_verified]
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# boolean - Message processed successfully?
|
|
128
|
+
def message_processing_success
|
|
129
|
+
@attributes[:message_processing_success]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# boolean - MDN returned?
|
|
133
|
+
def message_mdn_returned
|
|
134
|
+
@attributes[:message_mdn_returned]
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# string - URL to download the encrypted signed smime that is to sent as AS2 body
|
|
138
|
+
def encrypted_uri
|
|
139
|
+
@attributes[:encrypted_uri]
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# string - URL to download the file contents as smime with signature
|
|
143
|
+
def smime_signed_uri
|
|
144
|
+
@attributes[:smime_signed_uri]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# string - URL to download the file contents encoded as smime
|
|
148
|
+
def smime_uri
|
|
149
|
+
@attributes[:smime_uri]
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# string - URL to download the original file contents
|
|
153
|
+
def raw_uri
|
|
154
|
+
@attributes[:raw_uri]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# string - URL to download the http response body
|
|
158
|
+
def mdn_response_uri
|
|
159
|
+
@attributes[:mdn_response_uri]
|
|
160
|
+
end
|
|
161
|
+
|
|
82
162
|
# Parameters:
|
|
83
163
|
# 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
164
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
@@ -19,6 +19,11 @@ module Files
|
|
|
19
19
|
@attributes[:as2_partner_id]
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
+
# int64 - Id of the AS2 Station associated with this message.
|
|
23
|
+
def as2_station_id
|
|
24
|
+
@attributes[:as2_station_id]
|
|
25
|
+
end
|
|
26
|
+
|
|
22
27
|
# string - UUID assigned to this message.
|
|
23
28
|
def uuid
|
|
24
29
|
@attributes[:uuid]
|
|
@@ -39,11 +44,26 @@ module Files
|
|
|
39
44
|
@attributes[:processing_result]
|
|
40
45
|
end
|
|
41
46
|
|
|
42
|
-
# string - AS2 Message Integrity Check
|
|
47
|
+
# string - AS2 Message Integrity Check SHA1
|
|
43
48
|
def mic
|
|
44
49
|
@attributes[:mic]
|
|
45
50
|
end
|
|
46
51
|
|
|
52
|
+
# string - AS2 Message Integrity Check SHA256
|
|
53
|
+
def mic_sha_256
|
|
54
|
+
@attributes[:mic_sha_256]
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# string - AS2 TO
|
|
58
|
+
def as2_to
|
|
59
|
+
@attributes[:as2_to]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# string - AS2 FROM
|
|
63
|
+
def as2_from
|
|
64
|
+
@attributes[:as2_from]
|
|
65
|
+
end
|
|
66
|
+
|
|
47
67
|
# string - AS2 Message Id
|
|
48
68
|
def message_id
|
|
49
69
|
@attributes[:message_id]
|
|
@@ -64,6 +84,71 @@ module Files
|
|
|
64
84
|
@attributes[:created_at]
|
|
65
85
|
end
|
|
66
86
|
|
|
87
|
+
# string - HTTP Response Code received for this message
|
|
88
|
+
def http_response_code
|
|
89
|
+
@attributes[:http_response_code]
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# object - HTTP Headers received for this message.
|
|
93
|
+
def http_response_headers
|
|
94
|
+
@attributes[:http_response_headers]
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# boolean - Did the partner give a response body?
|
|
98
|
+
def mdn_received
|
|
99
|
+
@attributes[:mdn_received]
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# boolean - Is the response in MDN format?
|
|
103
|
+
def mdn_valid
|
|
104
|
+
@attributes[:mdn_valid]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# boolean - MDN signature verified?
|
|
108
|
+
def mdn_signature_verified
|
|
109
|
+
@attributes[:mdn_signature_verified]
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# boolean - MDN message id matched?
|
|
113
|
+
def mdn_message_id_matched
|
|
114
|
+
@attributes[:mdn_message_id_matched]
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# boolean - MDN MIC matched?
|
|
118
|
+
def mdn_mic_matched
|
|
119
|
+
@attributes[:mdn_mic_matched]
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# boolean - MDN disposition indicate a successful processing?
|
|
123
|
+
def mdn_processing_success
|
|
124
|
+
@attributes[:mdn_processing_success]
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# string - URL to download the original file contents
|
|
128
|
+
def raw_uri
|
|
129
|
+
@attributes[:raw_uri]
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# string - URL to download the file contents encoded as smime
|
|
133
|
+
def smime_uri
|
|
134
|
+
@attributes[:smime_uri]
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# string - URL to download the file contents as smime with signature
|
|
138
|
+
def smime_signed_uri
|
|
139
|
+
@attributes[:smime_signed_uri]
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# string - URL to download the encrypted signed smime that is to sent as AS2 body
|
|
143
|
+
def encrypted_uri
|
|
144
|
+
@attributes[:encrypted_uri]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# string - URL to download the http response body
|
|
148
|
+
def mdn_response_uri
|
|
149
|
+
@attributes[:mdn_response_uri]
|
|
150
|
+
end
|
|
151
|
+
|
|
67
152
|
# Parameters:
|
|
68
153
|
# 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.
|
|
69
154
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
@@ -54,6 +54,15 @@ module Files
|
|
|
54
54
|
@attributes[:server_certificate] = value
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
# string - Serial of public certificate used for message security in hex format.
|
|
58
|
+
def hex_public_certificate_serial
|
|
59
|
+
@attributes[:hex_public_certificate_serial]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def hex_public_certificate_serial=(value)
|
|
63
|
+
@attributes[:hex_public_certificate_serial] = value
|
|
64
|
+
end
|
|
65
|
+
|
|
57
66
|
# string - MD5 hash of public certificate used for message security.
|
|
58
67
|
def public_certificate_md5
|
|
59
68
|
@attributes[:public_certificate_md5]
|
|
@@ -45,6 +45,15 @@ module Files
|
|
|
45
45
|
@attributes[:domain] = value
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# string - Serial of public certificate used for message security in hex format.
|
|
49
|
+
def hex_public_certificate_serial
|
|
50
|
+
@attributes[:hex_public_certificate_serial]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def hex_public_certificate_serial=(value)
|
|
54
|
+
@attributes[:hex_public_certificate_serial] = value
|
|
55
|
+
end
|
|
56
|
+
|
|
48
57
|
# string - MD5 hash of public certificate used for message security.
|
|
49
58
|
def public_certificate_md5
|
|
50
59
|
@attributes[:public_certificate_md5]
|
|
@@ -27,6 +27,15 @@ module Files
|
|
|
27
27
|
@attributes[:automation] = value
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
# boolean - If true, this automation will not run.
|
|
31
|
+
def disabled
|
|
32
|
+
@attributes[:disabled]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def disabled=(value)
|
|
36
|
+
@attributes[:disabled] = value
|
|
37
|
+
end
|
|
38
|
+
|
|
30
39
|
# string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
31
40
|
def trigger
|
|
32
41
|
@attributes[:trigger]
|
|
@@ -193,6 +202,7 @@ module Files
|
|
|
193
202
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
194
203
|
# schedule - object - Custom schedule for running this automation.
|
|
195
204
|
# description - string - Description for the this Automation.
|
|
205
|
+
# disabled - boolean - If true, this automation will not run.
|
|
196
206
|
# name - string - Name for this automation.
|
|
197
207
|
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
198
208
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -306,6 +316,7 @@ module Files
|
|
|
306
316
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
307
317
|
# schedule - object - Custom schedule for running this automation.
|
|
308
318
|
# description - string - Description for the this Automation.
|
|
319
|
+
# disabled - boolean - If true, this automation will not run.
|
|
309
320
|
# name - string - Name for this automation.
|
|
310
321
|
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
311
322
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -346,6 +357,7 @@ module Files
|
|
|
346
357
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
|
347
358
|
# schedule - object - Custom schedule for running this automation.
|
|
348
359
|
# description - string - Description for the this Automation.
|
|
360
|
+
# disabled - boolean - If true, this automation will not run.
|
|
349
361
|
# name - string - Name for this automation.
|
|
350
362
|
# trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
|
351
363
|
# trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
|
@@ -299,6 +299,9 @@ module Files
|
|
|
299
299
|
# preview_only - boolean - Restrict users to previewing files only?
|
|
300
300
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
|
301
301
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
302
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
303
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
304
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
|
302
305
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
303
306
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
304
307
|
def update(params = {})
|
|
@@ -407,6 +410,9 @@ module Files
|
|
|
407
410
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
|
408
411
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
|
409
412
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
413
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
414
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
415
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
|
410
416
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
411
417
|
def self.create(params = {}, options = {})
|
|
412
418
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
|
@@ -459,6 +465,9 @@ module Files
|
|
|
459
465
|
# preview_only - boolean - Restrict users to previewing files only?
|
|
460
466
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
|
461
467
|
# require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
|
468
|
+
# skip_email - boolean - BundleRegistrations can be saved without providing email?
|
|
469
|
+
# skip_name - boolean - BundleRegistrations can be saved without providing name?
|
|
470
|
+
# skip_company - boolean - BundleRegistrations can be saved without providing company?
|
|
462
471
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
|
463
472
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
|
464
473
|
def self.update(id, params = {}, options = {})
|
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.
|
|
4
|
+
version: 1.0.257
|
|
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-
|
|
11
|
+
date: 2022-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|