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.
Files changed (106) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/AccountLineItem.md +24 -20
  3. package/docs/models/App.md +1 -1
  4. package/docs/models/Automation.md +10 -6
  5. package/docs/models/Bundle.md +39 -28
  6. package/docs/models/File.md +4 -0
  7. package/docs/models/FileComment.md +13 -9
  8. package/docs/models/Folder.md +2 -0
  9. package/docs/models/FormField.md +1 -1
  10. package/docs/models/FormFieldSet.md +36 -32
  11. package/docs/models/Group.md +13 -25
  12. package/docs/models/Invoice.md +24 -20
  13. package/docs/models/InvoiceLineItem.md +1 -1
  14. package/docs/models/Message.md +21 -13
  15. package/docs/models/MessageComment.md +13 -9
  16. package/docs/models/Notification.md +2 -2
  17. package/docs/models/Payment.md +24 -20
  18. package/docs/models/RemoteServer.md +10 -0
  19. package/docs/models/SettingsChange.md +1 -1
  20. package/docs/models/Site.md +8 -0
  21. package/docs/models/Status.md +9 -7
  22. package/docs/models/UsageDailySnapshot.md +1 -1
  23. package/lib/models/ActionNotificationExport.js +1 -1
  24. package/lib/models/ActionWebhookFailure.js +1 -1
  25. package/lib/models/ApiKey.js +3 -3
  26. package/lib/models/As2Partner.js +3 -3
  27. package/lib/models/As2Station.js +3 -3
  28. package/lib/models/Automation.js +3 -3
  29. package/lib/models/AutomationRun.js +1 -1
  30. package/lib/models/Behavior.js +4 -4
  31. package/lib/models/Bundle.js +41 -19
  32. package/lib/models/Clickwrap.js +3 -3
  33. package/lib/models/ExternalEvent.js +1 -1
  34. package/lib/models/File.js +11 -8
  35. package/lib/models/FileComment.js +3 -3
  36. package/lib/models/FileCommentReaction.js +1 -1
  37. package/lib/models/FileMigration.js +1 -1
  38. package/lib/models/Folder.js +5 -2
  39. package/lib/models/FormFieldSet.js +3 -3
  40. package/lib/models/Group.js +3 -3
  41. package/lib/models/GroupUser.js +2 -2
  42. package/lib/models/History.js +3 -3
  43. package/lib/models/HistoryExport.js +1 -1
  44. package/lib/models/Invoice.js +1 -1
  45. package/lib/models/Lock.js +3 -3
  46. package/lib/models/Message.js +3 -3
  47. package/lib/models/MessageComment.js +3 -3
  48. package/lib/models/MessageCommentReaction.js +2 -2
  49. package/lib/models/MessageReaction.js +2 -2
  50. package/lib/models/Notification.js +3 -3
  51. package/lib/models/Payment.js +1 -1
  52. package/lib/models/Permission.js +1 -1
  53. package/lib/models/Project.js +3 -3
  54. package/lib/models/PublicKey.js +3 -3
  55. package/lib/models/RemoteServer.js +15 -3
  56. package/lib/models/Request.js +2 -2
  57. package/lib/models/Site.js +6 -0
  58. package/lib/models/SsoStrategy.js +2 -2
  59. package/lib/models/Style.js +3 -3
  60. package/lib/models/User.js +6 -6
  61. package/lib/models/UserRequest.js +2 -2
  62. package/package.json +1 -1
  63. package/src/models/AccountLineItem.js +2 -2
  64. package/src/models/ActionNotificationExport.js +1 -1
  65. package/src/models/ActionWebhookFailure.js +1 -1
  66. package/src/models/ApiKey.js +3 -3
  67. package/src/models/App.js +1 -1
  68. package/src/models/As2Partner.js +3 -3
  69. package/src/models/As2Station.js +3 -3
  70. package/src/models/Automation.js +5 -5
  71. package/src/models/AutomationRun.js +1 -1
  72. package/src/models/Behavior.js +4 -4
  73. package/src/models/Bundle.js +20 -4
  74. package/src/models/Clickwrap.js +3 -3
  75. package/src/models/ExternalEvent.js +1 -1
  76. package/src/models/File.js +11 -8
  77. package/src/models/FileComment.js +4 -4
  78. package/src/models/FileCommentReaction.js +1 -1
  79. package/src/models/FileMigration.js +1 -1
  80. package/src/models/Folder.js +5 -2
  81. package/src/models/FormField.js +1 -1
  82. package/src/models/FormFieldSet.js +5 -5
  83. package/src/models/Group.js +6 -6
  84. package/src/models/GroupUser.js +2 -2
  85. package/src/models/History.js +3 -3
  86. package/src/models/HistoryExport.js +1 -1
  87. package/src/models/Invoice.js +3 -3
  88. package/src/models/Lock.js +3 -3
  89. package/src/models/Message.js +4 -4
  90. package/src/models/MessageComment.js +4 -4
  91. package/src/models/MessageCommentReaction.js +2 -2
  92. package/src/models/MessageReaction.js +2 -2
  93. package/src/models/Notification.js +5 -5
  94. package/src/models/Payment.js +3 -3
  95. package/src/models/Permission.js +1 -1
  96. package/src/models/Project.js +3 -3
  97. package/src/models/PublicKey.js +3 -3
  98. package/src/models/RemoteServer.js +19 -3
  99. package/src/models/Request.js +2 -2
  100. package/src/models/SettingsChange.js +1 -1
  101. package/src/models/Site.js +8 -0
  102. package/src/models/SsoStrategy.js +2 -2
  103. package/src/models/Status.js +1 -1
  104. package/src/models/Style.js +3 -3
  105. package/src/models/User.js +6 -6
  106. package/src/models/UserRequest.js +2 -2
@@ -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
- "id": 1,
12
- "body": "What a great idea, thank you!",
13
- "reactions": {
10
+ "comments": [
11
+ {
14
12
  "id": 1,
15
- "emoji": "👍"
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` (MessageComment): 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
- "id": 1,
112
- "body": "What a great idea, thank you!",
113
- "reactions": {
114
+ "comments": [
115
+ {
114
116
  "id": 1,
115
- "emoji": "👍"
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
- "id": 1,
11
- "emoji": "👍"
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` (MessageCommentReaction): Reactions to this comment.
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
- "id": 1,
96
- "emoji": "👍"
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` (int64): Only notify on actions made by a member of one of the specified groups
44
- * `triggering_user_ids` (int64): Only notify on actions made one of the specified users
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
@@ -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
- "amount": 1.0,
15
- "created_at": "2000-01-01T01:00:00Z",
16
- "description": "Service from 2019-01-01 through 2019-12-31",
17
- "type": "invoice",
18
- "service_end_at": "2000-01-01T01:00:00Z",
19
- "service_start_at": "2000-01-01T01:00:00Z",
20
- "updated_at": "2000-01-01T01:00:00Z",
21
- "plan": "Enterprise",
22
- "site": "My site"
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
- "amount": 1.0,
27
- "created_at": "2000-01-01T01:00:00Z",
28
- "invoice_id": 1,
29
- "payment_id": 1,
30
- "updated_at": "2000-01-01T01:00:00Z"
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` (InvoiceLineItem): Associated invoice line items
50
+ * `invoice_line_items` (array): Associated invoice line items
47
51
  * `method` (string): Line item payment method
48
- * `payment_line_items` (PaymentLineItem): Associated 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` (string): Markdown-formatted change messages.
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.
@@ -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?
@@ -8,14 +8,16 @@
8
8
  "message": "",
9
9
  "status": "",
10
10
  "data": "",
11
- "errors": {
12
- "fields": [
11
+ "errors": [
12
+ {
13
+ "fields": [
13
14
 
14
- ],
15
- "messages": [
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` (Errors): A list of api 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
@@ -15,7 +15,7 @@
15
15
  "deleted_files_counted_in_minimum": "65536",
16
16
  "root_storage": "65536",
17
17
  "usage_by_top_level_dir": [
18
-
18
+ ""
19
19
  ]
20
20
  }
21
21
  ```
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;