files.com 1.0.164 → 1.0.167
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/README.md +9 -5
- package/_VERSION +1 -1
- package/lib/models/ActionWebhookFailure.js +8 -2
- package/lib/models/ApiKey.js +16 -4
- package/lib/models/As2Partner.js +46 -4
- package/lib/models/As2Station.js +74 -80
- package/lib/models/Automation.js +16 -4
- package/lib/models/Behavior.js +16 -4
- package/lib/models/Bundle.js +24 -6
- package/lib/models/Clickwrap.js +16 -4
- package/lib/models/File.js +309 -311
- package/lib/models/FileComment.js +16 -4
- package/lib/models/FileCommentReaction.js +8 -2
- package/lib/models/FormFieldSet.js +16 -4
- package/lib/models/Group.js +16 -4
- package/lib/models/GroupUser.js +16 -4
- package/lib/models/Lock.js +8 -2
- package/lib/models/Message.js +16 -4
- package/lib/models/MessageComment.js +16 -4
- package/lib/models/MessageCommentReaction.js +8 -2
- package/lib/models/MessageReaction.js +8 -2
- package/lib/models/Notification.js +16 -4
- package/lib/models/Permission.js +8 -2
- package/lib/models/Project.js +16 -4
- package/lib/models/PublicKey.js +16 -4
- package/lib/models/RemoteServer.js +16 -4
- package/lib/models/Request.js +8 -2
- package/lib/models/SsoStrategy.js +8 -2
- package/lib/models/Style.js +16 -4
- package/lib/models/User.js +40 -10
- package/lib/models/UserRequest.js +8 -2
- package/package.json +1 -1
- package/src/models/AccountLineItem.js +2 -2
- package/src/models/ActionWebhookFailure.js +3 -1
- package/src/models/ApiKey.js +6 -2
- package/src/models/As2Partner.js +41 -2
- package/src/models/As2Station.js +48 -35
- package/src/models/Automation.js +6 -2
- package/src/models/Behavior.js +6 -2
- package/src/models/Bundle.js +11 -5
- package/src/models/BundleDownload.js +1 -0
- package/src/models/Clickwrap.js +6 -2
- package/src/models/File.js +27 -20
- package/src/models/FileComment.js +7 -3
- package/src/models/FileCommentReaction.js +3 -1
- package/src/models/Folder.js +1 -1
- package/src/models/FormFieldSet.js +7 -3
- package/src/models/Group.js +6 -2
- package/src/models/GroupUser.js +6 -2
- package/src/models/InboxUpload.js +1 -0
- package/src/models/Invoice.js +2 -2
- package/src/models/Lock.js +3 -1
- package/src/models/Message.js +7 -3
- package/src/models/MessageComment.js +7 -3
- package/src/models/MessageCommentReaction.js +3 -1
- package/src/models/MessageReaction.js +3 -1
- package/src/models/Notification.js +6 -2
- package/src/models/Payment.js +2 -2
- package/src/models/Permission.js +3 -1
- package/src/models/Project.js +6 -2
- package/src/models/PublicKey.js +6 -2
- package/src/models/RemoteServer.js +6 -2
- package/src/models/Request.js +3 -1
- package/src/models/Site.js +8 -8
- package/src/models/SsoStrategy.js +3 -1
- package/src/models/Status.js +2 -2
- package/src/models/Style.js +8 -4
- package/src/models/User.js +15 -5
- package/src/models/UserRequest.js +3 -1
- package/src/models/WebhookTest.js +1 -1
- package/test/src/index.js +7 -3
package/lib/models/Clickwrap.js
CHANGED
@@ -79,6 +79,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
79
79
|
});
|
80
80
|
(0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
81
81
|
var params,
|
82
|
+
response,
|
82
83
|
_args = arguments;
|
83
84
|
return _regenerator.default.wrap(function _callee$(_context) {
|
84
85
|
while (1) {
|
@@ -170,9 +171,14 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
170
171
|
throw new Error('Parameter missing: id');
|
171
172
|
|
172
173
|
case 24:
|
173
|
-
|
174
|
+
_context.next = 26;
|
175
|
+
return _Api.default.sendRequest("/clickwraps/".concat(params['id']), 'PATCH', params, _this.options);
|
176
|
+
|
177
|
+
case 26:
|
178
|
+
response = _context.sent;
|
179
|
+
return _context.abrupt("return", new Clickwrap(response === null || response === void 0 ? void 0 : response.data, _this.options));
|
174
180
|
|
175
|
-
case
|
181
|
+
case 28:
|
176
182
|
case "end":
|
177
183
|
return _context.stop();
|
178
184
|
}
|
@@ -181,6 +187,7 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
181
187
|
})));
|
182
188
|
(0, _defineProperty2.default)(this, "delete", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
183
189
|
var params,
|
190
|
+
response,
|
184
191
|
_args2 = arguments;
|
185
192
|
return _regenerator.default.wrap(function _callee2$(_context2) {
|
186
193
|
while (1) {
|
@@ -232,9 +239,14 @@ var Clickwrap = /*#__PURE__*/(0, _createClass2.default)(function Clickwrap() {
|
|
232
239
|
throw new Error('Parameter missing: id');
|
233
240
|
|
234
241
|
case 14:
|
235
|
-
|
242
|
+
_context2.next = 16;
|
243
|
+
return _Api.default.sendRequest("/clickwraps/".concat(params['id']), 'DELETE', params, _this.options);
|
236
244
|
|
237
|
-
case
|
245
|
+
case 16:
|
246
|
+
response = _context2.sent;
|
247
|
+
return _context2.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
248
|
+
|
249
|
+
case 18:
|
238
250
|
case "end":
|
239
251
|
return _context2.stop();
|
240
252
|
}
|