files.com 1.0.171 → 1.0.174

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 CHANGED
@@ -1 +1 @@
1
- 1.0.171
1
+ 1.0.174
@@ -53,6 +53,12 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
53
53
  (0, _defineProperty2.default)(this, "setAutomation", function (value) {
54
54
  _this.attributes.automation = value;
55
55
  });
56
+ (0, _defineProperty2.default)(this, "getDisabled", function () {
57
+ return _this.attributes.disabled;
58
+ });
59
+ (0, _defineProperty2.default)(this, "setDisabled", function (value) {
60
+ _this.attributes.disabled = value;
61
+ });
56
62
  (0, _defineProperty2.default)(this, "getTrigger", function () {
57
63
  return _this.attributes.trigger;
58
64
  });
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.171",
3
+ "version": "1.0.174",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -36,6 +36,13 @@ class Automation {
36
36
  this.attributes.automation = value
37
37
  }
38
38
 
39
+ // boolean # If true, this automation will not run.
40
+ getDisabled = () => this.attributes.disabled
41
+
42
+ setDisabled = value => {
43
+ this.attributes.disabled = value
44
+ }
45
+
39
46
  // string # How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
40
47
  getTrigger = () => this.attributes.trigger
41
48
 
@@ -169,6 +176,7 @@ class Automation {
169
176
  // group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
170
177
  // schedule - object - Custom schedule for running this automation.
171
178
  // description - string - Description for the this Automation.
179
+ // disabled - boolean - If true, this automation will not run.
172
180
  // name - string - Name for this automation.
173
181
  // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
174
182
  // trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
@@ -360,6 +368,7 @@ class Automation {
360
368
  // group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
361
369
  // schedule - object - Custom schedule for running this automation.
362
370
  // description - string - Description for the this Automation.
371
+ // disabled - boolean - If true, this automation will not run.
363
372
  // name - string - Name for this automation.
364
373
  // trigger - string - How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
365
374
  // trigger_actions - array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
@@ -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']) {