files.com 1.1.268 → 1.1.269
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_partner.md +6 -3
- data/docs/as2_station.md +6 -3
- data/docs/sync.md +8 -4
- data/docs/sync_run.md +4 -2
- data/lib/files.com/models/as2_partner.rb +9 -9
- data/lib/files.com/models/as2_station.rb +9 -9
- data/lib/files.com/models/sync.rb +2 -2
- data/lib/files.com/models/sync_run.rb +1 -1
- data/lib/files.com/version.rb +1 -1
- 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: b4188d61e6928dad3bfb932f11452c8201152f0a70328ae40b93ff5731b75864
|
4
|
+
data.tar.gz: 715142bb7a3298b1cdcc35be108a55633c3d1d253715984480a4e6dfc44349cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00a321bf0b53ac75217508f814ab4cc3f441d5a30af6724333f786725fa36fff8707418a0e535f96a78873a4a6e8696f8d8c0385e3b633a627e6088438b60fb4
|
7
|
+
data.tar.gz: 51af02a854400c497ce4755a6d312dad88f8d6e6261b9d62e1f079714b9d9313d30e2fc671655c499f75ade97bedbd118dba329a8c64b0fe796ddfbe12a0cccf
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.269
|
data/docs/as2_partner.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
"mdn_validation_level": "none",
|
18
18
|
"enable_dedicated_ips": true,
|
19
19
|
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
20
|
+
"public_certificate": "example",
|
20
21
|
"public_certificate_md5": "example",
|
21
22
|
"public_certificate_subject": "example",
|
22
23
|
"public_certificate_issuer": "example",
|
@@ -37,6 +38,7 @@
|
|
37
38
|
* `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.
|
38
39
|
* `enable_dedicated_ips` (boolean): If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
39
40
|
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
41
|
+
* `public_certificate` (string): Public certificate used for message security.
|
40
42
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
41
43
|
* `public_certificate_subject` (string): Subject of public certificate used for message security.
|
42
44
|
* `public_certificate_issuer` (string): Issuer of public certificate used for message security.
|
@@ -44,7 +46,6 @@
|
|
44
46
|
* `public_certificate_not_before` (string): Not before value of public certificate used for message security.
|
45
47
|
* `public_certificate_not_after` (string): Not after value of public certificate used for message security.
|
46
48
|
* `http_auth_password` (string): Password to send to server for HTTP Authentication.
|
47
|
-
* `public_certificate` (string): Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
48
49
|
|
49
50
|
|
50
51
|
---
|
@@ -121,7 +122,8 @@ Files::As2Partner.update(id,
|
|
121
122
|
default_mime_type: "application/octet-stream",
|
122
123
|
additional_http_headers: {"key":"example value"},
|
123
124
|
name: "AS2 Partner Name",
|
124
|
-
uri: "example"
|
125
|
+
uri: "example",
|
126
|
+
public_certificate: "example"
|
125
127
|
)
|
126
128
|
```
|
127
129
|
|
@@ -168,7 +170,8 @@ as2_partner.update(
|
|
168
170
|
default_mime_type: "application/octet-stream",
|
169
171
|
additional_http_headers: {"key":"example value"},
|
170
172
|
name: "AS2 Partner Name",
|
171
|
-
uri: "example"
|
173
|
+
uri: "example",
|
174
|
+
public_certificate: "example"
|
172
175
|
)
|
173
176
|
```
|
174
177
|
|
data/docs/as2_station.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
"domain": "domain.test",
|
11
11
|
"hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
|
12
12
|
"public_certificate_md5": "example",
|
13
|
+
"public_certificate": "example",
|
13
14
|
"private_key_md5": "example",
|
14
15
|
"public_certificate_subject": "example",
|
15
16
|
"public_certificate_issuer": "example",
|
@@ -26,6 +27,7 @@
|
|
26
27
|
* `domain` (string): The station's AS2 domain name.
|
27
28
|
* `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
|
28
29
|
* `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
|
30
|
+
* `public_certificate` (string): Public certificate used for message security.
|
29
31
|
* `private_key_md5` (string): MD5 hash of private key used for message security.
|
30
32
|
* `public_certificate_subject` (string): Subject of public certificate used for message security.
|
31
33
|
* `public_certificate_issuer` (string): Issuer of public certificate used for message security.
|
@@ -33,7 +35,6 @@
|
|
33
35
|
* `public_certificate_not_before` (string): Not before value of public certificate used for message security.
|
34
36
|
* `public_certificate_not_after` (string): Not after value of public certificate used for message security.
|
35
37
|
* `private_key_password_md5` (string): MD5 hash of private key password used for message security.
|
36
|
-
* `public_certificate` (string):
|
37
38
|
* `private_key` (string):
|
38
39
|
* `private_key_password` (string):
|
39
40
|
|
@@ -92,7 +93,8 @@ Files::As2Station.create(
|
|
92
93
|
|
93
94
|
```
|
94
95
|
Files::As2Station.update(id,
|
95
|
-
name: "AS2 Station Name"
|
96
|
+
name: "AS2 Station Name",
|
97
|
+
public_certificate: "example"
|
96
98
|
)
|
97
99
|
```
|
98
100
|
|
@@ -126,7 +128,8 @@ Files::As2Station.delete(id)
|
|
126
128
|
as2_station = Files::As2Station.find(id)
|
127
129
|
|
128
130
|
as2_station.update(
|
129
|
-
name: "AS2 Station Name"
|
131
|
+
name: "AS2 Station Name",
|
132
|
+
public_certificate: "example"
|
130
133
|
)
|
131
134
|
```
|
132
135
|
|
data/docs/sync.md
CHANGED
@@ -20,8 +20,12 @@
|
|
20
20
|
"interval": "week",
|
21
21
|
"trigger": "example",
|
22
22
|
"trigger_file": "example",
|
23
|
-
"include_patterns":
|
24
|
-
|
23
|
+
"include_patterns": [
|
24
|
+
"example"
|
25
|
+
],
|
26
|
+
"exclude_patterns": [
|
27
|
+
"example"
|
28
|
+
],
|
25
29
|
"created_at": "2000-01-01T01:00:00Z",
|
26
30
|
"updated_at": "2000-01-01T01:00:00Z",
|
27
31
|
"sync_interval_minutes": 1,
|
@@ -55,8 +59,8 @@
|
|
55
59
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
56
60
|
* `trigger` (string): Trigger type: daily, custom_schedule, or manual
|
57
61
|
* `trigger_file` (string): Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
|
58
|
-
* `include_patterns` (array(
|
59
|
-
* `exclude_patterns` (array(
|
62
|
+
* `include_patterns` (array(string)): Array of glob patterns to include
|
63
|
+
* `exclude_patterns` (array(string)): Array of glob patterns to exclude
|
60
64
|
* `created_at` (date-time): When this sync was created
|
61
65
|
* `updated_at` (date-time): When this sync was last updated
|
62
66
|
* `sync_interval_minutes` (int64): Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
|
data/docs/sync_run.md
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
"status": "example",
|
11
11
|
"remote_server_type": "example",
|
12
12
|
"body": "example",
|
13
|
-
"event_errors":
|
13
|
+
"event_errors": [
|
14
|
+
"example"
|
15
|
+
],
|
14
16
|
"bytes_synced": 1,
|
15
17
|
"compared_files": 1,
|
16
18
|
"compared_folders": 1,
|
@@ -32,7 +34,7 @@
|
|
32
34
|
* `status` (string): Status of the sync run (success, failure, partial_failure, in_progress, skipped)
|
33
35
|
* `remote_server_type` (string): Type of remote server used, if any
|
34
36
|
* `body` (string): Log or summary body for this run
|
35
|
-
* `event_errors` (array(
|
37
|
+
* `event_errors` (array(string)): Array of errors encountered during the run
|
36
38
|
* `bytes_synced` (int64): Total bytes synced in this run
|
37
39
|
* `compared_files` (int64): Number of files compared
|
38
40
|
* `compared_folders` (int64): Number of folders compared
|
@@ -108,6 +108,15 @@ module Files
|
|
108
108
|
@attributes[:hex_public_certificate_serial] = value
|
109
109
|
end
|
110
110
|
|
111
|
+
# string - Public certificate used for message security.
|
112
|
+
def public_certificate
|
113
|
+
@attributes[:public_certificate]
|
114
|
+
end
|
115
|
+
|
116
|
+
def public_certificate=(value)
|
117
|
+
@attributes[:public_certificate] = value
|
118
|
+
end
|
119
|
+
|
111
120
|
# string - MD5 hash of public certificate used for message security.
|
112
121
|
def public_certificate_md5
|
113
122
|
@attributes[:public_certificate_md5]
|
@@ -171,15 +180,6 @@ module Files
|
|
171
180
|
@attributes[:http_auth_password] = value
|
172
181
|
end
|
173
182
|
|
174
|
-
# string - Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
|
175
|
-
def public_certificate
|
176
|
-
@attributes[:public_certificate]
|
177
|
-
end
|
178
|
-
|
179
|
-
def public_certificate=(value)
|
180
|
-
@attributes[:public_certificate] = value
|
181
|
-
end
|
182
|
-
|
183
183
|
# Parameters:
|
184
184
|
# enable_dedicated_ips - boolean - If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
|
185
185
|
# http_auth_username - string - Username to send to server for HTTP Authentication.
|
@@ -63,6 +63,15 @@ module Files
|
|
63
63
|
@attributes[:public_certificate_md5] = value
|
64
64
|
end
|
65
65
|
|
66
|
+
# string - Public certificate used for message security.
|
67
|
+
def public_certificate
|
68
|
+
@attributes[:public_certificate]
|
69
|
+
end
|
70
|
+
|
71
|
+
def public_certificate=(value)
|
72
|
+
@attributes[:public_certificate] = value
|
73
|
+
end
|
74
|
+
|
66
75
|
# string - MD5 hash of private key used for message security.
|
67
76
|
def private_key_md5
|
68
77
|
@attributes[:private_key_md5]
|
@@ -126,15 +135,6 @@ module Files
|
|
126
135
|
@attributes[:private_key_password_md5] = value
|
127
136
|
end
|
128
137
|
|
129
|
-
# string
|
130
|
-
def public_certificate
|
131
|
-
@attributes[:public_certificate]
|
132
|
-
end
|
133
|
-
|
134
|
-
def public_certificate=(value)
|
135
|
-
@attributes[:public_certificate] = value
|
136
|
-
end
|
137
|
-
|
138
138
|
# string
|
139
139
|
def private_key
|
140
140
|
@attributes[:private_key]
|
@@ -153,7 +153,7 @@ module Files
|
|
153
153
|
@attributes[:trigger_file] = value
|
154
154
|
end
|
155
155
|
|
156
|
-
# array(
|
156
|
+
# array(string) - Array of glob patterns to include
|
157
157
|
def include_patterns
|
158
158
|
@attributes[:include_patterns]
|
159
159
|
end
|
@@ -162,7 +162,7 @@ module Files
|
|
162
162
|
@attributes[:include_patterns] = value
|
163
163
|
end
|
164
164
|
|
165
|
-
# array(
|
165
|
+
# array(string) - Array of glob patterns to exclude
|
166
166
|
def exclude_patterns
|
167
167
|
@attributes[:exclude_patterns]
|
168
168
|
end
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.269
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|