files.com 1.0.256 → 1.0.259

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: d5c3d7ea27933bb474bbff51249d218778770d93fca742c07153d981c6f2590f
4
+ data.tar.gz: 375a5bc28f28de70f7d353bc182254be316d5381d8e1b43c624417c647a12541
5
5
  SHA512:
6
- metadata.gz: 4e66354f94244611812c8108620e9e19365622d83d846e6d0a0b404560aec18ea8135c8d4ef06bcd91ba10340753157d10b90055818a13fda4a383696f452b60
7
- data.tar.gz: 91afdd1095d7ab9e516b05c241c75785c74ac4f8de4acf588f1bdeb5f6b3b11ac0cab3ba92a1b21a850330ee0ef61aa03efc1cb3077f81f89c88f8c55179b414
6
+ metadata.gz: 0d6c8fdf579c590329dd9487470ec38f5d50f8d8b7db909f8e48cea45b249629ebc9557ba4dd38a38ae5a6c8af026dd62f2e632fbbc315f525c8169e7c2ac15b
7
+ data.tar.gz: 19b58031a0c372ddb1c0fe0dd231c8a05aeffc84af95f7706ec1cdb44f6641cee4026e9cba3a9f82cc453379f0125456b6709ae4be077721939ea28c076e1640
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.256
1
+ 1.0.259
@@ -6,35 +6,73 @@
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
+ "recipient_serial": "",
28
+ "hex_recipient_serial": "A5:EB:C1:95:DC:D8:2B:E7",
29
+ "recipient_issuer": "",
30
+ "message_received": true,
31
+ "message_decrypted": true,
32
+ "message_signature_verified": true,
33
+ "message_processing_success": true,
34
+ "message_mdn_returned": true,
35
+ "encrypted_uri": "",
36
+ "smime_signed_uri": "",
37
+ "smime_uri": "",
38
+ "raw_uri": "",
39
+ "mdn_response_uri": ""
21
40
  }
22
41
  ```
23
42
 
24
43
  * `id` (int64): Id of the AS2 Partner.
25
44
  * `as2_partner_id` (int64): Id of the AS2 Partner associated with this message.
45
+ * `as2_station_id` (int64): Id of the AS2 Station associated with this message.
26
46
  * `uuid` (string): UUID assigned to this message.
27
47
  * `content_type` (string): Content Type header of the incoming message.
28
48
  * `http_headers` (object): HTTP Headers sent with this message.
29
49
  * `activity_log` (string): JSON Structure of the activity log.
30
50
  * `processing_result` (string): Result of processing.
51
+ * `mic` (string): AS2 Message Integrity Check
52
+ * `mic_algo` (string): AS2 Message Integrity Check Algorithm Used
31
53
  * `as2_to` (string): AS2 TO header of message
32
54
  * `as2_from` (string): AS2 FROM header of message
33
55
  * `message_id` (string): AS2 Message Id
34
56
  * `subject` (string): AS2 Subject Header
35
57
  * `body_size` (string): Encrypted Payload Body Size
36
58
  * `attachment_filename` (string): Filename of the file being received.
59
+ * `ip` (string): IP Address of the Sender
37
60
  * `created_at` (date-time): Message creation date/time
61
+ * `http_response_code` (string): HTTP Response Code sent for this message
62
+ * `http_response_headers` (object): HTTP Headers sent for this message.
63
+ * `recipient_serial` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
64
+ * `hex_recipient_serial` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
65
+ * `recipient_issuer` (string): Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
66
+ * `message_received` (boolean): Message body received?
67
+ * `message_decrypted` (boolean): Message decrypted successfully?
68
+ * `message_signature_verified` (boolean): Message signature verified?
69
+ * `message_processing_success` (boolean): Message processed successfully?
70
+ * `message_mdn_returned` (boolean): MDN returned?
71
+ * `encrypted_uri` (string): URL to download the encrypted signed smime that is to sent as AS2 body
72
+ * `smime_signed_uri` (string): URL to download the file contents as smime with signature
73
+ * `smime_uri` (string): URL to download the file contents encoded as smime
74
+ * `raw_uri` (string): URL to download the original file contents
75
+ * `mdn_response_uri` (string): URL to download the http response body
38
76
 
39
77
 
40
78
  ---
@@ -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/site.md CHANGED
@@ -217,6 +217,7 @@
217
217
  "user_requests_enabled": true,
218
218
  "welcome_custom_text": "Welcome to my site!",
219
219
  "welcome_email_cc": "",
220
+ "welcome_email_subject": "",
220
221
  "welcome_email_enabled": true,
221
222
  "welcome_screen": "user_controlled",
222
223
  "windows_mode_ftp": true,
@@ -347,6 +348,7 @@
347
348
  * `user_requests_enabled` (boolean): Enable User Requests feature
348
349
  * `welcome_custom_text` (string): Custom text send in user welcome email
349
350
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
351
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
350
352
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
351
353
  * `welcome_screen` (string): Does the welcome screen appear?
352
354
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -495,6 +497,7 @@ Files::Site.update(
495
497
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
496
498
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
497
499
  * `welcome_email_cc` (string): Include this email in welcome emails if enabled
500
+ * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
498
501
  * `welcome_custom_text` (string): Custom text send in user welcome email
499
502
  * `language` (string): Site default language
500
503
  * `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
@@ -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,91 @@ 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
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
113
+ def recipient_serial
114
+ @attributes[:recipient_serial]
115
+ end
116
+
117
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
118
+ def hex_recipient_serial
119
+ @attributes[:hex_recipient_serial]
120
+ end
121
+
122
+ # string - Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
123
+ def recipient_issuer
124
+ @attributes[:recipient_issuer]
125
+ end
126
+
127
+ # boolean - Message body received?
128
+ def message_received
129
+ @attributes[:message_received]
130
+ end
131
+
132
+ # boolean - Message decrypted successfully?
133
+ def message_decrypted
134
+ @attributes[:message_decrypted]
135
+ end
136
+
137
+ # boolean - Message signature verified?
138
+ def message_signature_verified
139
+ @attributes[:message_signature_verified]
140
+ end
141
+
142
+ # boolean - Message processed successfully?
143
+ def message_processing_success
144
+ @attributes[:message_processing_success]
145
+ end
146
+
147
+ # boolean - MDN returned?
148
+ def message_mdn_returned
149
+ @attributes[:message_mdn_returned]
150
+ end
151
+
152
+ # string - URL to download the encrypted signed smime that is to sent as AS2 body
153
+ def encrypted_uri
154
+ @attributes[:encrypted_uri]
155
+ end
156
+
157
+ # string - URL to download the file contents as smime with signature
158
+ def smime_signed_uri
159
+ @attributes[:smime_signed_uri]
160
+ end
161
+
162
+ # string - URL to download the file contents encoded as smime
163
+ def smime_uri
164
+ @attributes[:smime_uri]
165
+ end
166
+
167
+ # string - URL to download the original file contents
168
+ def raw_uri
169
+ @attributes[:raw_uri]
170
+ end
171
+
172
+ # string - URL to download the http response body
173
+ def mdn_response_uri
174
+ @attributes[:mdn_response_uri]
175
+ end
176
+
82
177
  # Parameters:
83
178
  # 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
179
  # 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]
@@ -624,6 +624,11 @@ module Files
624
624
  @attributes[:welcome_email_cc]
625
625
  end
626
626
 
627
+ # string - Include this email subject in welcome emails if enabled
628
+ def welcome_email_subject
629
+ @attributes[:welcome_email_subject]
630
+ end
631
+
627
632
  # boolean - Will the welcome email be sent to new users?
628
633
  def welcome_email_enabled
629
634
  @attributes[:welcome_email_enabled]
@@ -669,6 +674,7 @@ module Files
669
674
  # ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
670
675
  # show_request_access_link - boolean - Show request access link for users without access? Currently unused.
671
676
  # welcome_email_cc - string - Include this email in welcome emails if enabled
677
+ # welcome_email_subject - string - Include this email subject in welcome emails if enabled
672
678
  # welcome_custom_text - string - Custom text send in user welcome email
673
679
  # language - string - Site default language
674
680
  # windows_mode_ftp - boolean - Does FTP user Windows emulation mode?
@@ -781,6 +787,7 @@ module Files
781
787
  raise InvalidParameterError.new("Bad parameter: reply_to_email must be an String") if params.dig(:reply_to_email) and !params.dig(:reply_to_email).is_a?(String)
782
788
  raise InvalidParameterError.new("Bad parameter: bundle_expiration must be an Integer") if params.dig(:bundle_expiration) and !params.dig(:bundle_expiration).is_a?(Integer)
783
789
  raise InvalidParameterError.new("Bad parameter: welcome_email_cc must be an String") if params.dig(:welcome_email_cc) and !params.dig(:welcome_email_cc).is_a?(String)
790
+ raise InvalidParameterError.new("Bad parameter: welcome_email_subject must be an String") if params.dig(:welcome_email_subject) and !params.dig(:welcome_email_subject).is_a?(String)
784
791
  raise InvalidParameterError.new("Bad parameter: welcome_custom_text must be an String") if params.dig(:welcome_custom_text) and !params.dig(:welcome_custom_text).is_a?(String)
785
792
  raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
786
793
  raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
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.259
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-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable