files.com 1.0.252 → 1.0.255
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 +1 -1
- data/docs/as2_outgoing_message.md +1 -1
- data/docs/bundle.md +25 -1
- data/lib/files.com/models/as2_incoming_message.rb +1 -1
- data/lib/files.com/models/as2_outgoing_message.rb +1 -1
- data/lib/files.com/models/bundle.rb +36 -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: d1052dbfdcdc10cd5ad4292709fd702ec58b39aa8d201b44fdac02ec00e90d80
|
4
|
+
data.tar.gz: 1d4137b4e1813aa2182aa2ed2c5b0a9b9c8be36face51277adb06270e7c47d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb78b76f70cccf4929ac7ddfcd60413fd31098ed1170d7ab878087658e8b653333de165ab9b99f8fdc6e3faf2ed37c11c7a85885762c263135250e3aa9c700bd
|
7
|
+
data.tar.gz: 25c6297a670e1f3ca12c3c26b168bb48fae9e788a49d87bc0cd2cc2b177677c98637bbe2c14e13a89d0c8447f4fd4dd57d1dc321008048bf0f5586388a1ee98f
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.255
|
@@ -27,7 +27,7 @@
|
|
27
27
|
* `content_type` (string): Content Type header of the incoming message.
|
28
28
|
* `http_headers` (object): HTTP Headers sent with this message.
|
29
29
|
* `activity_log` (string): JSON Structure of the activity log.
|
30
|
-
* `processing_result` (string): Result of processing.
|
30
|
+
* `processing_result` (string): Result of processing.
|
31
31
|
* `as2_to` (string): AS2 TO header of message
|
32
32
|
* `as2_from` (string): AS2 FROM header of message
|
33
33
|
* `message_id` (string): AS2 Message Id
|
@@ -23,7 +23,7 @@
|
|
23
23
|
* `uuid` (string): UUID assigned to this message.
|
24
24
|
* `http_headers` (object): HTTP Headers sent with this message.
|
25
25
|
* `activity_log` (string): JSON Structure of the activity log.
|
26
|
-
* `processing_result` (string): Result of processing.
|
26
|
+
* `processing_result` (string): Result of processing.
|
27
27
|
* `mic` (string): AS2 Message Integrity Check
|
28
28
|
* `message_id` (string): AS2 Message Id
|
29
29
|
* `body_size` (string): Encrypted Payload Body Size
|
data/docs/bundle.md
CHANGED
@@ -39,6 +39,9 @@
|
|
39
39
|
"skip_email": true,
|
40
40
|
"skip_company": true
|
41
41
|
},
|
42
|
+
"skip_name": true,
|
43
|
+
"skip_email": true,
|
44
|
+
"skip_company": true,
|
42
45
|
"id": 1,
|
43
46
|
"created_at": "2000-01-01T01:00:00Z",
|
44
47
|
"expires_at": "2000-01-01T01:00:00Z",
|
@@ -69,6 +72,9 @@
|
|
69
72
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
70
73
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
71
74
|
* `form_field_set` (FormFieldSet): Custom Form to use
|
75
|
+
* `skip_name` (boolean): BundleRegistrations can be saved without providing name?
|
76
|
+
* `skip_email` (boolean): BundleRegistrations can be saved without providing email?
|
77
|
+
* `skip_company` (boolean): BundleRegistrations can be saved without providing company?
|
72
78
|
* `id` (int64): Bundle ID
|
73
79
|
* `created_at` (date-time): Bundle created at date/time
|
74
80
|
* `expires_at` (date-time): Bundle expiration date/time
|
@@ -145,7 +151,10 @@ Files::Bundle.create(
|
|
145
151
|
require_registration: true,
|
146
152
|
clickwrap_id: 1,
|
147
153
|
inbox_id: 1,
|
148
|
-
require_share_recipient: true
|
154
|
+
require_share_recipient: true,
|
155
|
+
skip_email: true,
|
156
|
+
skip_name: true,
|
157
|
+
skip_company: true
|
149
158
|
)
|
150
159
|
```
|
151
160
|
|
@@ -165,6 +174,9 @@ Files::Bundle.create(
|
|
165
174
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
166
175
|
* `inbox_id` (int64): ID of the associated inbox, if available.
|
167
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?
|
168
180
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
169
181
|
|
170
182
|
|
@@ -207,6 +219,9 @@ Files::Bundle.update(id,
|
|
207
219
|
preview_only: true,
|
208
220
|
require_registration: true,
|
209
221
|
require_share_recipient: true,
|
222
|
+
skip_email: true,
|
223
|
+
skip_name: true,
|
224
|
+
skip_company: true,
|
210
225
|
watermark_attachment_delete: true
|
211
226
|
)
|
212
227
|
```
|
@@ -227,6 +242,9 @@ Files::Bundle.update(id,
|
|
227
242
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
228
243
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
229
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?
|
230
248
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
231
249
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
232
250
|
|
@@ -287,6 +305,9 @@ bundle.update(
|
|
287
305
|
preview_only: true,
|
288
306
|
require_registration: true,
|
289
307
|
require_share_recipient: true,
|
308
|
+
skip_email: true,
|
309
|
+
skip_name: true,
|
310
|
+
skip_company: true,
|
290
311
|
watermark_attachment_delete: true
|
291
312
|
)
|
292
313
|
```
|
@@ -307,6 +328,9 @@ bundle.update(
|
|
307
328
|
* `preview_only` (boolean): Restrict users to previewing files only?
|
308
329
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
309
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?
|
310
334
|
* `watermark_attachment_delete` (boolean): If true, will delete the file stored in watermark_attachment
|
311
335
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
312
336
|
|
@@ -39,7 +39,7 @@ module Files
|
|
39
39
|
@attributes[:activity_log]
|
40
40
|
end
|
41
41
|
|
42
|
-
# string - Result of processing.
|
42
|
+
# string - Result of processing.
|
43
43
|
def processing_result
|
44
44
|
@attributes[:processing_result]
|
45
45
|
end
|
@@ -90,6 +90,33 @@ module Files
|
|
90
90
|
@attributes[:form_field_set] = value
|
91
91
|
end
|
92
92
|
|
93
|
+
# boolean - BundleRegistrations can be saved without providing name?
|
94
|
+
def skip_name
|
95
|
+
@attributes[:skip_name]
|
96
|
+
end
|
97
|
+
|
98
|
+
def skip_name=(value)
|
99
|
+
@attributes[:skip_name] = value
|
100
|
+
end
|
101
|
+
|
102
|
+
# boolean - BundleRegistrations can be saved without providing email?
|
103
|
+
def skip_email
|
104
|
+
@attributes[:skip_email]
|
105
|
+
end
|
106
|
+
|
107
|
+
def skip_email=(value)
|
108
|
+
@attributes[:skip_email] = value
|
109
|
+
end
|
110
|
+
|
111
|
+
# boolean - BundleRegistrations can be saved without providing company?
|
112
|
+
def skip_company
|
113
|
+
@attributes[:skip_company]
|
114
|
+
end
|
115
|
+
|
116
|
+
def skip_company=(value)
|
117
|
+
@attributes[:skip_company] = value
|
118
|
+
end
|
119
|
+
|
93
120
|
# int64 - Bundle ID
|
94
121
|
def id
|
95
122
|
@attributes[:id]
|
@@ -272,6 +299,9 @@ module Files
|
|
272
299
|
# preview_only - boolean - Restrict users to previewing files only?
|
273
300
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
274
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?
|
275
305
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
276
306
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
277
307
|
def update(params = {})
|
@@ -380,6 +410,9 @@ module Files
|
|
380
410
|
# clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
381
411
|
# inbox_id - int64 - ID of the associated inbox, if available.
|
382
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?
|
383
416
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
384
417
|
def self.create(params = {}, options = {})
|
385
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)
|
@@ -432,6 +465,9 @@ module Files
|
|
432
465
|
# preview_only - boolean - Restrict users to previewing files only?
|
433
466
|
# require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
434
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?
|
435
471
|
# watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
436
472
|
# watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
437
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.255
|
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-03
|
11
|
+
date: 2022-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|