files.com 1.0.196 → 1.0.197
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/lib/models/ActionNotificationExport.js +1 -1
- package/lib/models/ActionWebhookFailure.js +1 -1
- package/lib/models/ApiKey.js +3 -3
- package/lib/models/As2Partner.js +3 -3
- package/lib/models/As2Station.js +3 -3
- package/lib/models/Automation.js +3 -3
- package/lib/models/AutomationRun.js +1 -1
- package/lib/models/Behavior.js +4 -4
- package/lib/models/Bundle.js +4 -4
- package/lib/models/Clickwrap.js +3 -3
- package/lib/models/ExternalEvent.js +1 -1
- package/lib/models/File.js +8 -8
- package/lib/models/FileComment.js +3 -3
- package/lib/models/FileCommentReaction.js +1 -1
- package/lib/models/FileMigration.js +1 -1
- package/lib/models/Folder.js +2 -2
- package/lib/models/FormFieldSet.js +3 -3
- package/lib/models/Group.js +3 -3
- package/lib/models/GroupUser.js +2 -2
- package/lib/models/History.js +3 -3
- package/lib/models/HistoryExport.js +1 -1
- package/lib/models/Invoice.js +1 -1
- package/lib/models/Lock.js +3 -3
- package/lib/models/Message.js +3 -3
- package/lib/models/MessageComment.js +3 -3
- package/lib/models/MessageCommentReaction.js +2 -2
- package/lib/models/MessageReaction.js +2 -2
- package/lib/models/Notification.js +3 -3
- package/lib/models/Payment.js +1 -1
- package/lib/models/Permission.js +1 -1
- package/lib/models/Project.js +3 -3
- package/lib/models/PublicKey.js +3 -3
- package/lib/models/RemoteServer.js +3 -3
- package/lib/models/Request.js +2 -2
- package/lib/models/SsoStrategy.js +2 -2
- package/lib/models/Style.js +3 -3
- package/lib/models/User.js +6 -6
- package/lib/models/UserRequest.js +2 -2
- package/package.json +1 -1
- package/src/models/ActionNotificationExport.js +1 -1
- package/src/models/ActionWebhookFailure.js +1 -1
- package/src/models/ApiKey.js +3 -3
- package/src/models/As2Partner.js +3 -3
- package/src/models/As2Station.js +3 -3
- package/src/models/Automation.js +3 -3
- package/src/models/AutomationRun.js +1 -1
- package/src/models/Behavior.js +4 -4
- package/src/models/Bundle.js +4 -4
- package/src/models/Clickwrap.js +3 -3
- package/src/models/ExternalEvent.js +1 -1
- package/src/models/File.js +8 -8
- package/src/models/FileComment.js +3 -3
- package/src/models/FileCommentReaction.js +1 -1
- package/src/models/FileMigration.js +1 -1
- package/src/models/Folder.js +2 -2
- package/src/models/FormFieldSet.js +3 -3
- package/src/models/Group.js +3 -3
- package/src/models/GroupUser.js +2 -2
- package/src/models/History.js +3 -3
- package/src/models/HistoryExport.js +1 -1
- package/src/models/Invoice.js +1 -1
- package/src/models/Lock.js +3 -3
- package/src/models/Message.js +3 -3
- package/src/models/MessageComment.js +3 -3
- package/src/models/MessageCommentReaction.js +2 -2
- package/src/models/MessageReaction.js +2 -2
- package/src/models/Notification.js +3 -3
- package/src/models/Payment.js +1 -1
- package/src/models/Permission.js +1 -1
- package/src/models/Project.js +3 -3
- package/src/models/PublicKey.js +3 -3
- package/src/models/RemoteServer.js +3 -3
- package/src/models/Request.js +2 -2
- package/src/models/SsoStrategy.js +2 -2
- package/src/models/Style.js +3 -3
- package/src/models/User.js +6 -6
- package/src/models/UserRequest.js +2 -2
@@ -122,7 +122,7 @@ var MessageReaction = /*#__PURE__*/(0, _createClass2.default)(function MessageRe
|
|
122
122
|
|
123
123
|
case 14:
|
124
124
|
_context.next = 16;
|
125
|
-
return _Api.default.sendRequest("/message_reactions/".concat(params['id']), 'DELETE', params, _this.options);
|
125
|
+
return _Api.default.sendRequest("/message_reactions/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
126
126
|
|
127
127
|
case 16:
|
128
128
|
response = _context.sent;
|
@@ -277,7 +277,7 @@ var MessageReaction = /*#__PURE__*/(0, _createClass2.default)(function MessageRe
|
|
277
277
|
|
278
278
|
case 9:
|
279
279
|
_context3.next = 11;
|
280
|
-
return _Api.default.sendRequest("/message_reactions/".concat(params['id']), 'GET', params, options);
|
280
|
+
return _Api.default.sendRequest("/message_reactions/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
281
281
|
|
282
282
|
case 11:
|
283
283
|
response = _context3.sent;
|
@@ -276,7 +276,7 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
276
276
|
|
277
277
|
case 24:
|
278
278
|
_context.next = 26;
|
279
|
-
return _Api.default.sendRequest("/notifications/".concat(params['id']), 'PATCH', params, _this.options);
|
279
|
+
return _Api.default.sendRequest("/notifications/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
280
280
|
|
281
281
|
case 26:
|
282
282
|
response = _context.sent;
|
@@ -344,7 +344,7 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
344
344
|
|
345
345
|
case 14:
|
346
346
|
_context2.next = 16;
|
347
|
-
return _Api.default.sendRequest("/notifications/".concat(params['id']), 'DELETE', params, _this.options);
|
347
|
+
return _Api.default.sendRequest("/notifications/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
348
348
|
|
349
349
|
case 16:
|
350
350
|
response = _context2.sent;
|
@@ -499,7 +499,7 @@ var Notification = /*#__PURE__*/(0, _createClass2.default)(function Notification
|
|
499
499
|
|
500
500
|
case 9:
|
501
501
|
_context4.next = 11;
|
502
|
-
return _Api.default.sendRequest("/notifications/".concat(params['id']), 'GET', params, options);
|
502
|
+
return _Api.default.sendRequest("/notifications/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
503
503
|
|
504
504
|
case 11:
|
505
505
|
response = _context4.sent;
|
package/lib/models/Payment.js
CHANGED
@@ -196,7 +196,7 @@ var Payment = /*#__PURE__*/(0, _createClass2.default)(function Payment() {
|
|
196
196
|
|
197
197
|
case 9:
|
198
198
|
_context2.next = 11;
|
199
|
-
return _Api.default.sendRequest("/payments/".concat(params['id']), 'GET', params, options);
|
199
|
+
return _Api.default.sendRequest("/payments/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
200
200
|
|
201
201
|
case 11:
|
202
202
|
response = _context2.sent;
|
package/lib/models/Permission.js
CHANGED
@@ -152,7 +152,7 @@ var Permission = /*#__PURE__*/(0, _createClass2.default)(function Permission() {
|
|
152
152
|
|
153
153
|
case 14:
|
154
154
|
_context.next = 16;
|
155
|
-
return _Api.default.sendRequest("/permissions/".concat(params['id']), 'DELETE', params, _this.options);
|
155
|
+
return _Api.default.sendRequest("/permissions/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
156
156
|
|
157
157
|
case 16:
|
158
158
|
response = _context.sent;
|
package/lib/models/Project.js
CHANGED
@@ -142,7 +142,7 @@ var Project = /*#__PURE__*/(0, _createClass2.default)(function Project() {
|
|
142
142
|
|
143
143
|
case 22:
|
144
144
|
_context.next = 24;
|
145
|
-
return _Api.default.sendRequest("/projects/".concat(params['id']), 'PATCH', params, _this.options);
|
145
|
+
return _Api.default.sendRequest("/projects/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
146
146
|
|
147
147
|
case 24:
|
148
148
|
response = _context.sent;
|
@@ -210,7 +210,7 @@ var Project = /*#__PURE__*/(0, _createClass2.default)(function Project() {
|
|
210
210
|
|
211
211
|
case 14:
|
212
212
|
_context2.next = 16;
|
213
|
-
return _Api.default.sendRequest("/projects/".concat(params['id']), 'DELETE', params, _this.options);
|
213
|
+
return _Api.default.sendRequest("/projects/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
214
214
|
|
215
215
|
case 16:
|
216
216
|
response = _context2.sent;
|
@@ -341,7 +341,7 @@ var Project = /*#__PURE__*/(0, _createClass2.default)(function Project() {
|
|
341
341
|
|
342
342
|
case 9:
|
343
343
|
_context4.next = 11;
|
344
|
-
return _Api.default.sendRequest("/projects/".concat(params['id']), 'GET', params, options);
|
344
|
+
return _Api.default.sendRequest("/projects/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
345
345
|
|
346
346
|
case 11:
|
347
347
|
response = _context4.sent;
|
package/lib/models/PublicKey.js
CHANGED
@@ -163,7 +163,7 @@ var PublicKey = /*#__PURE__*/(0, _createClass2.default)(function PublicKey() {
|
|
163
163
|
|
164
164
|
case 22:
|
165
165
|
_context.next = 24;
|
166
|
-
return _Api.default.sendRequest("/public_keys/".concat(params['id']), 'PATCH', params, _this.options);
|
166
|
+
return _Api.default.sendRequest("/public_keys/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
167
167
|
|
168
168
|
case 24:
|
169
169
|
response = _context.sent;
|
@@ -231,7 +231,7 @@ var PublicKey = /*#__PURE__*/(0, _createClass2.default)(function PublicKey() {
|
|
231
231
|
|
232
232
|
case 14:
|
233
233
|
_context2.next = 16;
|
234
|
-
return _Api.default.sendRequest("/public_keys/".concat(params['id']), 'DELETE', params, _this.options);
|
234
|
+
return _Api.default.sendRequest("/public_keys/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
235
235
|
|
236
236
|
case 16:
|
237
237
|
response = _context2.sent;
|
@@ -370,7 +370,7 @@ var PublicKey = /*#__PURE__*/(0, _createClass2.default)(function PublicKey() {
|
|
370
370
|
|
371
371
|
case 9:
|
372
372
|
_context4.next = 11;
|
373
|
-
return _Api.default.sendRequest("/public_keys/".concat(params['id']), 'GET', params, options);
|
373
|
+
return _Api.default.sendRequest("/public_keys/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
374
374
|
|
375
375
|
case 11:
|
376
376
|
response = _context4.sent;
|
@@ -802,7 +802,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
802
802
|
|
803
803
|
case 106:
|
804
804
|
_context.next = 108;
|
805
|
-
return _Api.default.sendRequest("/remote_servers/".concat(params['id']), 'PATCH', params, _this.options);
|
805
|
+
return _Api.default.sendRequest("/remote_servers/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
806
806
|
|
807
807
|
case 108:
|
808
808
|
response = _context.sent;
|
@@ -870,7 +870,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
870
870
|
|
871
871
|
case 14:
|
872
872
|
_context2.next = 16;
|
873
|
-
return _Api.default.sendRequest("/remote_servers/".concat(params['id']), 'DELETE', params, _this.options);
|
873
|
+
return _Api.default.sendRequest("/remote_servers/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
874
874
|
|
875
875
|
case 16:
|
876
876
|
response = _context2.sent;
|
@@ -1001,7 +1001,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
1001
1001
|
|
1002
1002
|
case 9:
|
1003
1003
|
_context4.next = 11;
|
1004
|
-
return _Api.default.sendRequest("/remote_servers/".concat(params['id']), 'GET', params, options);
|
1004
|
+
return _Api.default.sendRequest("/remote_servers/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
1005
1005
|
|
1006
1006
|
case 11:
|
1007
1007
|
response = _context4.sent;
|
package/lib/models/Request.js
CHANGED
@@ -152,7 +152,7 @@ var Request = /*#__PURE__*/(0, _createClass2.default)(function Request() {
|
|
152
152
|
|
153
153
|
case 14:
|
154
154
|
_context.next = 16;
|
155
|
-
return _Api.default.sendRequest("/requests/".concat(params['id']), 'DELETE', params, _this.options);
|
155
|
+
return _Api.default.sendRequest("/requests/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
156
156
|
|
157
157
|
case 16:
|
158
158
|
response = _context.sent;
|
@@ -309,7 +309,7 @@ var Request = /*#__PURE__*/(0, _createClass2.default)(function Request() {
|
|
309
309
|
|
310
310
|
case 13:
|
311
311
|
_context3.next = 15;
|
312
|
-
return _Api.default.sendRequest("/requests/folders/".concat(params['path']), 'GET', params, options);
|
312
|
+
return _Api.default.sendRequest("/requests/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
313
313
|
|
314
314
|
case 15:
|
315
315
|
response = _context3.sent;
|
@@ -233,7 +233,7 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
233
233
|
|
234
234
|
case 14:
|
235
235
|
_context.next = 16;
|
236
|
-
return _Api.default.sendRequest("/sso_strategies/".concat(params['id'], "/sync"), 'POST', params, _this.options);
|
236
|
+
return _Api.default.sendRequest("/sso_strategies/".concat(encodeURIComponent(params['id']), "/sync"), 'POST', params, _this.options);
|
237
237
|
|
238
238
|
case 16:
|
239
239
|
response = _context.sent;
|
@@ -351,7 +351,7 @@ var SsoStrategy = /*#__PURE__*/(0, _createClass2.default)(function SsoStrategy()
|
|
351
351
|
|
352
352
|
case 9:
|
353
353
|
_context3.next = 11;
|
354
|
-
return _Api.default.sendRequest("/sso_strategies/".concat(params['id']), 'GET', params, options);
|
354
|
+
return _Api.default.sendRequest("/sso_strategies/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
355
355
|
|
356
356
|
case 11:
|
357
357
|
response = _context3.sent;
|
package/lib/models/Style.js
CHANGED
@@ -152,7 +152,7 @@ var Style = /*#__PURE__*/(0, _createClass2.default)(function Style() {
|
|
152
152
|
|
153
153
|
case 20:
|
154
154
|
_context.next = 22;
|
155
|
-
return _Api.default.sendRequest("/styles/".concat(params['path']), 'PATCH', params, _this.options);
|
155
|
+
return _Api.default.sendRequest("/styles/".concat(encodeURIComponent(params['path'])), 'PATCH', params, _this.options);
|
156
156
|
|
157
157
|
case 22:
|
158
158
|
response = _context.sent;
|
@@ -220,7 +220,7 @@ var Style = /*#__PURE__*/(0, _createClass2.default)(function Style() {
|
|
220
220
|
|
221
221
|
case 14:
|
222
222
|
_context2.next = 16;
|
223
|
-
return _Api.default.sendRequest("/styles/".concat(params['path']), 'DELETE', params, _this.options);
|
223
|
+
return _Api.default.sendRequest("/styles/".concat(encodeURIComponent(params['path'])), 'DELETE', params, _this.options);
|
224
224
|
|
225
225
|
case 16:
|
226
226
|
response = _context2.sent;
|
@@ -294,7 +294,7 @@ var Style = /*#__PURE__*/(0, _createClass2.default)(function Style() {
|
|
294
294
|
|
295
295
|
case 9:
|
296
296
|
_context3.next = 11;
|
297
|
-
return _Api.default.sendRequest("/styles/".concat(params['path']), 'GET', params, options);
|
297
|
+
return _Api.default.sendRequest("/styles/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
298
298
|
|
299
299
|
case 11:
|
300
300
|
response = _context3.sent;
|
package/lib/models/User.js
CHANGED
@@ -458,7 +458,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
458
458
|
|
459
459
|
case 14:
|
460
460
|
_context.next = 16;
|
461
|
-
return _Api.default.sendRequest("/users/".concat(params['id'], "/unlock"), 'POST', params, _this.options);
|
461
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id']), "/unlock"), 'POST', params, _this.options);
|
462
462
|
|
463
463
|
case 16:
|
464
464
|
response = _context.sent;
|
@@ -526,7 +526,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
526
526
|
|
527
527
|
case 14:
|
528
528
|
_context2.next = 16;
|
529
|
-
return _Api.default.sendRequest("/users/".concat(params['id'], "/resend_welcome_email"), 'POST', params, _this.options);
|
529
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id']), "/resend_welcome_email"), 'POST', params, _this.options);
|
530
530
|
|
531
531
|
case 16:
|
532
532
|
response = _context2.sent;
|
@@ -594,7 +594,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
594
594
|
|
595
595
|
case 14:
|
596
596
|
_context3.next = 16;
|
597
|
-
return _Api.default.sendRequest("/users/".concat(params['id'], "/2fa/reset"), 'POST', params, _this.options);
|
597
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id']), "/2fa/reset"), 'POST', params, _this.options);
|
598
598
|
|
599
599
|
case 16:
|
600
600
|
response = _context3.sent;
|
@@ -862,7 +862,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
862
862
|
|
863
863
|
case 64:
|
864
864
|
_context4.next = 66;
|
865
|
-
return _Api.default.sendRequest("/users/".concat(params['id']), 'PATCH', params, _this.options);
|
865
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
866
866
|
|
867
867
|
case 66:
|
868
868
|
response = _context4.sent;
|
@@ -930,7 +930,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
930
930
|
|
931
931
|
case 14:
|
932
932
|
_context5.next = 16;
|
933
|
-
return _Api.default.sendRequest("/users/".concat(params['id']), 'DELETE', params, _this.options);
|
933
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
934
934
|
|
935
935
|
case 16:
|
936
936
|
response = _context5.sent;
|
@@ -1077,7 +1077,7 @@ var User = /*#__PURE__*/(0, _createClass2.default)(function User() {
|
|
1077
1077
|
|
1078
1078
|
case 9:
|
1079
1079
|
_context7.next = 11;
|
1080
|
-
return _Api.default.sendRequest("/users/".concat(params['id']), 'GET', params, options);
|
1080
|
+
return _Api.default.sendRequest("/users/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
1081
1081
|
|
1082
1082
|
case 11:
|
1083
1083
|
response = _context7.sent;
|
@@ -128,7 +128,7 @@ var UserRequest = /*#__PURE__*/(0, _createClass2.default)(function UserRequest()
|
|
128
128
|
|
129
129
|
case 14:
|
130
130
|
_context.next = 16;
|
131
|
-
return _Api.default.sendRequest("/user_requests/".concat(params['id']), 'DELETE', params, _this.options);
|
131
|
+
return _Api.default.sendRequest("/user_requests/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
132
132
|
|
133
133
|
case 16:
|
134
134
|
response = _context.sent;
|
@@ -259,7 +259,7 @@ var UserRequest = /*#__PURE__*/(0, _createClass2.default)(function UserRequest()
|
|
259
259
|
|
260
260
|
case 9:
|
261
261
|
_context3.next = 11;
|
262
|
-
return _Api.default.sendRequest("/user_requests/".concat(params['id']), 'GET', params, options);
|
262
|
+
return _Api.default.sendRequest("/user_requests/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
263
263
|
|
264
264
|
case 11:
|
265
265
|
response = _context3.sent;
|
package/package.json
CHANGED
@@ -149,7 +149,7 @@ class ActionNotificationExport {
|
|
149
149
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
150
150
|
}
|
151
151
|
|
152
|
-
const response = await Api.sendRequest(`/action_notification_exports/${params['id']}`, 'GET', params, options)
|
152
|
+
const response = await Api.sendRequest(`/action_notification_exports/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
153
153
|
|
154
154
|
return new ActionNotificationExport(response?.data, options)
|
155
155
|
}
|
@@ -47,7 +47,7 @@ class ActionWebhookFailure {
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
|
50
|
-
const response = await Api.sendRequest(`/action_webhook_failures/${params['id']}/retry`, 'POST', params, this.options)
|
50
|
+
const response = await Api.sendRequest(`/action_webhook_failures/${encodeURIComponent(params['id'])}/retry`, 'POST', params, this.options)
|
51
51
|
|
52
52
|
return response?.data
|
53
53
|
}
|
package/src/models/ApiKey.js
CHANGED
@@ -132,7 +132,7 @@ class ApiKey {
|
|
132
132
|
}
|
133
133
|
}
|
134
134
|
|
135
|
-
const response = await Api.sendRequest(`/api_keys/${params['id']}`, 'PATCH', params, this.options)
|
135
|
+
const response = await Api.sendRequest(`/api_keys/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
136
136
|
|
137
137
|
return new ApiKey(response?.data, this.options)
|
138
138
|
}
|
@@ -159,7 +159,7 @@ class ApiKey {
|
|
159
159
|
}
|
160
160
|
}
|
161
161
|
|
162
|
-
const response = await Api.sendRequest(`/api_keys/${params['id']}`, 'DELETE', params, this.options)
|
162
|
+
const response = await Api.sendRequest(`/api_keys/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
163
163
|
|
164
164
|
return response?.data
|
165
165
|
}
|
@@ -232,7 +232,7 @@ class ApiKey {
|
|
232
232
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
233
233
|
}
|
234
234
|
|
235
|
-
const response = await Api.sendRequest(`/api_keys/${params['id']}`, 'GET', params, options)
|
235
|
+
const response = await Api.sendRequest(`/api_keys/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
236
236
|
|
237
237
|
return new ApiKey(response?.data, options)
|
238
238
|
}
|
package/src/models/As2Partner.js
CHANGED
@@ -154,7 +154,7 @@ class As2Partner {
|
|
154
154
|
}
|
155
155
|
}
|
156
156
|
|
157
|
-
const response = await Api.sendRequest(`/as2_partners/${params['id']}`, 'PATCH', params, this.options)
|
157
|
+
const response = await Api.sendRequest(`/as2_partners/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
158
158
|
|
159
159
|
return new As2Partner(response?.data, this.options)
|
160
160
|
}
|
@@ -181,7 +181,7 @@ class As2Partner {
|
|
181
181
|
}
|
182
182
|
}
|
183
183
|
|
184
|
-
const response = await Api.sendRequest(`/as2_partners/${params['id']}`, 'DELETE', params, this.options)
|
184
|
+
const response = await Api.sendRequest(`/as2_partners/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
185
185
|
|
186
186
|
return response?.data
|
187
187
|
}
|
@@ -236,7 +236,7 @@ class As2Partner {
|
|
236
236
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
237
237
|
}
|
238
238
|
|
239
|
-
const response = await Api.sendRequest(`/as2_partners/${params['id']}`, 'GET', params, options)
|
239
|
+
const response = await Api.sendRequest(`/as2_partners/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
240
240
|
|
241
241
|
return new As2Partner(response?.data, options)
|
242
242
|
}
|
package/src/models/As2Station.js
CHANGED
@@ -175,7 +175,7 @@ class As2Station {
|
|
175
175
|
}
|
176
176
|
}
|
177
177
|
|
178
|
-
const response = await Api.sendRequest(`/as2_stations/${params['id']}`, 'PATCH', params, this.options)
|
178
|
+
const response = await Api.sendRequest(`/as2_stations/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
179
179
|
|
180
180
|
return new As2Station(response?.data, this.options)
|
181
181
|
}
|
@@ -202,7 +202,7 @@ class As2Station {
|
|
202
202
|
}
|
203
203
|
}
|
204
204
|
|
205
|
-
const response = await Api.sendRequest(`/as2_stations/${params['id']}`, 'DELETE', params, this.options)
|
205
|
+
const response = await Api.sendRequest(`/as2_stations/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
206
206
|
|
207
207
|
return response?.data
|
208
208
|
}
|
@@ -257,7 +257,7 @@ class As2Station {
|
|
257
257
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
258
258
|
}
|
259
259
|
|
260
|
-
const response = await Api.sendRequest(`/as2_stations/${params['id']}`, 'GET', params, options)
|
260
|
+
const response = await Api.sendRequest(`/as2_stations/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
261
261
|
|
262
262
|
return new As2Station(response?.data, options)
|
263
263
|
}
|
package/src/models/Automation.js
CHANGED
@@ -260,7 +260,7 @@ class Automation {
|
|
260
260
|
}
|
261
261
|
}
|
262
262
|
|
263
|
-
const response = await Api.sendRequest(`/automations/${params['id']}`, 'PATCH', params, this.options)
|
263
|
+
const response = await Api.sendRequest(`/automations/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
264
264
|
|
265
265
|
return new Automation(response?.data, this.options)
|
266
266
|
}
|
@@ -287,7 +287,7 @@ class Automation {
|
|
287
287
|
}
|
288
288
|
}
|
289
289
|
|
290
|
-
const response = await Api.sendRequest(`/automations/${params['id']}`, 'DELETE', params, this.options)
|
290
|
+
const response = await Api.sendRequest(`/automations/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
291
291
|
|
292
292
|
return response?.data
|
293
293
|
}
|
@@ -355,7 +355,7 @@ class Automation {
|
|
355
355
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
356
356
|
}
|
357
357
|
|
358
|
-
const response = await Api.sendRequest(`/automations/${params['id']}`, 'GET', params, options)
|
358
|
+
const response = await Api.sendRequest(`/automations/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
359
359
|
|
360
360
|
return new Automation(response?.data, options)
|
361
361
|
}
|
@@ -100,7 +100,7 @@ class AutomationRun {
|
|
100
100
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
101
101
|
}
|
102
102
|
|
103
|
-
const response = await Api.sendRequest(`/automation_runs/${params['id']}`, 'GET', params, options)
|
103
|
+
const response = await Api.sendRequest(`/automation_runs/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
104
104
|
|
105
105
|
return new AutomationRun(response?.data, options)
|
106
106
|
}
|
package/src/models/Behavior.js
CHANGED
@@ -132,7 +132,7 @@ class Behavior {
|
|
132
132
|
}
|
133
133
|
}
|
134
134
|
|
135
|
-
const response = await Api.sendRequest(`/behaviors/${params['id']}`, 'PATCH', params, this.options)
|
135
|
+
const response = await Api.sendRequest(`/behaviors/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
136
136
|
|
137
137
|
return new Behavior(response?.data, this.options)
|
138
138
|
}
|
@@ -159,7 +159,7 @@ class Behavior {
|
|
159
159
|
}
|
160
160
|
}
|
161
161
|
|
162
|
-
const response = await Api.sendRequest(`/behaviors/${params['id']}`, 'DELETE', params, this.options)
|
162
|
+
const response = await Api.sendRequest(`/behaviors/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
163
163
|
|
164
164
|
return response?.data
|
165
165
|
}
|
@@ -226,7 +226,7 @@ class Behavior {
|
|
226
226
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
227
227
|
}
|
228
228
|
|
229
|
-
const response = await Api.sendRequest(`/behaviors/${params['id']}`, 'GET', params, options)
|
229
|
+
const response = await Api.sendRequest(`/behaviors/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
230
230
|
|
231
231
|
return new Behavior(response?.data, options)
|
232
232
|
}
|
@@ -278,7 +278,7 @@ class Behavior {
|
|
278
278
|
throw new errors.InvalidParameterError(`Bad parameter: behavior must be of type String, received ${getType(params['behavior'])}`)
|
279
279
|
}
|
280
280
|
|
281
|
-
const response = await Api.sendRequest(`/behaviors/folders/${params['path']}`, 'GET', params, options)
|
281
|
+
const response = await Api.sendRequest(`/behaviors/folders/${encodeURIComponent(params['path'])}`, 'GET', params, options)
|
282
282
|
|
283
283
|
return response?.data?.map(obj => new Behavior(obj, options)) || []
|
284
284
|
}
|
package/src/models/Bundle.js
CHANGED
@@ -260,7 +260,7 @@ class Bundle {
|
|
260
260
|
}
|
261
261
|
}
|
262
262
|
|
263
|
-
const response = await Api.sendRequest(`/bundles/${params['id']}/share`, 'POST', params, this.options)
|
263
|
+
const response = await Api.sendRequest(`/bundles/${encodeURIComponent(params['id'])}/share`, 'POST', params, this.options)
|
264
264
|
|
265
265
|
return response?.data
|
266
266
|
}
|
@@ -336,7 +336,7 @@ class Bundle {
|
|
336
336
|
}
|
337
337
|
}
|
338
338
|
|
339
|
-
const response = await Api.sendRequest(`/bundles/${params['id']}`, 'PATCH', params, this.options)
|
339
|
+
const response = await Api.sendRequest(`/bundles/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
340
340
|
|
341
341
|
return new Bundle(response?.data, this.options)
|
342
342
|
}
|
@@ -363,7 +363,7 @@ class Bundle {
|
|
363
363
|
}
|
364
364
|
}
|
365
365
|
|
366
|
-
const response = await Api.sendRequest(`/bundles/${params['id']}`, 'DELETE', params, this.options)
|
366
|
+
const response = await Api.sendRequest(`/bundles/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
367
367
|
|
368
368
|
return response?.data
|
369
369
|
}
|
@@ -430,7 +430,7 @@ class Bundle {
|
|
430
430
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
431
431
|
}
|
432
432
|
|
433
|
-
const response = await Api.sendRequest(`/bundles/${params['id']}`, 'GET', params, options)
|
433
|
+
const response = await Api.sendRequest(`/bundles/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
434
434
|
|
435
435
|
return new Bundle(response?.data, options)
|
436
436
|
}
|
package/src/models/Clickwrap.js
CHANGED
@@ -109,7 +109,7 @@ class Clickwrap {
|
|
109
109
|
}
|
110
110
|
}
|
111
111
|
|
112
|
-
const response = await Api.sendRequest(`/clickwraps/${params['id']}`, 'PATCH', params, this.options)
|
112
|
+
const response = await Api.sendRequest(`/clickwraps/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
113
113
|
|
114
114
|
return new Clickwrap(response?.data, this.options)
|
115
115
|
}
|
@@ -136,7 +136,7 @@ class Clickwrap {
|
|
136
136
|
}
|
137
137
|
}
|
138
138
|
|
139
|
-
const response = await Api.sendRequest(`/clickwraps/${params['id']}`, 'DELETE', params, this.options)
|
139
|
+
const response = await Api.sendRequest(`/clickwraps/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
140
140
|
|
141
141
|
return response?.data
|
142
142
|
}
|
@@ -191,7 +191,7 @@ class Clickwrap {
|
|
191
191
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
192
192
|
}
|
193
193
|
|
194
|
-
const response = await Api.sendRequest(`/clickwraps/${params['id']}`, 'GET', params, options)
|
194
|
+
const response = await Api.sendRequest(`/clickwraps/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
195
195
|
|
196
196
|
return new Clickwrap(response?.data, options)
|
197
197
|
}
|
@@ -151,7 +151,7 @@ class ExternalEvent {
|
|
151
151
|
throw new errors.InvalidParameterError(`Bad parameter: id must be of type Int, received ${getType(params['id'])}`)
|
152
152
|
}
|
153
153
|
|
154
|
-
const response = await Api.sendRequest(`/external_events/${params['id']}`, 'GET', params, options)
|
154
|
+
const response = await Api.sendRequest(`/external_events/${encodeURIComponent(params['id'])}`, 'GET', params, options)
|
155
155
|
|
156
156
|
return new ExternalEvent(response?.data, options)
|
157
157
|
}
|
package/src/models/File.js
CHANGED
@@ -404,7 +404,7 @@ class File {
|
|
404
404
|
}
|
405
405
|
}
|
406
406
|
|
407
|
-
const response = await Api.sendRequest(`/files/${params['path']}`, 'GET', params, this.options)
|
407
|
+
const response = await Api.sendRequest(`/files/${encodeURIComponent(params['path'])}`, 'GET', params, this.options)
|
408
408
|
|
409
409
|
return new File(response?.data, this.options)
|
410
410
|
}
|
@@ -440,7 +440,7 @@ class File {
|
|
440
440
|
}
|
441
441
|
}
|
442
442
|
|
443
|
-
const response = await Api.sendRequest(`/files/${params['path']}`, 'PATCH', params, this.options)
|
443
|
+
const response = await Api.sendRequest(`/files/${encodeURIComponent(params['path'])}`, 'PATCH', params, this.options)
|
444
444
|
|
445
445
|
return new File(response?.data, this.options)
|
446
446
|
}
|
@@ -469,7 +469,7 @@ class File {
|
|
469
469
|
}
|
470
470
|
}
|
471
471
|
|
472
|
-
const response = await Api.sendRequest(`/files/${params['path']}`, 'DELETE', params, this.options)
|
472
|
+
const response = await Api.sendRequest(`/files/${encodeURIComponent(params['path'])}`, 'DELETE', params, this.options)
|
473
473
|
|
474
474
|
return response?.data
|
475
475
|
}
|
@@ -515,7 +515,7 @@ class File {
|
|
515
515
|
}
|
516
516
|
}
|
517
517
|
|
518
|
-
const response = await Api.sendRequest(`/file_actions/copy/${params['path']}`, 'POST', params, this.options)
|
518
|
+
const response = await Api.sendRequest(`/file_actions/copy/${encodeURIComponent(params['path'])}`, 'POST', params, this.options)
|
519
519
|
|
520
520
|
return new FileAction(response?.data, this.options)
|
521
521
|
}
|
@@ -557,7 +557,7 @@ class File {
|
|
557
557
|
}
|
558
558
|
}
|
559
559
|
|
560
|
-
const response = await Api.sendRequest(`/file_actions/move/${params['path']}`, 'POST', params, this.options)
|
560
|
+
const response = await Api.sendRequest(`/file_actions/move/${encodeURIComponent(params['path'])}`, 'POST', params, this.options)
|
561
561
|
|
562
562
|
return new FileAction(response?.data, this.options)
|
563
563
|
}
|
@@ -609,7 +609,7 @@ class File {
|
|
609
609
|
}
|
610
610
|
}
|
611
611
|
|
612
|
-
const response = await Api.sendRequest(`/file_actions/begin_upload/${params['path']}`, 'POST', params, this.options)
|
612
|
+
const response = await Api.sendRequest(`/file_actions/begin_upload/${encodeURIComponent(params['path'])}`, 'POST', params, this.options)
|
613
613
|
|
614
614
|
return response?.data?.map(obj => new FileUploadPart(obj, this.options)) || []
|
615
615
|
}
|
@@ -686,7 +686,7 @@ class File {
|
|
686
686
|
throw new errors.InvalidParameterError(`Bad parameter: structure must be of type String, received ${getType(params['structure'])}`)
|
687
687
|
}
|
688
688
|
|
689
|
-
const response = await Api.sendRequest(`/files/${params['path']}`, 'POST', params, options)
|
689
|
+
const response = await Api.sendRequest(`/files/${encodeURIComponent(params['path'])}`, 'POST', params, options)
|
690
690
|
|
691
691
|
return new File(response?.data, options)
|
692
692
|
}
|
@@ -715,7 +715,7 @@ class File {
|
|
715
715
|
throw new errors.InvalidParameterError(`Bad parameter: preview_size must be of type String, received ${getType(params['preview_size'])}`)
|
716
716
|
}
|
717
717
|
|
718
|
-
const response = await Api.sendRequest(`/file_actions/metadata/${params['path']}`, 'GET', params, options)
|
718
|
+
const response = await Api.sendRequest(`/file_actions/metadata/${encodeURIComponent(params['path'])}`, 'GET', params, options)
|
719
719
|
|
720
720
|
return new File(response?.data, options)
|
721
721
|
}
|
@@ -87,7 +87,7 @@ class FileComment {
|
|
87
87
|
}
|
88
88
|
}
|
89
89
|
|
90
|
-
const response = await Api.sendRequest(`/file_comments/${params['id']}`, 'PATCH', params, this.options)
|
90
|
+
const response = await Api.sendRequest(`/file_comments/${encodeURIComponent(params['id'])}`, 'PATCH', params, this.options)
|
91
91
|
|
92
92
|
return new FileComment(response?.data, this.options)
|
93
93
|
}
|
@@ -114,7 +114,7 @@ class FileComment {
|
|
114
114
|
}
|
115
115
|
}
|
116
116
|
|
117
|
-
const response = await Api.sendRequest(`/file_comments/${params['id']}`, 'DELETE', params, this.options)
|
117
|
+
const response = await Api.sendRequest(`/file_comments/${encodeURIComponent(params['id'])}`, 'DELETE', params, this.options)
|
118
118
|
|
119
119
|
return response?.data
|
120
120
|
}
|
@@ -159,7 +159,7 @@ class FileComment {
|
|
159
159
|
throw new errors.InvalidParameterError(`Bad parameter: path must be of type String, received ${getType(params['path'])}`)
|
160
160
|
}
|
161
161
|
|
162
|
-
const response = await Api.sendRequest(`/file_comments/files/${params['path']}`, 'GET', params, options)
|
162
|
+
const response = await Api.sendRequest(`/file_comments/files/${encodeURIComponent(params['path'])}`, 'GET', params, options)
|
163
163
|
|
164
164
|
return response?.data?.map(obj => new FileComment(obj, options)) || []
|
165
165
|
}
|