files.com 1.2.248 → 1.2.250

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.
Files changed (91) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/Bundle.md +4 -2
  3. package/docs/models/FormFieldSet.md +5 -2
  4. package/lib/Api.js +72 -71
  5. package/lib/Files.js +1 -1
  6. package/lib/isomorphic/File.node.js +5 -5
  7. package/lib/models/ActionNotificationExport.js +38 -38
  8. package/lib/models/ActionNotificationExportResult.js +14 -14
  9. package/lib/models/ApiKey.js +100 -100
  10. package/lib/models/ApiRequestLog.js +8 -8
  11. package/lib/models/App.js +8 -8
  12. package/lib/models/As2IncomingMessage.js +10 -10
  13. package/lib/models/As2OutgoingMessage.js +10 -10
  14. package/lib/models/As2Partner.js +101 -101
  15. package/lib/models/As2Station.js +81 -81
  16. package/lib/models/Automation.js +167 -167
  17. package/lib/models/AutomationLog.js +8 -8
  18. package/lib/models/AutomationRun.js +24 -24
  19. package/lib/models/BandwidthSnapshot.js +8 -8
  20. package/lib/models/Behavior.js +106 -106
  21. package/lib/models/Bundle.js +143 -143
  22. package/lib/models/BundleAction.js +10 -10
  23. package/lib/models/BundleDownload.js +12 -12
  24. package/lib/models/BundleNotification.js +69 -69
  25. package/lib/models/BundleRecipient.js +40 -40
  26. package/lib/models/BundleRegistration.js +12 -12
  27. package/lib/models/Clickwrap.js +79 -79
  28. package/lib/models/DnsRecord.js +8 -8
  29. package/lib/models/EmailIncomingMessage.js +8 -8
  30. package/lib/models/EmailLog.js +8 -8
  31. package/lib/models/ExavaultApiRequestLog.js +8 -8
  32. package/lib/models/ExternalEvent.js +36 -36
  33. package/lib/models/File.js +269 -269
  34. package/lib/models/FileComment.js +70 -70
  35. package/lib/models/FileCommentReaction.js +34 -34
  36. package/lib/models/FileMigration.js +10 -10
  37. package/lib/models/FileMigrationLog.js +8 -8
  38. package/lib/models/Folder.js +36 -36
  39. package/lib/models/FormFieldSet.js +78 -71
  40. package/lib/models/FtpActionLog.js +8 -8
  41. package/lib/models/GpgKey.js +81 -81
  42. package/lib/models/Group.js +83 -83
  43. package/lib/models/GroupUser.js +89 -89
  44. package/lib/models/History.js +88 -88
  45. package/lib/models/HistoryExport.js +64 -64
  46. package/lib/models/HistoryExportResult.js +14 -14
  47. package/lib/models/InboxRecipient.js +36 -36
  48. package/lib/models/InboxRegistration.js +10 -10
  49. package/lib/models/InboxUpload.js +8 -8
  50. package/lib/models/Invoice.js +18 -18
  51. package/lib/models/IpAddress.js +32 -32
  52. package/lib/models/Lock.js +51 -51
  53. package/lib/models/Message.js +100 -100
  54. package/lib/models/MessageComment.js +78 -78
  55. package/lib/models/MessageCommentReaction.js +54 -54
  56. package/lib/models/MessageReaction.js +54 -54
  57. package/lib/models/Notification.js +91 -91
  58. package/lib/models/OutboundConnectionLog.js +8 -8
  59. package/lib/models/Payment.js +18 -18
  60. package/lib/models/Permission.js +54 -54
  61. package/lib/models/Priority.js +14 -14
  62. package/lib/models/Project.js +70 -70
  63. package/lib/models/PublicHostingRequestLog.js +8 -8
  64. package/lib/models/PublicKey.js +78 -78
  65. package/lib/models/RemoteBandwidthSnapshot.js +8 -8
  66. package/lib/models/RemoteServer.js +362 -362
  67. package/lib/models/Request.js +60 -60
  68. package/lib/models/Restore.js +24 -24
  69. package/lib/models/Session.js +21 -21
  70. package/lib/models/SettingsChange.js +8 -8
  71. package/lib/models/SftpActionLog.js +8 -8
  72. package/lib/models/SftpHostKey.js +67 -67
  73. package/lib/models/ShareGroup.js +79 -79
  74. package/lib/models/SiemHttpDestination.js +158 -158
  75. package/lib/models/Site.js +150 -150
  76. package/lib/models/Snapshot.js +85 -85
  77. package/lib/models/SsoStrategy.js +32 -32
  78. package/lib/models/Style.js +48 -48
  79. package/lib/models/SyncLog.js +8 -8
  80. package/lib/models/UsageDailySnapshot.js +8 -8
  81. package/lib/models/UsageSnapshot.js +8 -8
  82. package/lib/models/User.js +215 -215
  83. package/lib/models/UserCipherUse.js +10 -10
  84. package/lib/models/UserLifecycleRule.js +92 -92
  85. package/lib/models/UserRequest.js +56 -56
  86. package/lib/models/UserSftpClientUse.js +10 -10
  87. package/lib/models/WebDavActionLog.js +8 -8
  88. package/lib/models/WebhookTest.js +24 -24
  89. package/package.json +1 -1
  90. package/src/Files.js +1 -1
  91. package/src/models/FormFieldSet.js +7 -0
@@ -70,46 +70,46 @@ var UserRequest = /*#__PURE__*/(0, _createClass2.default)(function UserRequest()
70
70
  (0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
71
71
  var params,
72
72
  _args = arguments;
73
- return _regenerator.default.wrap(function _callee$(_context) {
73
+ return _regenerator.default.wrap(function (_context) {
74
74
  while (1) switch (_context.prev = _context.next) {
75
75
  case 0:
76
76
  params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
77
77
  if (_this.attributes.id) {
78
- _context.next = 3;
78
+ _context.next = 1;
79
79
  break;
80
80
  }
81
81
  throw new errors.EmptyPropertyError('Current object has no id');
82
- case 3:
82
+ case 1:
83
83
  if ((0, _utils.isObject)(params)) {
84
- _context.next = 5;
84
+ _context.next = 2;
85
85
  break;
86
86
  }
87
87
  throw new errors.InvalidParameterError("Bad parameter: params must be of type object, received ".concat((0, _utils.getType)(params)));
88
- case 5:
88
+ case 2:
89
89
  params.id = _this.attributes.id;
90
90
  if (!(params.id && !(0, _utils.isInt)(params.id))) {
91
- _context.next = 8;
91
+ _context.next = 3;
92
92
  break;
93
93
  }
94
94
  throw new errors.InvalidParameterError("Bad parameter: id must be of type Int, received ".concat((0, _utils.getType)(params.id)));
95
- case 8:
95
+ case 3:
96
96
  if (params.id) {
97
- _context.next = 14;
97
+ _context.next = 5;
98
98
  break;
99
99
  }
100
100
  if (!_this.attributes.id) {
101
- _context.next = 13;
101
+ _context.next = 4;
102
102
  break;
103
103
  }
104
104
  params.id = _this.id;
105
- _context.next = 14;
105
+ _context.next = 5;
106
106
  break;
107
- case 13:
107
+ case 4:
108
108
  throw new errors.MissingParameterError('Parameter missing: id');
109
- case 14:
110
- _context.next = 16;
109
+ case 5:
110
+ _context.next = 6;
111
111
  return _Api.default.sendRequest("/user_requests/".concat(encodeURIComponent(params.id)), 'DELETE', params, _this.options);
112
- case 16:
112
+ case 6:
113
113
  case "end":
114
114
  return _context.stop();
115
115
  }
@@ -121,22 +121,22 @@ var UserRequest = /*#__PURE__*/(0, _createClass2.default)(function UserRequest()
121
121
  });
122
122
  (0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
123
123
  var newObject;
124
- return _regenerator.default.wrap(function _callee2$(_context2) {
124
+ return _regenerator.default.wrap(function (_context2) {
125
125
  while (1) switch (_context2.prev = _context2.next) {
126
126
  case 0:
127
127
  if (!_this.attributes.id) {
128
- _context2.next = 4;
128
+ _context2.next = 1;
129
129
  break;
130
130
  }
131
131
  throw new errors.NotImplementedError('The UserRequest object doesn\'t support updates.');
132
- case 4:
133
- _context2.next = 6;
132
+ case 1:
133
+ _context2.next = 2;
134
134
  return UserRequest.create(_this.attributes, _this.options);
135
- case 6:
135
+ case 2:
136
136
  newObject = _context2.sent;
137
137
  _this.attributes = _objectSpread({}, newObject.attributes);
138
138
  return _context2.abrupt("return", true);
139
- case 9:
139
+ case 3:
140
140
  case "end":
141
141
  return _context2.stop();
142
142
  }
@@ -165,31 +165,31 @@ _UserRequest = UserRequest;
165
165
  options,
166
166
  response,
167
167
  _args3 = arguments;
168
- return _regenerator.default.wrap(function _callee3$(_context3) {
168
+ return _regenerator.default.wrap(function (_context3) {
169
169
  while (1) switch (_context3.prev = _context3.next) {
170
170
  case 0:
171
171
  params = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
172
172
  options = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : {};
173
173
  if (!(params.cursor && !(0, _utils.isString)(params.cursor))) {
174
- _context3.next = 4;
174
+ _context3.next = 1;
175
175
  break;
176
176
  }
177
177
  throw new errors.InvalidParameterError("Bad parameter: cursor must be of type String, received ".concat((0, _utils.getType)(params.cursor)));
178
- case 4:
178
+ case 1:
179
179
  if (!(params.per_page && !(0, _utils.isInt)(params.per_page))) {
180
- _context3.next = 6;
180
+ _context3.next = 2;
181
181
  break;
182
182
  }
183
183
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
184
- case 6:
185
- _context3.next = 8;
184
+ case 2:
185
+ _context3.next = 3;
186
186
  return _Api.default.sendRequest('/user_requests', 'GET', params, options);
187
- case 8:
187
+ case 3:
188
188
  response = _context3.sent;
189
189
  return _context3.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
190
190
  return new _UserRequest(obj, options);
191
191
  })) || []);
192
- case 10:
192
+ case 4:
193
193
  case "end":
194
194
  return _context3.stop();
195
195
  }
@@ -208,36 +208,36 @@ _UserRequest = UserRequest;
208
208
  options,
209
209
  response,
210
210
  _args4 = arguments;
211
- return _regenerator.default.wrap(function _callee4$(_context4) {
211
+ return _regenerator.default.wrap(function (_context4) {
212
212
  while (1) switch (_context4.prev = _context4.next) {
213
213
  case 0:
214
214
  params = _args4.length > 1 && _args4[1] !== undefined ? _args4[1] : {};
215
215
  options = _args4.length > 2 && _args4[2] !== undefined ? _args4[2] : {};
216
216
  if ((0, _utils.isObject)(params)) {
217
- _context4.next = 4;
217
+ _context4.next = 1;
218
218
  break;
219
219
  }
220
220
  throw new errors.InvalidParameterError("Bad parameter: params must be of type object, received ".concat((0, _utils.getType)(params)));
221
- case 4:
221
+ case 1:
222
222
  params.id = id;
223
223
  if (params.id) {
224
- _context4.next = 7;
224
+ _context4.next = 2;
225
225
  break;
226
226
  }
227
227
  throw new errors.MissingParameterError('Parameter missing: id');
228
- case 7:
228
+ case 2:
229
229
  if (!(params.id && !(0, _utils.isInt)(params.id))) {
230
- _context4.next = 9;
230
+ _context4.next = 3;
231
231
  break;
232
232
  }
233
233
  throw new errors.InvalidParameterError("Bad parameter: id must be of type Int, received ".concat((0, _utils.getType)(params.id)));
234
- case 9:
235
- _context4.next = 11;
234
+ case 3:
235
+ _context4.next = 4;
236
236
  return _Api.default.sendRequest("/user_requests/".concat(encodeURIComponent(params.id)), 'GET', params, options);
237
- case 11:
237
+ case 4:
238
238
  response = _context4.sent;
239
239
  return _context4.abrupt("return", new _UserRequest(response === null || response === void 0 ? void 0 : response.data, options));
240
- case 13:
240
+ case 5:
241
241
  case "end":
242
242
  return _context4.stop();
243
243
  }
@@ -262,59 +262,59 @@ _UserRequest = UserRequest;
262
262
  options,
263
263
  response,
264
264
  _args5 = arguments;
265
- return _regenerator.default.wrap(function _callee5$(_context5) {
265
+ return _regenerator.default.wrap(function (_context5) {
266
266
  while (1) switch (_context5.prev = _context5.next) {
267
267
  case 0:
268
268
  params = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
269
269
  options = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : {};
270
270
  if (params.name) {
271
- _context5.next = 4;
271
+ _context5.next = 1;
272
272
  break;
273
273
  }
274
274
  throw new errors.MissingParameterError('Parameter missing: name');
275
- case 4:
275
+ case 1:
276
276
  if (params.email) {
277
- _context5.next = 6;
277
+ _context5.next = 2;
278
278
  break;
279
279
  }
280
280
  throw new errors.MissingParameterError('Parameter missing: email');
281
- case 6:
281
+ case 2:
282
282
  if (params.details) {
283
- _context5.next = 8;
283
+ _context5.next = 3;
284
284
  break;
285
285
  }
286
286
  throw new errors.MissingParameterError('Parameter missing: details');
287
- case 8:
287
+ case 3:
288
288
  if (!(params.name && !(0, _utils.isString)(params.name))) {
289
- _context5.next = 10;
289
+ _context5.next = 4;
290
290
  break;
291
291
  }
292
292
  throw new errors.InvalidParameterError("Bad parameter: name must be of type String, received ".concat((0, _utils.getType)(params.name)));
293
- case 10:
293
+ case 4:
294
294
  if (!(params.email && !(0, _utils.isString)(params.email))) {
295
- _context5.next = 12;
295
+ _context5.next = 5;
296
296
  break;
297
297
  }
298
298
  throw new errors.InvalidParameterError("Bad parameter: email must be of type String, received ".concat((0, _utils.getType)(params.email)));
299
- case 12:
299
+ case 5:
300
300
  if (!(params.details && !(0, _utils.isString)(params.details))) {
301
- _context5.next = 14;
301
+ _context5.next = 6;
302
302
  break;
303
303
  }
304
304
  throw new errors.InvalidParameterError("Bad parameter: details must be of type String, received ".concat((0, _utils.getType)(params.details)));
305
- case 14:
305
+ case 6:
306
306
  if (!(params.company && !(0, _utils.isString)(params.company))) {
307
- _context5.next = 16;
307
+ _context5.next = 7;
308
308
  break;
309
309
  }
310
310
  throw new errors.InvalidParameterError("Bad parameter: company must be of type String, received ".concat((0, _utils.getType)(params.company)));
311
- case 16:
312
- _context5.next = 18;
311
+ case 7:
312
+ _context5.next = 8;
313
313
  return _Api.default.sendRequest('/user_requests', 'POST', params, options);
314
- case 18:
314
+ case 8:
315
315
  response = _context5.sent;
316
316
  return _context5.abrupt("return", new _UserRequest(response === null || response === void 0 ? void 0 : response.data, options));
317
- case 20:
317
+ case 9:
318
318
  case "end":
319
319
  return _context5.stop();
320
320
  }
@@ -76,37 +76,37 @@ _UserSftpClientUse = UserSftpClientUse;
76
76
  options,
77
77
  response,
78
78
  _args = arguments;
79
- return _regenerator.default.wrap(function _callee$(_context) {
79
+ return _regenerator.default.wrap(function (_context) {
80
80
  while (1) switch (_context.prev = _context.next) {
81
81
  case 0:
82
82
  params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
83
83
  options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
84
84
  if (!(params.user_id && !(0, _utils.isInt)(params.user_id))) {
85
- _context.next = 4;
85
+ _context.next = 1;
86
86
  break;
87
87
  }
88
88
  throw new errors.InvalidParameterError("Bad parameter: user_id must be of type Int, received ".concat((0, _utils.getType)(params.user_id)));
89
- case 4:
89
+ case 1:
90
90
  if (!(params.cursor && !(0, _utils.isString)(params.cursor))) {
91
- _context.next = 6;
91
+ _context.next = 2;
92
92
  break;
93
93
  }
94
94
  throw new errors.InvalidParameterError("Bad parameter: cursor must be of type String, received ".concat((0, _utils.getType)(params.cursor)));
95
- case 6:
95
+ case 2:
96
96
  if (!(params.per_page && !(0, _utils.isInt)(params.per_page))) {
97
- _context.next = 8;
97
+ _context.next = 3;
98
98
  break;
99
99
  }
100
100
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
101
- case 8:
102
- _context.next = 10;
101
+ case 3:
102
+ _context.next = 4;
103
103
  return _Api.default.sendRequest('/user_sftp_client_uses', 'GET', params, options);
104
- case 10:
104
+ case 4:
105
105
  response = _context.sent;
106
106
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
107
107
  return new _UserSftpClientUse(obj, options);
108
108
  })) || []);
109
- case 12:
109
+ case 5:
110
110
  case "end":
111
111
  return _context.stop();
112
112
  }
@@ -125,31 +125,31 @@ _WebDavActionLog = WebDavActionLog;
125
125
  options,
126
126
  response,
127
127
  _args = arguments;
128
- return _regenerator.default.wrap(function _callee$(_context) {
128
+ return _regenerator.default.wrap(function (_context) {
129
129
  while (1) switch (_context.prev = _context.next) {
130
130
  case 0:
131
131
  params = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
132
132
  options = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
133
133
  if (!(params.cursor && !(0, _utils.isString)(params.cursor))) {
134
- _context.next = 4;
134
+ _context.next = 1;
135
135
  break;
136
136
  }
137
137
  throw new errors.InvalidParameterError("Bad parameter: cursor must be of type String, received ".concat((0, _utils.getType)(params.cursor)));
138
- case 4:
138
+ case 1:
139
139
  if (!(params.per_page && !(0, _utils.isInt)(params.per_page))) {
140
- _context.next = 6;
140
+ _context.next = 2;
141
141
  break;
142
142
  }
143
143
  throw new errors.InvalidParameterError("Bad parameter: per_page must be of type Int, received ".concat((0, _utils.getType)(params.per_page)));
144
- case 6:
145
- _context.next = 8;
144
+ case 2:
145
+ _context.next = 3;
146
146
  return _Api.default.sendRequest('/web_dav_action_logs', 'GET', params, options);
147
- case 8:
147
+ case 3:
148
148
  response = _context.sent;
149
149
  return _context.abrupt("return", (response === null || response === void 0 || (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.map(function (obj) {
150
150
  return new _WebDavActionLog(obj, options);
151
151
  })) || []);
152
- case 10:
152
+ case 4:
153
153
  case "end":
154
154
  return _context.stop();
155
155
  }
@@ -139,22 +139,22 @@ var WebhookTest = /*#__PURE__*/(0, _createClass2.default)(function WebhookTest()
139
139
  });
140
140
  (0, _defineProperty2.default)(this, "save", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
141
141
  var newObject;
142
- return _regenerator.default.wrap(function _callee$(_context) {
142
+ return _regenerator.default.wrap(function (_context) {
143
143
  while (1) switch (_context.prev = _context.next) {
144
144
  case 0:
145
145
  if (!_this.attributes.id) {
146
- _context.next = 4;
146
+ _context.next = 1;
147
147
  break;
148
148
  }
149
149
  throw new errors.NotImplementedError('The WebhookTest object doesn\'t support updates.');
150
- case 4:
151
- _context.next = 6;
150
+ case 1:
151
+ _context.next = 2;
152
152
  return WebhookTest.create(_this.attributes, _this.options);
153
- case 6:
153
+ case 2:
154
154
  newObject = _context.sent;
155
155
  _this.attributes = _objectSpread({}, newObject.attributes);
156
156
  return _context.abrupt("return", true);
157
- case 9:
157
+ case 3:
158
158
  case "end":
159
159
  return _context.stop();
160
160
  }
@@ -190,59 +190,59 @@ _WebhookTest = WebhookTest;
190
190
  options,
191
191
  response,
192
192
  _args2 = arguments;
193
- return _regenerator.default.wrap(function _callee2$(_context2) {
193
+ return _regenerator.default.wrap(function (_context2) {
194
194
  while (1) switch (_context2.prev = _context2.next) {
195
195
  case 0:
196
196
  params = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
197
197
  options = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
198
198
  if (params.url) {
199
- _context2.next = 4;
199
+ _context2.next = 1;
200
200
  break;
201
201
  }
202
202
  throw new errors.MissingParameterError('Parameter missing: url');
203
- case 4:
203
+ case 1:
204
204
  if (!(params.url && !(0, _utils.isString)(params.url))) {
205
- _context2.next = 6;
205
+ _context2.next = 2;
206
206
  break;
207
207
  }
208
208
  throw new errors.InvalidParameterError("Bad parameter: url must be of type String, received ".concat((0, _utils.getType)(params.url)));
209
- case 6:
209
+ case 2:
210
210
  if (!(params.method && !(0, _utils.isString)(params.method))) {
211
- _context2.next = 8;
211
+ _context2.next = 3;
212
212
  break;
213
213
  }
214
214
  throw new errors.InvalidParameterError("Bad parameter: method must be of type String, received ".concat((0, _utils.getType)(params.method)));
215
- case 8:
215
+ case 3:
216
216
  if (!(params.encoding && !(0, _utils.isString)(params.encoding))) {
217
- _context2.next = 10;
217
+ _context2.next = 4;
218
218
  break;
219
219
  }
220
220
  throw new errors.InvalidParameterError("Bad parameter: encoding must be of type String, received ".concat((0, _utils.getType)(params.encoding)));
221
- case 10:
221
+ case 4:
222
222
  if (!(params.raw_body && !(0, _utils.isString)(params.raw_body))) {
223
- _context2.next = 12;
223
+ _context2.next = 5;
224
224
  break;
225
225
  }
226
226
  throw new errors.InvalidParameterError("Bad parameter: raw_body must be of type String, received ".concat((0, _utils.getType)(params.raw_body)));
227
- case 12:
227
+ case 5:
228
228
  if (!(params.file_form_field && !(0, _utils.isString)(params.file_form_field))) {
229
- _context2.next = 14;
229
+ _context2.next = 6;
230
230
  break;
231
231
  }
232
232
  throw new errors.InvalidParameterError("Bad parameter: file_form_field must be of type String, received ".concat((0, _utils.getType)(params.file_form_field)));
233
- case 14:
233
+ case 6:
234
234
  if (!(params.action && !(0, _utils.isString)(params.action))) {
235
- _context2.next = 16;
235
+ _context2.next = 7;
236
236
  break;
237
237
  }
238
238
  throw new errors.InvalidParameterError("Bad parameter: action must be of type String, received ".concat((0, _utils.getType)(params.action)));
239
- case 16:
240
- _context2.next = 18;
239
+ case 7:
240
+ _context2.next = 8;
241
241
  return _Api.default.sendRequest('/webhook_tests', 'POST', params, options);
242
- case 18:
242
+ case 8:
243
243
  response = _context2.sent;
244
244
  return _context2.abrupt("return", new _WebhookTest(response === null || response === void 0 ? void 0 : response.data, options));
245
- case 20:
245
+ case 9:
246
246
  case "end":
247
247
  return _context2.stop();
248
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.2.248",
3
+ "version": "1.2.250",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -6,7 +6,7 @@ let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
8
  let language = null
9
- const version = '1.2.248'
9
+ const version = '1.2.250'
10
10
  let userAgent = `Files.com JavaScript SDK v${version}`
11
11
 
12
12
  let logLevel = LogLevel.INFO
@@ -77,6 +77,13 @@ class FormFieldSet {
77
77
  this.attributes.skip_company = value
78
78
  }
79
79
 
80
+ // boolean # Form Field Set is in use by an active Inbox / Bundle / Inbox Registration / Bundle Registration
81
+ getInUse = () => this.attributes.in_use
82
+
83
+ setInUse = value => {
84
+ this.attributes.in_use = value
85
+ }
86
+
80
87
  // int64 # User ID. Provide a value of `0` to operate the current session's user.
81
88
  getUserId = () => this.attributes.user_id
82
89