files.com 1.0.256 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9195a63009ea82724c1f70c455c69c1ce1124b0b54c83566de49d9ac008fd35
4
- data.tar.gz: cfcaf0ff12320d05963d10095971574688e87a26b295c114dd994a565a98afd4
3
+ metadata.gz: 32640bbe2bb21cc9636ff18287956c9393e402edb8353eca80e4f59301d833f8
4
+ data.tar.gz: 9cb6dd1d3c8cd1ac6c5305d423d5988f60250cc2a099096befa6584b3ec1fb3f
5
5
  SHA512:
6
- metadata.gz: 4e66354f94244611812c8108620e9e19365622d83d846e6d0a0b404560aec18ea8135c8d4ef06bcd91ba10340753157d10b90055818a13fda4a383696f452b60
7
- data.tar.gz: 91afdd1095d7ab9e516b05c241c75785c74ac4f8de4acf588f1bdeb5f6b3b11ac0cab3ba92a1b21a850330ee0ef61aa03efc1cb3077f81f89c88f8c55179b414
6
+ metadata.gz: 9fec2e59687bfa91484e45a98a1111dcde6d3240d424c9ed2f5c3d9ade23c01a96c64e11601fe1c3af18059b4540300d74b8919cae3472d7cf16e774b0befdf2
7
+ data.tar.gz: be174255d64d8f04c692f5de596cff8dfcad45d785c185c289102c3be022b9b58cac7ef5fce025b9c3d0ad2422c77681c186a291a99797ab017ec093944d5e7a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.256
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
- "created_at": "2000-01-01T01:00:00Z"
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.
@@ -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]
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.256
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-04-06 00:00:00.000000000 Z
11
+ date: 2022-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable