files.com 1.1.47 → 1.1.49

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: 75cf90cc4284337a47423808d6343d2d384d23bf4fc183ea0197ca8ad7718fb8
4
- data.tar.gz: 48b025abfcf8c52a27afd4c9582855005904ec795a4717ecde164cd7bbd6c1b4
3
+ metadata.gz: 62ffe766397a8a89cc19a752a643c1c441a3fb701ab6b51866fdf2fb2a165ca4
4
+ data.tar.gz: eca84037c412e2e99723b2138cac95553311b81d52ff9dc2b3ebbc7dfea03a7b
5
5
  SHA512:
6
- metadata.gz: 19848679abed422c9e8d9dfd4110703c691fa9d9d892fa1d573058bc530ef02c3d8f41372e2d5e9ce7278045917f0a2e11f3adfd083576bfad5550a14074d800
7
- data.tar.gz: f2904a75e8f3d363386c1e30c28ae91f576050b45ceeb96d778f2b2a81d318a4fd1875773c0c88a9d3bca212dc8c49ec09f99fdc5cd2262cb06348e98ec1ccc7
6
+ metadata.gz: f56e2155cc61b60d2e18108b14b239436246cb7309c53d86340782597c9ad9f86f54f86d2bece6106ec6f6781b785c4c5b020c54b2fa03d2ffeefe41674a165a
7
+ data.tar.gz: 28595ea44b467bfc32ca25d0a4dc2d51040573da41823e1285dd819e05d26c3e9375f204556c4d5dcb4f307761d2c518ca194ce3b2c54e72a4ab828a82534d42
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.47
1
+ 1.1.49
data/docs/as2_partner.md CHANGED
@@ -26,7 +26,7 @@
26
26
  * `name` (string): The partner's formal AS2 name.
27
27
  * `uri` (string): Public URI for sending AS2 message to.
28
28
  * `server_certificate` (string): Remote server certificate security setting
29
- * `mdn_validation_level` (string): MDN Validation Level
29
+ * `mdn_validation_level` (string): MDN Validation Level controls how to evaluate message transfer success based on a partner's MDN response. NOTE: 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.
30
30
  * `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
31
31
  * `hex_public_certificate_serial` (string): Serial of public certificate used for message security in hex format.
32
32
  * `public_certificate_md5` (string): MD5 hash of public certificate used for message security.
data/docs/bundle.md CHANGED
@@ -76,7 +76,8 @@
76
76
  "has_inbox": true,
77
77
  "paths": [
78
78
  "file.txt"
79
- ]
79
+ ],
80
+ "bundlepaths": "example"
80
81
  }
81
82
  ```
82
83
 
@@ -118,6 +119,7 @@
118
119
  * `watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
119
120
  * `has_inbox` (boolean): Does this bundle have an associated inbox?
120
121
  * `paths` (array): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
122
+ * `bundlepaths` (BundlePath): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
121
123
  * `password` (string): Password for this bundle.
122
124
  * `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
123
125
  * `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
@@ -0,0 +1,13 @@
1
+ # BundlePath
2
+
3
+ ## Example BundlePath Object
4
+
5
+ ```
6
+ {
7
+ "recursive": true,
8
+ "path": "example"
9
+ }
10
+ ```
11
+
12
+ * `recursive` (boolean): Allow access to subfolders content?
13
+ * `path` (string): The path to the resource relative to filesystem. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
@@ -54,7 +54,7 @@ module Files
54
54
  @attributes[:server_certificate] = value
55
55
  end
56
56
 
57
- # string - MDN Validation Level
57
+ # string - MDN Validation Level controls how to evaluate message transfer success based on a partner's MDN response. NOTE: 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.
58
58
  def mdn_validation_level
59
59
  @attributes[:mdn_validation_level]
60
60
  end
@@ -347,6 +347,15 @@ module Files
347
347
  @attributes[:paths] = value
348
348
  end
349
349
 
350
+ # BundlePath - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
351
+ def bundlepaths
352
+ @attributes[:bundlepaths]
353
+ end
354
+
355
+ def bundlepaths=(value)
356
+ @attributes[:bundlepaths] = value
357
+ end
358
+
350
359
  # string - Password for this bundle.
351
360
  def password
352
361
  @attributes[:password]
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class BundlePath
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # boolean - Allow access to subfolders content?
13
+ def recursive
14
+ @attributes[:recursive]
15
+ end
16
+
17
+ # string - The path to the resource relative to filesystem. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
18
+ def path
19
+ @attributes[:path]
20
+ end
21
+ end
22
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.47"
4
+ VERSION = "1.1.49"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -53,6 +53,7 @@ require "files.com/models/behavior"
53
53
  require "files.com/models/bundle"
54
54
  require "files.com/models/bundle_download"
55
55
  require "files.com/models/bundle_notification"
56
+ require "files.com/models/bundle_path"
56
57
  require "files.com/models/bundle_recipient"
57
58
  require "files.com/models/bundle_registration"
58
59
  require "files.com/models/clickwrap"
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.47
4
+ version: 1.1.49
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-04-18 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -135,6 +135,7 @@ files:
135
135
  - docs/bundle.md
136
136
  - docs/bundle_download.md
137
137
  - docs/bundle_notification.md
138
+ - docs/bundle_path.md
138
139
  - docs/bundle_recipient.md
139
140
  - docs/bundle_registration.md
140
141
  - docs/clickwrap.md
@@ -231,6 +232,7 @@ files:
231
232
  - lib/files.com/models/bundle.rb
232
233
  - lib/files.com/models/bundle_download.rb
233
234
  - lib/files.com/models/bundle_notification.rb
235
+ - lib/files.com/models/bundle_path.rb
234
236
  - lib/files.com/models/bundle_recipient.rb
235
237
  - lib/files.com/models/bundle_registration.rb
236
238
  - lib/files.com/models/clickwrap.rb