files.com 1.0.196 → 1.0.199
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/AccountLineItem.md +24 -20
- package/docs/models/App.md +1 -1
- package/docs/models/Automation.md +10 -6
- package/docs/models/Bundle.md +39 -28
- package/docs/models/File.md +4 -0
- package/docs/models/FileComment.md +13 -9
- package/docs/models/Folder.md +2 -0
- package/docs/models/FormField.md +1 -1
- package/docs/models/FormFieldSet.md +36 -32
- package/docs/models/Group.md +13 -25
- package/docs/models/Invoice.md +24 -20
- package/docs/models/InvoiceLineItem.md +1 -1
- package/docs/models/Message.md +21 -13
- package/docs/models/MessageComment.md +13 -9
- package/docs/models/Notification.md +2 -2
- package/docs/models/Payment.md +24 -20
- package/docs/models/RemoteServer.md +10 -0
- package/docs/models/SettingsChange.md +1 -1
- package/docs/models/Site.md +8 -0
- package/docs/models/Status.md +9 -7
- package/docs/models/UsageDailySnapshot.md +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 +41 -19
- package/lib/models/Clickwrap.js +3 -3
- package/lib/models/ExternalEvent.js +1 -1
- package/lib/models/File.js +11 -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 +5 -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 +15 -3
- package/lib/models/Request.js +2 -2
- package/lib/models/Site.js +6 -0
- 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/AccountLineItem.js +2 -2
- package/src/models/ActionNotificationExport.js +1 -1
- package/src/models/ActionWebhookFailure.js +1 -1
- package/src/models/ApiKey.js +3 -3
- package/src/models/App.js +1 -1
- package/src/models/As2Partner.js +3 -3
- package/src/models/As2Station.js +3 -3
- package/src/models/Automation.js +5 -5
- package/src/models/AutomationRun.js +1 -1
- package/src/models/Behavior.js +4 -4
- package/src/models/Bundle.js +20 -4
- package/src/models/Clickwrap.js +3 -3
- package/src/models/ExternalEvent.js +1 -1
- package/src/models/File.js +11 -8
- package/src/models/FileComment.js +4 -4
- package/src/models/FileCommentReaction.js +1 -1
- package/src/models/FileMigration.js +1 -1
- package/src/models/Folder.js +5 -2
- package/src/models/FormField.js +1 -1
- package/src/models/FormFieldSet.js +5 -5
- package/src/models/Group.js +6 -6
- 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 +3 -3
- package/src/models/Lock.js +3 -3
- package/src/models/Message.js +4 -4
- package/src/models/MessageComment.js +4 -4
- package/src/models/MessageCommentReaction.js +2 -2
- package/src/models/MessageReaction.js +2 -2
- package/src/models/Notification.js +5 -5
- package/src/models/Payment.js +3 -3
- 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 +19 -3
- package/src/models/Request.js +2 -2
- package/src/models/SettingsChange.js +1 -1
- package/src/models/Site.js +8 -0
- package/src/models/SsoStrategy.js +2 -2
- package/src/models/Status.js +1 -1
- package/src/models/Style.js +3 -3
- package/src/models/User.js +6 -6
- package/src/models/UserRequest.js +2 -2
package/docs/models/Message.md
CHANGED
@@ -7,21 +7,25 @@
|
|
7
7
|
"id": 1,
|
8
8
|
"subject": "Files.com Account Upgrade",
|
9
9
|
"body": "We should upgrade our Files.com account!",
|
10
|
-
"comments":
|
11
|
-
|
12
|
-
"body": "What a great idea, thank you!",
|
13
|
-
"reactions": {
|
10
|
+
"comments": [
|
11
|
+
{
|
14
12
|
"id": 1,
|
15
|
-
"
|
13
|
+
"body": "What a great idea, thank you!",
|
14
|
+
"reactions": [
|
15
|
+
{
|
16
|
+
"id": 1,
|
17
|
+
"emoji": "👍"
|
18
|
+
}
|
19
|
+
]
|
16
20
|
}
|
17
|
-
|
21
|
+
]
|
18
22
|
}
|
19
23
|
```
|
20
24
|
|
21
25
|
* `id` (int64): Message ID
|
22
26
|
* `subject` (string): Message subject.
|
23
27
|
* `body` (string): Message body.
|
24
|
-
* `comments` (
|
28
|
+
* `comments` (array): Comments.
|
25
29
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
26
30
|
* `project_id` (int64): Project to which the message should be attached.
|
27
31
|
|
@@ -107,14 +111,18 @@ await message.update({
|
|
107
111
|
"id": 1,
|
108
112
|
"subject": "Files.com Account Upgrade",
|
109
113
|
"body": "We should upgrade our Files.com account!",
|
110
|
-
"comments":
|
111
|
-
|
112
|
-
"body": "What a great idea, thank you!",
|
113
|
-
"reactions": {
|
114
|
+
"comments": [
|
115
|
+
{
|
114
116
|
"id": 1,
|
115
|
-
"
|
117
|
+
"body": "What a great idea, thank you!",
|
118
|
+
"reactions": [
|
119
|
+
{
|
120
|
+
"id": 1,
|
121
|
+
"emoji": "👍"
|
122
|
+
}
|
123
|
+
]
|
116
124
|
}
|
117
|
-
|
125
|
+
]
|
118
126
|
}
|
119
127
|
```
|
120
128
|
|
@@ -6,16 +6,18 @@
|
|
6
6
|
{
|
7
7
|
"id": 1,
|
8
8
|
"body": "What a great idea, thank you!",
|
9
|
-
"reactions":
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
"reactions": [
|
10
|
+
{
|
11
|
+
"id": 1,
|
12
|
+
"emoji": "👍"
|
13
|
+
}
|
14
|
+
]
|
13
15
|
}
|
14
16
|
```
|
15
17
|
|
16
18
|
* `id` (int64): Message Comment ID
|
17
19
|
* `body` (string): Comment body.
|
18
|
-
* `reactions` (
|
20
|
+
* `reactions` (array): Reactions to this comment.
|
19
21
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
20
22
|
|
21
23
|
---
|
@@ -91,10 +93,12 @@ await message_comment.update({
|
|
91
93
|
{
|
92
94
|
"id": 1,
|
93
95
|
"body": "What a great idea, thank you!",
|
94
|
-
"reactions":
|
95
|
-
|
96
|
-
|
97
|
-
|
96
|
+
"reactions": [
|
97
|
+
{
|
98
|
+
"id": 1,
|
99
|
+
"emoji": "👍"
|
100
|
+
}
|
101
|
+
]
|
98
102
|
}
|
99
103
|
```
|
100
104
|
|
@@ -40,8 +40,8 @@
|
|
40
40
|
* `path` (string): Folder path to notify on This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
41
41
|
* `group_id` (int64): Notification group id
|
42
42
|
* `group_name` (string): Group name if applicable
|
43
|
-
* `triggering_group_ids` (
|
44
|
-
* `triggering_user_ids` (
|
43
|
+
* `triggering_group_ids` (array): Only notify on actions made by a member of one of the specified groups
|
44
|
+
* `triggering_user_ids` (array): Only notify on actions made one of the specified users
|
45
45
|
* `trigger_by_share_recipients` (boolean): Notify when actions are performed by a share recipient?
|
46
46
|
* `notify_user_actions` (boolean): Trigger notification on notification user actions?
|
47
47
|
* `notify_on_copy` (boolean): Triggers notification when copying files to this path
|
package/docs/models/Payment.md
CHANGED
@@ -10,25 +10,29 @@
|
|
10
10
|
"created_at": "2000-01-01T01:00:00Z",
|
11
11
|
"currency": "USD",
|
12
12
|
"download_uri": "https://url...",
|
13
|
-
"invoice_line_items":
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
13
|
+
"invoice_line_items": [
|
14
|
+
{
|
15
|
+
"amount": 1.0,
|
16
|
+
"created_at": "2000-01-01T01:00:00Z",
|
17
|
+
"description": "Service from 2019-01-01 through 2019-12-31",
|
18
|
+
"type": "invoice",
|
19
|
+
"service_end_at": "2000-01-01T01:00:00Z",
|
20
|
+
"service_start_at": "2000-01-01T01:00:00Z",
|
21
|
+
"updated_at": "2000-01-01T01:00:00Z",
|
22
|
+
"plan": "Premier",
|
23
|
+
"site": "My site"
|
24
|
+
}
|
25
|
+
],
|
24
26
|
"method": "paypal",
|
25
|
-
"payment_line_items":
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
27
|
+
"payment_line_items": [
|
28
|
+
{
|
29
|
+
"amount": 1.0,
|
30
|
+
"created_at": "2000-01-01T01:00:00Z",
|
31
|
+
"invoice_id": 1,
|
32
|
+
"payment_id": 1,
|
33
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
34
|
+
}
|
35
|
+
],
|
32
36
|
"payment_reversed_at": "2000-01-01T01:00:00Z",
|
33
37
|
"payment_type": "",
|
34
38
|
"site_name": "My Site",
|
@@ -43,9 +47,9 @@
|
|
43
47
|
* `created_at` (date-time): Line item created at
|
44
48
|
* `currency` (string): Line item currency
|
45
49
|
* `download_uri` (string): Line item download uri
|
46
|
-
* `invoice_line_items` (
|
50
|
+
* `invoice_line_items` (array): Associated invoice line items
|
47
51
|
* `method` (string): Line item payment method
|
48
|
-
* `payment_line_items` (
|
52
|
+
* `payment_line_items` (array): Associated payment line items
|
49
53
|
* `payment_reversed_at` (date-time): Date/time payment was reversed if applicable
|
50
54
|
* `payment_type` (string): Type of payment if applicable
|
51
55
|
* `site_name` (string): Site name this line item is for
|
@@ -12,6 +12,8 @@
|
|
12
12
|
"name": "My Remote server",
|
13
13
|
"port": 1,
|
14
14
|
"max_connections": 1,
|
15
|
+
"pin_to_site_region": true,
|
16
|
+
"pinned_region": "us-east-1",
|
15
17
|
"s3_bucket": "my-bucket",
|
16
18
|
"s3_region": "us-east-1",
|
17
19
|
"aws_access_key": "",
|
@@ -56,6 +58,8 @@
|
|
56
58
|
* `name` (string): Internal name for your reference
|
57
59
|
* `port` (int64): Port for remote server. Not needed for S3.
|
58
60
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
61
|
+
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
|
62
|
+
* `pinned_region` (string): If set, all communciations with this remote server are made through the provided region.
|
59
63
|
* `s3_bucket` (string): S3 bucket name
|
60
64
|
* `s3_region` (string): S3 region
|
61
65
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -143,6 +147,7 @@ await RemoteServer.create({
|
|
143
147
|
'hostname': "remote-server.com",
|
144
148
|
'name': "My Remote server",
|
145
149
|
'max_connections': 1,
|
150
|
+
'pin_to_site_region': true,
|
146
151
|
'port': 1,
|
147
152
|
's3_bucket': "my-bucket",
|
148
153
|
's3_region': "us-east-1",
|
@@ -195,6 +200,7 @@ await RemoteServer.create({
|
|
195
200
|
* `hostname` (string): Hostname or IP address
|
196
201
|
* `name` (string): Internal name for your reference
|
197
202
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
203
|
+
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
|
198
204
|
* `port` (int64): Port for remote server. Not needed for S3.
|
199
205
|
* `s3_bucket` (string): S3 bucket name
|
200
206
|
* `s3_region` (string): S3 region
|
@@ -238,6 +244,7 @@ await remote_server.update({
|
|
238
244
|
'hostname': "remote-server.com",
|
239
245
|
'name': "My Remote server",
|
240
246
|
'max_connections': 1,
|
247
|
+
'pin_to_site_region': true,
|
241
248
|
'port': 1,
|
242
249
|
's3_bucket': "my-bucket",
|
243
250
|
's3_region': "us-east-1",
|
@@ -290,6 +297,7 @@ await remote_server.update({
|
|
290
297
|
* `hostname` (string): Hostname or IP address
|
291
298
|
* `name` (string): Internal name for your reference
|
292
299
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
300
|
+
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a sitewide setting which will force it to true.
|
293
301
|
* `port` (int64): Port for remote server. Not needed for S3.
|
294
302
|
* `s3_bucket` (string): S3 bucket name
|
295
303
|
* `s3_region` (string): S3 region
|
@@ -333,6 +341,8 @@ await remote_server.update({
|
|
333
341
|
"name": "My Remote server",
|
334
342
|
"port": 1,
|
335
343
|
"max_connections": 1,
|
344
|
+
"pin_to_site_region": true,
|
345
|
+
"pinned_region": "us-east-1",
|
336
346
|
"s3_bucket": "my-bucket",
|
337
347
|
"s3_region": "us-east-1",
|
338
348
|
"aws_access_key": "",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
}
|
15
15
|
```
|
16
16
|
|
17
|
-
* `changes` (
|
17
|
+
* `changes` (array): Markdown-formatted change messages.
|
18
18
|
* `created_at` (date-time): The time this change was made
|
19
19
|
* `user_id` (int64): The user id responsible for this change
|
20
20
|
* `user_is_files_support` (boolean): true if this change was performed by Files.com support.
|
package/docs/models/Site.md
CHANGED
@@ -112,6 +112,7 @@
|
|
112
112
|
"password_requirements_apply_to_bundles": true,
|
113
113
|
"password_validity_days": 1,
|
114
114
|
"phone": "555-555-5555",
|
115
|
+
"pin_all_remote_servers_to_site_region": true,
|
115
116
|
"require_2fa": true,
|
116
117
|
"require_2fa_stop_time": "2000-01-01T01:00:00Z",
|
117
118
|
"require_2fa_user_type": "`site_admins`",
|
@@ -218,6 +219,7 @@
|
|
218
219
|
"user_lockout_tries": 1,
|
219
220
|
"user_lockout_within": 6,
|
220
221
|
"user_requests_enabled": true,
|
222
|
+
"user_requests_notify_admins": true,
|
221
223
|
"welcome_custom_text": "Welcome to my site!",
|
222
224
|
"welcome_email_cc": "",
|
223
225
|
"welcome_email_subject": "",
|
@@ -318,6 +320,7 @@
|
|
318
320
|
* `password_requirements_apply_to_bundles` (boolean): Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
319
321
|
* `password_validity_days` (int64): Number of days password is valid
|
320
322
|
* `phone` (string): Site phone number
|
323
|
+
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
321
324
|
* `require_2fa` (boolean): Require two-factor authentication for all users?
|
322
325
|
* `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
323
326
|
* `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
@@ -350,6 +353,7 @@
|
|
350
353
|
* `user_lockout_tries` (int64): Number of login tries within `user_lockout_within` hours before users are locked out
|
351
354
|
* `user_lockout_within` (int64): Number of hours for user lockout window
|
352
355
|
* `user_requests_enabled` (boolean): Enable User Requests feature
|
356
|
+
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
353
357
|
* `welcome_custom_text` (string): Custom text send in user welcome email
|
354
358
|
* `welcome_email_cc` (email): Include this email in welcome emails if enabled
|
355
359
|
* `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
|
@@ -407,6 +411,7 @@ await Site.update({
|
|
407
411
|
'folder_permissions_groups_only': true,
|
408
412
|
'welcome_screen': "user_controlled",
|
409
413
|
'office_integration_available': true,
|
414
|
+
'pin_all_remote_servers_to_site_region': true,
|
410
415
|
'session_expiry': 1.0,
|
411
416
|
'ssl_required': true,
|
412
417
|
'tls_disabled': true,
|
@@ -442,6 +447,7 @@ await Site.update({
|
|
442
447
|
'non_sso_users_allowed': true,
|
443
448
|
'sharing_enabled': true,
|
444
449
|
'user_requests_enabled': true,
|
450
|
+
'user_requests_notify_admins': true,
|
445
451
|
'ftp_enabled': true,
|
446
452
|
'sftp_enabled': true,
|
447
453
|
'allowed_2fa_method_sms': true,
|
@@ -516,6 +522,7 @@ await Site.update({
|
|
516
522
|
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user). Otherwise, permissions must be bound to a user.
|
517
523
|
* `welcome_screen` (string): Does the welcome screen appear?
|
518
524
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
525
|
+
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
519
526
|
* `session_expiry` (double): Session expiry in hours
|
520
527
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
521
528
|
* `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
@@ -552,6 +559,7 @@ await Site.update({
|
|
552
559
|
* `non_sso_users_allowed` (boolean): If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
|
553
560
|
* `sharing_enabled` (boolean): Allow bundle creation
|
554
561
|
* `user_requests_enabled` (boolean): Enable User Requests feature
|
562
|
+
* `user_requests_notify_admins` (boolean): Send email to site admins when a user request is received?
|
555
563
|
* `ftp_enabled` (boolean): Is FTP enabled?
|
556
564
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
557
565
|
* `allowed_2fa_method_sms` (boolean): Is SMS two factor authentication allowed?
|
package/docs/models/Status.md
CHANGED
@@ -8,14 +8,16 @@
|
|
8
8
|
"message": "",
|
9
9
|
"status": "",
|
10
10
|
"data": "",
|
11
|
-
"errors":
|
12
|
-
|
11
|
+
"errors": [
|
12
|
+
{
|
13
|
+
"fields": [
|
13
14
|
|
14
|
-
|
15
|
-
|
15
|
+
],
|
16
|
+
"messages": [
|
16
17
|
|
17
|
-
|
18
|
-
|
18
|
+
]
|
19
|
+
}
|
20
|
+
],
|
19
21
|
"clickwrap_id": 1,
|
20
22
|
"clickwrap_body": ""
|
21
23
|
}
|
@@ -25,6 +27,6 @@
|
|
25
27
|
* `message` (string): Error message
|
26
28
|
* `status` (string): Status message
|
27
29
|
* `data` (Auto): Additional data
|
28
|
-
* `errors` (
|
30
|
+
* `errors` (array): A list of api errors
|
29
31
|
* `clickwrap_id` (int64): Required Clickwrap id
|
30
32
|
* `clickwrap_body` (string): Required Clickwrap body
|
@@ -196,7 +196,7 @@ var ActionNotificationExport = /*#__PURE__*/(0, _createClass2.default)(function
|
|
196
196
|
|
197
197
|
case 9:
|
198
198
|
_context.next = 11;
|
199
|
-
return _Api.default.sendRequest("/action_notification_exports/".concat(params['id']), 'GET', params, options);
|
199
|
+
return _Api.default.sendRequest("/action_notification_exports/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
200
200
|
|
201
201
|
case 11:
|
202
202
|
response = _context.sent;
|
@@ -104,7 +104,7 @@ var ActionWebhookFailure = /*#__PURE__*/(0, _createClass2.default)(function Acti
|
|
104
104
|
|
105
105
|
case 14:
|
106
106
|
_context.next = 16;
|
107
|
-
return _Api.default.sendRequest("/action_webhook_failures/".concat(params['id'], "/retry"), 'POST', params, _this.options);
|
107
|
+
return _Api.default.sendRequest("/action_webhook_failures/".concat(encodeURIComponent(params['id']), "/retry"), 'POST', params, _this.options);
|
108
108
|
|
109
109
|
case 16:
|
110
110
|
response = _context.sent;
|
package/lib/models/ApiKey.js
CHANGED
@@ -191,7 +191,7 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
191
191
|
|
192
192
|
case 20:
|
193
193
|
_context.next = 22;
|
194
|
-
return _Api.default.sendRequest("/api_keys/".concat(params['id']), 'PATCH', params, _this.options);
|
194
|
+
return _Api.default.sendRequest("/api_keys/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
195
195
|
|
196
196
|
case 22:
|
197
197
|
response = _context.sent;
|
@@ -259,7 +259,7 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
259
259
|
|
260
260
|
case 14:
|
261
261
|
_context2.next = 16;
|
262
|
-
return _Api.default.sendRequest("/api_keys/".concat(params['id']), 'DELETE', params, _this.options);
|
262
|
+
return _Api.default.sendRequest("/api_keys/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
263
263
|
|
264
264
|
case 16:
|
265
265
|
response = _context2.sent;
|
@@ -423,7 +423,7 @@ var ApiKey = /*#__PURE__*/(0, _createClass2.default)(function ApiKey() {
|
|
423
423
|
|
424
424
|
case 9:
|
425
425
|
_context5.next = 11;
|
426
|
-
return _Api.default.sendRequest("/api_keys/".concat(params['id']), 'GET', params, options);
|
426
|
+
return _Api.default.sendRequest("/api_keys/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
427
427
|
|
428
428
|
case 11:
|
429
429
|
response = _context5.sent;
|
package/lib/models/As2Partner.js
CHANGED
@@ -214,7 +214,7 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
|
|
214
214
|
|
215
215
|
case 22:
|
216
216
|
_context.next = 24;
|
217
|
-
return _Api.default.sendRequest("/as2_partners/".concat(params['id']), 'PATCH', params, _this.options);
|
217
|
+
return _Api.default.sendRequest("/as2_partners/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
218
218
|
|
219
219
|
case 24:
|
220
220
|
response = _context.sent;
|
@@ -282,7 +282,7 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
|
|
282
282
|
|
283
283
|
case 14:
|
284
284
|
_context2.next = 16;
|
285
|
-
return _Api.default.sendRequest("/as2_partners/".concat(params['id']), 'DELETE', params, _this.options);
|
285
|
+
return _Api.default.sendRequest("/as2_partners/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
286
286
|
|
287
287
|
case 16:
|
288
288
|
response = _context2.sent;
|
@@ -413,7 +413,7 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
|
|
413
413
|
|
414
414
|
case 9:
|
415
415
|
_context4.next = 11;
|
416
|
-
return _Api.default.sendRequest("/as2_partners/".concat(params['id']), 'GET', params, options);
|
416
|
+
return _Api.default.sendRequest("/as2_partners/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
417
417
|
|
418
418
|
case 11:
|
419
419
|
response = _context4.sent;
|
package/lib/models/As2Station.js
CHANGED
@@ -232,7 +232,7 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
|
|
232
232
|
|
233
233
|
case 22:
|
234
234
|
_context.next = 24;
|
235
|
-
return _Api.default.sendRequest("/as2_stations/".concat(params['id']), 'PATCH', params, _this.options);
|
235
|
+
return _Api.default.sendRequest("/as2_stations/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
236
236
|
|
237
237
|
case 24:
|
238
238
|
response = _context.sent;
|
@@ -300,7 +300,7 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
|
|
300
300
|
|
301
301
|
case 14:
|
302
302
|
_context2.next = 16;
|
303
|
-
return _Api.default.sendRequest("/as2_stations/".concat(params['id']), 'DELETE', params, _this.options);
|
303
|
+
return _Api.default.sendRequest("/as2_stations/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
304
304
|
|
305
305
|
case 16:
|
306
306
|
response = _context2.sent;
|
@@ -431,7 +431,7 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
|
|
431
431
|
|
432
432
|
case 9:
|
433
433
|
_context4.next = 11;
|
434
|
-
return _Api.default.sendRequest("/as2_stations/".concat(params['id']), 'GET', params, options);
|
434
|
+
return _Api.default.sendRequest("/as2_stations/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
435
435
|
|
436
436
|
case 11:
|
437
437
|
response = _context4.sent;
|
package/lib/models/Automation.js
CHANGED
@@ -348,7 +348,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
348
348
|
|
349
349
|
case 42:
|
350
350
|
_context.next = 44;
|
351
|
-
return _Api.default.sendRequest("/automations/".concat(params['id']), 'PATCH', params, _this.options);
|
351
|
+
return _Api.default.sendRequest("/automations/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
352
352
|
|
353
353
|
case 44:
|
354
354
|
response = _context.sent;
|
@@ -416,7 +416,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
416
416
|
|
417
417
|
case 14:
|
418
418
|
_context2.next = 16;
|
419
|
-
return _Api.default.sendRequest("/automations/".concat(params['id']), 'DELETE', params, _this.options);
|
419
|
+
return _Api.default.sendRequest("/automations/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
420
420
|
|
421
421
|
case 16:
|
422
422
|
response = _context2.sent;
|
@@ -555,7 +555,7 @@ var Automation = /*#__PURE__*/(0, _createClass2.default)(function Automation() {
|
|
555
555
|
|
556
556
|
case 9:
|
557
557
|
_context4.next = 11;
|
558
|
-
return _Api.default.sendRequest("/automations/".concat(params['id']), 'GET', params, options);
|
558
|
+
return _Api.default.sendRequest("/automations/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
559
559
|
|
560
560
|
case 11:
|
561
561
|
response = _context4.sent;
|
@@ -196,7 +196,7 @@ var AutomationRun = /*#__PURE__*/(0, _createClass2.default)(function AutomationR
|
|
196
196
|
|
197
197
|
case 9:
|
198
198
|
_context2.next = 11;
|
199
|
-
return _Api.default.sendRequest("/automation_runs/".concat(params['id']), 'GET', params, options);
|
199
|
+
return _Api.default.sendRequest("/automation_runs/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
200
200
|
|
201
201
|
case 11:
|
202
202
|
response = _context2.sent;
|
package/lib/models/Behavior.js
CHANGED
@@ -198,7 +198,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
198
198
|
|
199
199
|
case 24:
|
200
200
|
_context.next = 26;
|
201
|
-
return _Api.default.sendRequest("/behaviors/".concat(params['id']), 'PATCH', params, _this.options);
|
201
|
+
return _Api.default.sendRequest("/behaviors/".concat(encodeURIComponent(params['id'])), 'PATCH', params, _this.options);
|
202
202
|
|
203
203
|
case 26:
|
204
204
|
response = _context.sent;
|
@@ -266,7 +266,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
266
266
|
|
267
267
|
case 14:
|
268
268
|
_context2.next = 16;
|
269
|
-
return _Api.default.sendRequest("/behaviors/".concat(params['id']), 'DELETE', params, _this.options);
|
269
|
+
return _Api.default.sendRequest("/behaviors/".concat(encodeURIComponent(params['id'])), 'DELETE', params, _this.options);
|
270
270
|
|
271
271
|
case 16:
|
272
272
|
response = _context2.sent;
|
@@ -405,7 +405,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
405
405
|
|
406
406
|
case 9:
|
407
407
|
_context4.next = 11;
|
408
|
-
return _Api.default.sendRequest("/behaviors/".concat(params['id']), 'GET', params, options);
|
408
|
+
return _Api.default.sendRequest("/behaviors/".concat(encodeURIComponent(params['id'])), 'GET', params, options);
|
409
409
|
|
410
410
|
case 11:
|
411
411
|
response = _context4.sent;
|
@@ -502,7 +502,7 @@ var Behavior = /*#__PURE__*/(0, _createClass2.default)(function Behavior() {
|
|
502
502
|
|
503
503
|
case 17:
|
504
504
|
_context5.next = 19;
|
505
|
-
return _Api.default.sendRequest("/behaviors/folders/".concat(params['path']), 'GET', params, options);
|
505
|
+
return _Api.default.sendRequest("/behaviors/folders/".concat(encodeURIComponent(params['path'])), 'GET', params, options);
|
506
506
|
|
507
507
|
case 19:
|
508
508
|
response = _context5.sent;
|