files.com 1.0.170 → 1.0.173
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.
- package/_VERSION +1 -1
- package/lib/models/Bundle.js +18 -0
- package/package.json +1 -1
- package/src/models/As2IncomingMessage.js +1 -1
- package/src/models/As2OutgoingMessage.js +1 -1
- package/src/models/Bundle.js +27 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.173
|
package/lib/models/Bundle.js
CHANGED
@@ -95,6 +95,24 @@ var Bundle = /*#__PURE__*/(0, _createClass2.default)(function Bundle() {
|
|
95
95
|
(0, _defineProperty2.default)(this, "setFormFieldSet", function (value) {
|
96
96
|
_this.attributes.form_field_set = value;
|
97
97
|
});
|
98
|
+
(0, _defineProperty2.default)(this, "getSkipName", function () {
|
99
|
+
return _this.attributes.skip_name;
|
100
|
+
});
|
101
|
+
(0, _defineProperty2.default)(this, "setSkipName", function (value) {
|
102
|
+
_this.attributes.skip_name = value;
|
103
|
+
});
|
104
|
+
(0, _defineProperty2.default)(this, "getSkipEmail", function () {
|
105
|
+
return _this.attributes.skip_email;
|
106
|
+
});
|
107
|
+
(0, _defineProperty2.default)(this, "setSkipEmail", function (value) {
|
108
|
+
_this.attributes.skip_email = value;
|
109
|
+
});
|
110
|
+
(0, _defineProperty2.default)(this, "getSkipCompany", function () {
|
111
|
+
return _this.attributes.skip_company;
|
112
|
+
});
|
113
|
+
(0, _defineProperty2.default)(this, "setSkipCompany", function (value) {
|
114
|
+
_this.attributes.skip_company = value;
|
115
|
+
});
|
98
116
|
(0, _defineProperty2.default)(this, "getId", function () {
|
99
117
|
return _this.attributes.id;
|
100
118
|
});
|
package/package.json
CHANGED
@@ -40,7 +40,7 @@ class As2IncomingMessage {
|
|
40
40
|
// string # JSON Structure of the activity log.
|
41
41
|
getActivityLog = () => this.attributes.activity_log
|
42
42
|
|
43
|
-
// string # Result of processing.
|
43
|
+
// string # Result of processing.
|
44
44
|
getProcessingResult = () => this.attributes.processing_result
|
45
45
|
|
46
46
|
// string # AS2 TO header of message
|
@@ -37,7 +37,7 @@ class As2OutgoingMessage {
|
|
37
37
|
// string # JSON Structure of the activity log.
|
38
38
|
getActivityLog = () => this.attributes.activity_log
|
39
39
|
|
40
|
-
// string # Result of processing.
|
40
|
+
// string # Result of processing.
|
41
41
|
getProcessingResult = () => this.attributes.processing_result
|
42
42
|
|
43
43
|
// string # AS2 Message Integrity Check
|
package/src/models/Bundle.js
CHANGED
@@ -85,6 +85,27 @@ class Bundle {
|
|
85
85
|
this.attributes.form_field_set = value
|
86
86
|
}
|
87
87
|
|
88
|
+
// boolean # BundleRegistrations can be saved without providing name?
|
89
|
+
getSkipName = () => this.attributes.skip_name
|
90
|
+
|
91
|
+
setSkipName = value => {
|
92
|
+
this.attributes.skip_name = value
|
93
|
+
}
|
94
|
+
|
95
|
+
// boolean # BundleRegistrations can be saved without providing email?
|
96
|
+
getSkipEmail = () => this.attributes.skip_email
|
97
|
+
|
98
|
+
setSkipEmail = value => {
|
99
|
+
this.attributes.skip_email = value
|
100
|
+
}
|
101
|
+
|
102
|
+
// boolean # BundleRegistrations can be saved without providing company?
|
103
|
+
getSkipCompany = () => this.attributes.skip_company
|
104
|
+
|
105
|
+
setSkipCompany = value => {
|
106
|
+
this.attributes.skip_company = value
|
107
|
+
}
|
108
|
+
|
88
109
|
// int64 # Bundle ID
|
89
110
|
getId = () => this.attributes.id
|
90
111
|
|
@@ -257,6 +278,9 @@ class Bundle {
|
|
257
278
|
// preview_only - boolean - Restrict users to previewing files only?
|
258
279
|
// require_registration - boolean - Show a registration page that captures the downloader's name and email address?
|
259
280
|
// require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
281
|
+
// skip_email - boolean - BundleRegistrations can be saved without providing email?
|
282
|
+
// skip_name - boolean - BundleRegistrations can be saved without providing name?
|
283
|
+
// skip_company - boolean - BundleRegistrations can be saved without providing company?
|
260
284
|
// watermark_attachment_delete - boolean - If true, will delete the file stored in watermark_attachment
|
261
285
|
// watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
262
286
|
update = async (params = {}) => {
|
@@ -428,6 +452,9 @@ class Bundle {
|
|
428
452
|
// clickwrap_id - int64 - ID of the clickwrap to use with this bundle.
|
429
453
|
// inbox_id - int64 - ID of the associated inbox, if available.
|
430
454
|
// require_share_recipient - boolean - Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
455
|
+
// skip_email - boolean - BundleRegistrations can be saved without providing email?
|
456
|
+
// skip_name - boolean - BundleRegistrations can be saved without providing name?
|
457
|
+
// skip_company - boolean - BundleRegistrations can be saved without providing company?
|
431
458
|
// watermark_attachment_file - file - Preview watermark image applied to all bundle items.
|
432
459
|
static create = async (params = {}, options = {}) => {
|
433
460
|
if (!params['paths']) {
|