files.com 1.0.248 → 1.0.249

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/_VERSION +1 -1
  2. package/lib/models/AccountLineItem.js +14 -0
  3. package/lib/models/Action.js +13 -0
  4. package/lib/models/ActionNotificationExport.js +27 -0
  5. package/lib/models/ActionNotificationExportResult.js +15 -0
  6. package/lib/models/ActionWebhookFailure.js +1 -0
  7. package/lib/models/ApiKey.js +42 -0
  8. package/lib/models/App.js +26 -0
  9. package/lib/models/As2IncomingMessage.js +46 -0
  10. package/lib/models/As2OutgoingMessage.js +42 -0
  11. package/lib/models/As2Partner.js +29 -0
  12. package/lib/models/As2Station.js +31 -0
  13. package/lib/models/Auto.js +1 -0
  14. package/lib/models/Automation.js +72 -0
  15. package/lib/models/AutomationRun.js +20 -0
  16. package/lib/models/BandwidthSnapshot.js +19 -0
  17. package/lib/models/Behavior.js +57 -0
  18. package/lib/models/Bundle.js +98 -0
  19. package/lib/models/BundleDownload.js +16 -0
  20. package/lib/models/BundleNotification.js +20 -0
  21. package/lib/models/BundleRecipient.js +28 -0
  22. package/lib/models/BundleRegistration.js +18 -0
  23. package/lib/models/Clickwrap.js +23 -0
  24. package/lib/models/DnsRecord.js +7 -0
  25. package/lib/models/Errors.js +2 -0
  26. package/lib/models/ExternalEvent.js +26 -0
  27. package/lib/models/File.js +88 -0
  28. package/lib/models/FileAction.js +2 -0
  29. package/lib/models/FileComment.js +13 -0
  30. package/lib/models/FileCommentReaction.js +8 -0
  31. package/lib/models/FileMigration.js +11 -0
  32. package/lib/models/FileUploadPart.js +15 -0
  33. package/lib/models/Folder.js +33 -0
  34. package/lib/models/FormField.js +8 -0
  35. package/lib/models/FormFieldSet.js +27 -0
  36. package/lib/models/Group.js +29 -0
  37. package/lib/models/GroupUser.js +22 -0
  38. package/lib/models/History.js +57 -0
  39. package/lib/models/HistoryExport.js +51 -0
  40. package/lib/models/HistoryExportResult.js +29 -0
  41. package/lib/models/Image.js +2 -0
  42. package/lib/models/InboxRecipient.js +28 -0
  43. package/lib/models/InboxRegistration.js +15 -0
  44. package/lib/models/InboxUpload.js +15 -0
  45. package/lib/models/Invoice.js +19 -0
  46. package/lib/models/InvoiceLineItem.js +9 -0
  47. package/lib/models/IpAddress.js +13 -0
  48. package/lib/models/Lock.js +25 -0
  49. package/lib/models/Message.js +22 -0
  50. package/lib/models/MessageComment.js +16 -0
  51. package/lib/models/MessageCommentReaction.js +13 -0
  52. package/lib/models/MessageReaction.js +13 -0
  53. package/lib/models/Notification.js +70 -0
  54. package/lib/models/Payment.js +19 -0
  55. package/lib/models/PaymentLineItem.js +4 -0
  56. package/lib/models/Permission.js +29 -0
  57. package/lib/models/Preview.js +5 -0
  58. package/lib/models/Priority.js +6 -0
  59. package/lib/models/Project.js +11 -0
  60. package/lib/models/PublicIpAddress.js +4 -0
  61. package/lib/models/PublicKey.js +18 -0
  62. package/lib/models/RemoteBandwidthSnapshot.js +15 -0
  63. package/lib/models/RemoteServer.js +194 -0
  64. package/lib/models/RemoteServerConfigurationFile.js +12 -0
  65. package/lib/models/Request.js +25 -0
  66. package/lib/models/Session.js +13 -0
  67. package/lib/models/SettingsChange.js +15 -0
  68. package/lib/models/SftpHostKey.js +16 -0
  69. package/lib/models/Site.js +276 -0
  70. package/lib/models/SsoStrategy.js +49 -0
  71. package/lib/models/Status.js +7 -0
  72. package/lib/models/Style.js +9 -0
  73. package/lib/models/UsageDailySnapshot.js +21 -0
  74. package/lib/models/UsageSnapshot.js +18 -0
  75. package/lib/models/User.js +183 -0
  76. package/lib/models/UserCipherUse.js +10 -0
  77. package/lib/models/UserRequest.js +13 -0
  78. package/lib/models/WebhookTest.js +24 -0
  79. package/package.json +1 -1
@@ -31,18 +31,23 @@ var RemoteBandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function R
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Site bandwidth ID
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
38
+ // double # Site sync bandwidth report bytes received
37
39
  (0, _defineProperty2.default)(this, "getSyncBytesReceived", function () {
38
40
  return _this.attributes.sync_bytes_received;
39
41
  });
42
+ // double # Site sync bandwidth report bytes sent
40
43
  (0, _defineProperty2.default)(this, "getSyncBytesSent", function () {
41
44
  return _this.attributes.sync_bytes_sent;
42
45
  });
46
+ // date-time # Time the site bandwidth report was logged
43
47
  (0, _defineProperty2.default)(this, "getLoggedAt", function () {
44
48
  return _this.attributes.logged_at;
45
49
  });
50
+ // int64 # ID of related Remote Server
46
51
  (0, _defineProperty2.default)(this, "getRemoteServerId", function () {
47
52
  return _this.attributes.remote_server_id;
48
53
  });
@@ -59,6 +64,16 @@ var RemoteBandwidthSnapshot = /*#__PURE__*/(0, _createClass2.default)(function R
59
64
  });
60
65
  this.options = _objectSpread({}, options);
61
66
  });
67
+ // Parameters:
68
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
69
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
70
+ // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
71
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
72
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
73
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `logged_at`.
74
+ // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
75
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
76
+ // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `logged_at`.
62
77
  (0, _defineProperty2.default)(RemoteBandwidthSnapshot, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
63
78
  var _response$data;
64
79
  var params,
@@ -31,384 +31,461 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Remote server ID
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
37
38
  (0, _defineProperty2.default)(this, "setId", function (value) {
38
39
  _this.attributes.id = value;
39
40
  });
41
+ // boolean # If true, this server has been disabled due to failures. Make any change or set disabled to false to clear this flag.
40
42
  (0, _defineProperty2.default)(this, "getDisabled", function () {
41
43
  return _this.attributes.disabled;
42
44
  });
43
45
  (0, _defineProperty2.default)(this, "setDisabled", function (value) {
44
46
  _this.attributes.disabled = value;
45
47
  });
48
+ // string # Type of authentication method
46
49
  (0, _defineProperty2.default)(this, "getAuthenticationMethod", function () {
47
50
  return _this.attributes.authentication_method;
48
51
  });
49
52
  (0, _defineProperty2.default)(this, "setAuthenticationMethod", function (value) {
50
53
  _this.attributes.authentication_method = value;
51
54
  });
55
+ // string # Hostname or IP address
52
56
  (0, _defineProperty2.default)(this, "getHostname", function () {
53
57
  return _this.attributes.hostname;
54
58
  });
55
59
  (0, _defineProperty2.default)(this, "setHostname", function (value) {
56
60
  _this.attributes.hostname = value;
57
61
  });
62
+ // string # Initial home folder on remote server
58
63
  (0, _defineProperty2.default)(this, "getRemoteHomePath", function () {
59
64
  return _this.attributes.remote_home_path;
60
65
  });
61
66
  (0, _defineProperty2.default)(this, "setRemoteHomePath", function (value) {
62
67
  _this.attributes.remote_home_path = value;
63
68
  });
69
+ // string # Internal name for your reference
64
70
  (0, _defineProperty2.default)(this, "getName", function () {
65
71
  return _this.attributes.name;
66
72
  });
67
73
  (0, _defineProperty2.default)(this, "setName", function (value) {
68
74
  _this.attributes.name = value;
69
75
  });
76
+ // int64 # Port for remote server. Not needed for S3.
70
77
  (0, _defineProperty2.default)(this, "getPort", function () {
71
78
  return _this.attributes.port;
72
79
  });
73
80
  (0, _defineProperty2.default)(this, "setPort", function (value) {
74
81
  _this.attributes.port = value;
75
82
  });
83
+ // int64 # Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
76
84
  (0, _defineProperty2.default)(this, "getMaxConnections", function () {
77
85
  return _this.attributes.max_connections;
78
86
  });
79
87
  (0, _defineProperty2.default)(this, "setMaxConnections", function (value) {
80
88
  _this.attributes.max_connections = value;
81
89
  });
90
+ // 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.
82
91
  (0, _defineProperty2.default)(this, "getPinToSiteRegion", function () {
83
92
  return _this.attributes.pin_to_site_region;
84
93
  });
85
94
  (0, _defineProperty2.default)(this, "setPinToSiteRegion", function (value) {
86
95
  _this.attributes.pin_to_site_region = value;
87
96
  });
97
+ // string # If set, all communciations with this remote server are made through the provided region.
88
98
  (0, _defineProperty2.default)(this, "getPinnedRegion", function () {
89
99
  return _this.attributes.pinned_region;
90
100
  });
91
101
  (0, _defineProperty2.default)(this, "setPinnedRegion", function (value) {
92
102
  _this.attributes.pinned_region = value;
93
103
  });
104
+ // string # S3 bucket name
94
105
  (0, _defineProperty2.default)(this, "getS3Bucket", function () {
95
106
  return _this.attributes.s3_bucket;
96
107
  });
97
108
  (0, _defineProperty2.default)(this, "setS3Bucket", function (value) {
98
109
  _this.attributes.s3_bucket = value;
99
110
  });
111
+ // string # S3 region
100
112
  (0, _defineProperty2.default)(this, "getS3Region", function () {
101
113
  return _this.attributes.s3_region;
102
114
  });
103
115
  (0, _defineProperty2.default)(this, "setS3Region", function (value) {
104
116
  _this.attributes.s3_region = value;
105
117
  });
118
+ // string # AWS Access Key.
106
119
  (0, _defineProperty2.default)(this, "getAwsAccessKey", function () {
107
120
  return _this.attributes.aws_access_key;
108
121
  });
109
122
  (0, _defineProperty2.default)(this, "setAwsAccessKey", function (value) {
110
123
  _this.attributes.aws_access_key = value;
111
124
  });
125
+ // string # Remote server certificate
112
126
  (0, _defineProperty2.default)(this, "getServerCertificate", function () {
113
127
  return _this.attributes.server_certificate;
114
128
  });
115
129
  (0, _defineProperty2.default)(this, "setServerCertificate", function (value) {
116
130
  _this.attributes.server_certificate = value;
117
131
  });
132
+ // string # Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
118
133
  (0, _defineProperty2.default)(this, "getServerHostKey", function () {
119
134
  return _this.attributes.server_host_key;
120
135
  });
121
136
  (0, _defineProperty2.default)(this, "setServerHostKey", function (value) {
122
137
  _this.attributes.server_host_key = value;
123
138
  });
139
+ // string # Remote server type.
124
140
  (0, _defineProperty2.default)(this, "getServerType", function () {
125
141
  return _this.attributes.server_type;
126
142
  });
127
143
  (0, _defineProperty2.default)(this, "setServerType", function (value) {
128
144
  _this.attributes.server_type = value;
129
145
  });
146
+ // string # Should we require SSL?
130
147
  (0, _defineProperty2.default)(this, "getSsl", function () {
131
148
  return _this.attributes.ssl;
132
149
  });
133
150
  (0, _defineProperty2.default)(this, "setSsl", function (value) {
134
151
  _this.attributes.ssl = value;
135
152
  });
153
+ // string # Remote server username. Not needed for S3 buckets.
136
154
  (0, _defineProperty2.default)(this, "getUsername", function () {
137
155
  return _this.attributes.username;
138
156
  });
139
157
  (0, _defineProperty2.default)(this, "setUsername", function (value) {
140
158
  _this.attributes.username = value;
141
159
  });
160
+ // string # Google Cloud Storage bucket name
142
161
  (0, _defineProperty2.default)(this, "getGoogleCloudStorageBucket", function () {
143
162
  return _this.attributes.google_cloud_storage_bucket;
144
163
  });
145
164
  (0, _defineProperty2.default)(this, "setGoogleCloudStorageBucket", function (value) {
146
165
  _this.attributes.google_cloud_storage_bucket = value;
147
166
  });
167
+ // string # Google Cloud Project ID
148
168
  (0, _defineProperty2.default)(this, "getGoogleCloudStorageProjectId", function () {
149
169
  return _this.attributes.google_cloud_storage_project_id;
150
170
  });
151
171
  (0, _defineProperty2.default)(this, "setGoogleCloudStorageProjectId", function (value) {
152
172
  _this.attributes.google_cloud_storage_project_id = value;
153
173
  });
174
+ // string # Backblaze B2 Cloud Storage S3 Endpoint
154
175
  (0, _defineProperty2.default)(this, "getBackblazeB2S3Endpoint", function () {
155
176
  return _this.attributes.backblaze_b2_s3_endpoint;
156
177
  });
157
178
  (0, _defineProperty2.default)(this, "setBackblazeB2S3Endpoint", function (value) {
158
179
  _this.attributes.backblaze_b2_s3_endpoint = value;
159
180
  });
181
+ // string # Backblaze B2 Cloud Storage Bucket name
160
182
  (0, _defineProperty2.default)(this, "getBackblazeB2Bucket", function () {
161
183
  return _this.attributes.backblaze_b2_bucket;
162
184
  });
163
185
  (0, _defineProperty2.default)(this, "setBackblazeB2Bucket", function (value) {
164
186
  _this.attributes.backblaze_b2_bucket = value;
165
187
  });
188
+ // string # Wasabi Bucket name
166
189
  (0, _defineProperty2.default)(this, "getWasabiBucket", function () {
167
190
  return _this.attributes.wasabi_bucket;
168
191
  });
169
192
  (0, _defineProperty2.default)(this, "setWasabiBucket", function (value) {
170
193
  _this.attributes.wasabi_bucket = value;
171
194
  });
195
+ // string # Wasabi region
172
196
  (0, _defineProperty2.default)(this, "getWasabiRegion", function () {
173
197
  return _this.attributes.wasabi_region;
174
198
  });
175
199
  (0, _defineProperty2.default)(this, "setWasabiRegion", function (value) {
176
200
  _this.attributes.wasabi_region = value;
177
201
  });
202
+ // string # Wasabi access key.
178
203
  (0, _defineProperty2.default)(this, "getWasabiAccessKey", function () {
179
204
  return _this.attributes.wasabi_access_key;
180
205
  });
181
206
  (0, _defineProperty2.default)(this, "setWasabiAccessKey", function (value) {
182
207
  _this.attributes.wasabi_access_key = value;
183
208
  });
209
+ // string # Rackspace username used to login to the Rackspace Cloud Control Panel.
184
210
  (0, _defineProperty2.default)(this, "getRackspaceUsername", function () {
185
211
  return _this.attributes.rackspace_username;
186
212
  });
187
213
  (0, _defineProperty2.default)(this, "setRackspaceUsername", function (value) {
188
214
  _this.attributes.rackspace_username = value;
189
215
  });
216
+ // string # Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
190
217
  (0, _defineProperty2.default)(this, "getRackspaceRegion", function () {
191
218
  return _this.attributes.rackspace_region;
192
219
  });
193
220
  (0, _defineProperty2.default)(this, "setRackspaceRegion", function (value) {
194
221
  _this.attributes.rackspace_region = value;
195
222
  });
223
+ // string # The name of the container (top level directory) where files will sync.
196
224
  (0, _defineProperty2.default)(this, "getRackspaceContainer", function () {
197
225
  return _this.attributes.rackspace_container;
198
226
  });
199
227
  (0, _defineProperty2.default)(this, "setRackspaceContainer", function (value) {
200
228
  _this.attributes.rackspace_container = value;
201
229
  });
230
+ // string # Returns link to login with an Oauth provider
202
231
  (0, _defineProperty2.default)(this, "getAuthSetupLink", function () {
203
232
  return _this.attributes.auth_setup_link;
204
233
  });
205
234
  (0, _defineProperty2.default)(this, "setAuthSetupLink", function (value) {
206
235
  _this.attributes.auth_setup_link = value;
207
236
  });
237
+ // string # Either `in_setup` or `complete`
208
238
  (0, _defineProperty2.default)(this, "getAuthStatus", function () {
209
239
  return _this.attributes.auth_status;
210
240
  });
211
241
  (0, _defineProperty2.default)(this, "setAuthStatus", function (value) {
212
242
  _this.attributes.auth_status = value;
213
243
  });
244
+ // string # Describes the authorized account
214
245
  (0, _defineProperty2.default)(this, "getAuthAccountName", function () {
215
246
  return _this.attributes.auth_account_name;
216
247
  });
217
248
  (0, _defineProperty2.default)(this, "setAuthAccountName", function (value) {
218
249
  _this.attributes.auth_account_name = value;
219
250
  });
251
+ // string # Either personal or business_other account types
220
252
  (0, _defineProperty2.default)(this, "getOneDriveAccountType", function () {
221
253
  return _this.attributes.one_drive_account_type;
222
254
  });
223
255
  (0, _defineProperty2.default)(this, "setOneDriveAccountType", function (value) {
224
256
  _this.attributes.one_drive_account_type = value;
225
257
  });
258
+ // string # Azure Blob Storage Account name
226
259
  (0, _defineProperty2.default)(this, "getAzureBlobStorageAccount", function () {
227
260
  return _this.attributes.azure_blob_storage_account;
228
261
  });
229
262
  (0, _defineProperty2.default)(this, "setAzureBlobStorageAccount", function (value) {
230
263
  _this.attributes.azure_blob_storage_account = value;
231
264
  });
265
+ // string # Shared Access Signature (SAS) token
232
266
  (0, _defineProperty2.default)(this, "getAzureBlobStorageSasToken", function () {
233
267
  return _this.attributes.azure_blob_storage_sas_token;
234
268
  });
235
269
  (0, _defineProperty2.default)(this, "setAzureBlobStorageSasToken", function (value) {
236
270
  _this.attributes.azure_blob_storage_sas_token = value;
237
271
  });
272
+ // string # Azure Blob Storage Container name
238
273
  (0, _defineProperty2.default)(this, "getAzureBlobStorageContainer", function () {
239
274
  return _this.attributes.azure_blob_storage_container;
240
275
  });
241
276
  (0, _defineProperty2.default)(this, "setAzureBlobStorageContainer", function (value) {
242
277
  _this.attributes.azure_blob_storage_container = value;
243
278
  });
279
+ // string # Azure File Storage Account name
244
280
  (0, _defineProperty2.default)(this, "getAzureFilesStorageAccount", function () {
245
281
  return _this.attributes.azure_files_storage_account;
246
282
  });
247
283
  (0, _defineProperty2.default)(this, "setAzureFilesStorageAccount", function (value) {
248
284
  _this.attributes.azure_files_storage_account = value;
249
285
  });
286
+ // string # Shared Access Signature (SAS) token
250
287
  (0, _defineProperty2.default)(this, "getAzureFilesStorageSasToken", function () {
251
288
  return _this.attributes.azure_files_storage_sas_token;
252
289
  });
253
290
  (0, _defineProperty2.default)(this, "setAzureFilesStorageSasToken", function (value) {
254
291
  _this.attributes.azure_files_storage_sas_token = value;
255
292
  });
293
+ // string # Azure File Storage Share name
256
294
  (0, _defineProperty2.default)(this, "getAzureFilesStorageShareName", function () {
257
295
  return _this.attributes.azure_files_storage_share_name;
258
296
  });
259
297
  (0, _defineProperty2.default)(this, "setAzureFilesStorageShareName", function (value) {
260
298
  _this.attributes.azure_files_storage_share_name = value;
261
299
  });
300
+ // string # S3-compatible Bucket name
262
301
  (0, _defineProperty2.default)(this, "getS3CompatibleBucket", function () {
263
302
  return _this.attributes.s3_compatible_bucket;
264
303
  });
265
304
  (0, _defineProperty2.default)(this, "setS3CompatibleBucket", function (value) {
266
305
  _this.attributes.s3_compatible_bucket = value;
267
306
  });
307
+ // string # S3-compatible endpoint
268
308
  (0, _defineProperty2.default)(this, "getS3CompatibleEndpoint", function () {
269
309
  return _this.attributes.s3_compatible_endpoint;
270
310
  });
271
311
  (0, _defineProperty2.default)(this, "setS3CompatibleEndpoint", function (value) {
272
312
  _this.attributes.s3_compatible_endpoint = value;
273
313
  });
314
+ // string # S3-compatible endpoint
274
315
  (0, _defineProperty2.default)(this, "getS3CompatibleRegion", function () {
275
316
  return _this.attributes.s3_compatible_region;
276
317
  });
277
318
  (0, _defineProperty2.default)(this, "setS3CompatibleRegion", function (value) {
278
319
  _this.attributes.s3_compatible_region = value;
279
320
  });
321
+ // string # S3-compatible Access Key.
280
322
  (0, _defineProperty2.default)(this, "getS3CompatibleAccessKey", function () {
281
323
  return _this.attributes.s3_compatible_access_key;
282
324
  });
283
325
  (0, _defineProperty2.default)(this, "setS3CompatibleAccessKey", function (value) {
284
326
  _this.attributes.s3_compatible_access_key = value;
285
327
  });
328
+ // boolean # `true` if remote server only accepts connections from dedicated IPs
286
329
  (0, _defineProperty2.default)(this, "getEnableDedicatedIps", function () {
287
330
  return _this.attributes.enable_dedicated_ips;
288
331
  });
289
332
  (0, _defineProperty2.default)(this, "setEnableDedicatedIps", function (value) {
290
333
  _this.attributes.enable_dedicated_ips = value;
291
334
  });
335
+ // string # Local permissions for files agent. read_only, write_only, or read_write
292
336
  (0, _defineProperty2.default)(this, "getFilesAgentPermissionSet", function () {
293
337
  return _this.attributes.files_agent_permission_set;
294
338
  });
295
339
  (0, _defineProperty2.default)(this, "setFilesAgentPermissionSet", function (value) {
296
340
  _this.attributes.files_agent_permission_set = value;
297
341
  });
342
+ // string # Agent local root path
298
343
  (0, _defineProperty2.default)(this, "getFilesAgentRoot", function () {
299
344
  return _this.attributes.files_agent_root;
300
345
  });
301
346
  (0, _defineProperty2.default)(this, "setFilesAgentRoot", function (value) {
302
347
  _this.attributes.files_agent_root = value;
303
348
  });
349
+ // string # Files Agent API Token
304
350
  (0, _defineProperty2.default)(this, "getFilesAgentApiToken", function () {
305
351
  return _this.attributes.files_agent_api_token;
306
352
  });
307
353
  (0, _defineProperty2.default)(this, "setFilesAgentApiToken", function (value) {
308
354
  _this.attributes.files_agent_api_token = value;
309
355
  });
356
+ // string # Filebase Bucket name
310
357
  (0, _defineProperty2.default)(this, "getFilebaseBucket", function () {
311
358
  return _this.attributes.filebase_bucket;
312
359
  });
313
360
  (0, _defineProperty2.default)(this, "setFilebaseBucket", function (value) {
314
361
  _this.attributes.filebase_bucket = value;
315
362
  });
363
+ // string # Filebase Access Key.
316
364
  (0, _defineProperty2.default)(this, "getFilebaseAccessKey", function () {
317
365
  return _this.attributes.filebase_access_key;
318
366
  });
319
367
  (0, _defineProperty2.default)(this, "setFilebaseAccessKey", function (value) {
320
368
  _this.attributes.filebase_access_key = value;
321
369
  });
370
+ // string # AWS secret key.
322
371
  (0, _defineProperty2.default)(this, "getAwsSecretKey", function () {
323
372
  return _this.attributes.aws_secret_key;
324
373
  });
325
374
  (0, _defineProperty2.default)(this, "setAwsSecretKey", function (value) {
326
375
  _this.attributes.aws_secret_key = value;
327
376
  });
377
+ // string # Password if needed.
328
378
  (0, _defineProperty2.default)(this, "getPassword", function () {
329
379
  return _this.attributes.password;
330
380
  });
331
381
  (0, _defineProperty2.default)(this, "setPassword", function (value) {
332
382
  _this.attributes.password = value;
333
383
  });
384
+ // string # Private key if needed.
334
385
  (0, _defineProperty2.default)(this, "getPrivateKey", function () {
335
386
  return _this.attributes.private_key;
336
387
  });
337
388
  (0, _defineProperty2.default)(this, "setPrivateKey", function (value) {
338
389
  _this.attributes.private_key = value;
339
390
  });
391
+ // string # Passphrase for private key if needed.
340
392
  (0, _defineProperty2.default)(this, "getPrivateKeyPassphrase", function () {
341
393
  return _this.attributes.private_key_passphrase;
342
394
  });
343
395
  (0, _defineProperty2.default)(this, "setPrivateKeyPassphrase", function (value) {
344
396
  _this.attributes.private_key_passphrase = value;
345
397
  });
398
+ // string # SSL client certificate.
346
399
  (0, _defineProperty2.default)(this, "getSslCertificate", function () {
347
400
  return _this.attributes.ssl_certificate;
348
401
  });
349
402
  (0, _defineProperty2.default)(this, "setSslCertificate", function (value) {
350
403
  _this.attributes.ssl_certificate = value;
351
404
  });
405
+ // string # A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
352
406
  (0, _defineProperty2.default)(this, "getGoogleCloudStorageCredentialsJson", function () {
353
407
  return _this.attributes.google_cloud_storage_credentials_json;
354
408
  });
355
409
  (0, _defineProperty2.default)(this, "setGoogleCloudStorageCredentialsJson", function (value) {
356
410
  _this.attributes.google_cloud_storage_credentials_json = value;
357
411
  });
412
+ // string # Wasabi secret key.
358
413
  (0, _defineProperty2.default)(this, "getWasabiSecretKey", function () {
359
414
  return _this.attributes.wasabi_secret_key;
360
415
  });
361
416
  (0, _defineProperty2.default)(this, "setWasabiSecretKey", function (value) {
362
417
  _this.attributes.wasabi_secret_key = value;
363
418
  });
419
+ // string # Backblaze B2 Cloud Storage keyID.
364
420
  (0, _defineProperty2.default)(this, "getBackblazeB2KeyId", function () {
365
421
  return _this.attributes.backblaze_b2_key_id;
366
422
  });
367
423
  (0, _defineProperty2.default)(this, "setBackblazeB2KeyId", function (value) {
368
424
  _this.attributes.backblaze_b2_key_id = value;
369
425
  });
426
+ // string # Backblaze B2 Cloud Storage applicationKey.
370
427
  (0, _defineProperty2.default)(this, "getBackblazeB2ApplicationKey", function () {
371
428
  return _this.attributes.backblaze_b2_application_key;
372
429
  });
373
430
  (0, _defineProperty2.default)(this, "setBackblazeB2ApplicationKey", function (value) {
374
431
  _this.attributes.backblaze_b2_application_key = value;
375
432
  });
433
+ // string # Rackspace API key from the Rackspace Cloud Control Panel.
376
434
  (0, _defineProperty2.default)(this, "getRackspaceApiKey", function () {
377
435
  return _this.attributes.rackspace_api_key;
378
436
  });
379
437
  (0, _defineProperty2.default)(this, "setRackspaceApiKey", function (value) {
380
438
  _this.attributes.rackspace_api_key = value;
381
439
  });
440
+ // boolean # Reset authenticated account
382
441
  (0, _defineProperty2.default)(this, "getResetAuthentication", function () {
383
442
  return _this.attributes.reset_authentication;
384
443
  });
385
444
  (0, _defineProperty2.default)(this, "setResetAuthentication", function (value) {
386
445
  _this.attributes.reset_authentication = value;
387
446
  });
447
+ // string # Azure Blob Storage secret key.
388
448
  (0, _defineProperty2.default)(this, "getAzureBlobStorageAccessKey", function () {
389
449
  return _this.attributes.azure_blob_storage_access_key;
390
450
  });
391
451
  (0, _defineProperty2.default)(this, "setAzureBlobStorageAccessKey", function (value) {
392
452
  _this.attributes.azure_blob_storage_access_key = value;
393
453
  });
454
+ // string # Azure File Storage access key.
394
455
  (0, _defineProperty2.default)(this, "getAzureFilesStorageAccessKey", function () {
395
456
  return _this.attributes.azure_files_storage_access_key;
396
457
  });
397
458
  (0, _defineProperty2.default)(this, "setAzureFilesStorageAccessKey", function (value) {
398
459
  _this.attributes.azure_files_storage_access_key = value;
399
460
  });
461
+ // string # S3-compatible secret key
400
462
  (0, _defineProperty2.default)(this, "getS3CompatibleSecretKey", function () {
401
463
  return _this.attributes.s3_compatible_secret_key;
402
464
  });
403
465
  (0, _defineProperty2.default)(this, "setS3CompatibleSecretKey", function (value) {
404
466
  _this.attributes.s3_compatible_secret_key = value;
405
467
  });
468
+ // string # Filebase secret key
406
469
  (0, _defineProperty2.default)(this, "getFilebaseSecretKey", function () {
407
470
  return _this.attributes.filebase_secret_key;
408
471
  });
409
472
  (0, _defineProperty2.default)(this, "setFilebaseSecretKey", function (value) {
410
473
  _this.attributes.filebase_secret_key = value;
411
474
  });
475
+ // Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
476
+ //
477
+ // Parameters:
478
+ // api_token - string - Files Agent API Token
479
+ // permission_set - string -
480
+ // root - string - Agent local root path
481
+ // hostname - string
482
+ // port - int64 - Incoming port for files agent connections
483
+ // status - string - either running or shutdown
484
+ // config_version - string - agent config version
485
+ // private_key - string - private key
486
+ // public_key - string - public key
487
+ // server_host_key - string
488
+ // subdomain - string
412
489
  (0, _defineProperty2.default)(this, "configurationFile", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
413
490
  var params,
414
491
  response,
@@ -527,6 +604,61 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
527
604
  }
528
605
  }, _callee);
529
606
  })));
607
+ // Parameters:
608
+ // aws_access_key - string - AWS Access Key.
609
+ // aws_secret_key - string - AWS secret key.
610
+ // password - string - Password if needed.
611
+ // private_key - string - Private key if needed.
612
+ // private_key_passphrase - string - Passphrase for private key if needed.
613
+ // ssl_certificate - string - SSL client certificate.
614
+ // google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
615
+ // wasabi_access_key - string - Wasabi access key.
616
+ // wasabi_secret_key - string - Wasabi secret key.
617
+ // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
618
+ // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
619
+ // rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
620
+ // reset_authentication - boolean - Reset authenticated account
621
+ // azure_blob_storage_access_key - string - Azure Blob Storage secret key.
622
+ // azure_files_storage_access_key - string - Azure File Storage access key.
623
+ // hostname - string - Hostname or IP address
624
+ // name - string - Internal name for your reference
625
+ // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
626
+ // 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.
627
+ // port - int64 - Port for remote server. Not needed for S3.
628
+ // s3_bucket - string - S3 bucket name
629
+ // s3_region - string - S3 region
630
+ // server_certificate - string - Remote server certificate
631
+ // server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
632
+ // server_type - string - Remote server type.
633
+ // ssl - string - Should we require SSL?
634
+ // username - string - Remote server username. Not needed for S3 buckets.
635
+ // google_cloud_storage_bucket - string - Google Cloud Storage bucket name
636
+ // google_cloud_storage_project_id - string - Google Cloud Project ID
637
+ // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
638
+ // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
639
+ // wasabi_bucket - string - Wasabi Bucket name
640
+ // wasabi_region - string - Wasabi region
641
+ // rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
642
+ // rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
643
+ // rackspace_container - string - The name of the container (top level directory) where files will sync.
644
+ // one_drive_account_type - string - Either personal or business_other account types
645
+ // azure_blob_storage_account - string - Azure Blob Storage Account name
646
+ // azure_blob_storage_container - string - Azure Blob Storage Container name
647
+ // azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
648
+ // azure_files_storage_account - string - Azure File Storage Account name
649
+ // azure_files_storage_share_name - string - Azure File Storage Share name
650
+ // azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
651
+ // s3_compatible_bucket - string - S3-compatible Bucket name
652
+ // s3_compatible_endpoint - string - S3-compatible endpoint
653
+ // s3_compatible_region - string - S3-compatible endpoint
654
+ // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
655
+ // s3_compatible_access_key - string - S3-compatible Access Key.
656
+ // s3_compatible_secret_key - string - S3-compatible secret key
657
+ // files_agent_root - string - Agent local root path
658
+ // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
659
+ // filebase_access_key - string - Filebase Access Key.
660
+ // filebase_secret_key - string - Filebase secret key
661
+ // filebase_bucket - string - Filebase Bucket name
530
662
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
531
663
  var params,
532
664
  response,
@@ -963,6 +1095,9 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
963
1095
  });
964
1096
  this.options = _objectSpread({}, options);
965
1097
  });
1098
+ // Parameters:
1099
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
1100
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
966
1101
  (0, _defineProperty2.default)(RemoteServer, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
967
1102
  var _response$data;
968
1103
  var params,
@@ -1004,6 +1139,8 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
1004
1139
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1005
1140
  return RemoteServer.list(params, options);
1006
1141
  });
1142
+ // Parameters:
1143
+ // id (required) - int64 - Remote Server ID.
1007
1144
  (0, _defineProperty2.default)(RemoteServer, "find", /*#__PURE__*/function () {
1008
1145
  var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(id) {
1009
1146
  var params,
@@ -1054,6 +1191,8 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
1054
1191
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
1055
1192
  return RemoteServer.find(id, params, options);
1056
1193
  });
1194
+ // Parameters:
1195
+ // id (required) - int64 - Remote Server ID.
1057
1196
  (0, _defineProperty2.default)(RemoteServer, "findConfigurationFile", /*#__PURE__*/function () {
1058
1197
  var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(id) {
1059
1198
  var params,
@@ -1099,6 +1238,61 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
1099
1238
  return _ref8.apply(this, arguments);
1100
1239
  };
1101
1240
  }());
1241
+ // Parameters:
1242
+ // aws_access_key - string - AWS Access Key.
1243
+ // aws_secret_key - string - AWS secret key.
1244
+ // password - string - Password if needed.
1245
+ // private_key - string - Private key if needed.
1246
+ // private_key_passphrase - string - Passphrase for private key if needed.
1247
+ // ssl_certificate - string - SSL client certificate.
1248
+ // google_cloud_storage_credentials_json - string - A JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
1249
+ // wasabi_access_key - string - Wasabi access key.
1250
+ // wasabi_secret_key - string - Wasabi secret key.
1251
+ // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
1252
+ // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
1253
+ // rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
1254
+ // reset_authentication - boolean - Reset authenticated account
1255
+ // azure_blob_storage_access_key - string - Azure Blob Storage secret key.
1256
+ // azure_files_storage_access_key - string - Azure File Storage access key.
1257
+ // hostname - string - Hostname or IP address
1258
+ // name - string - Internal name for your reference
1259
+ // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1260
+ // 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.
1261
+ // port - int64 - Port for remote server. Not needed for S3.
1262
+ // s3_bucket - string - S3 bucket name
1263
+ // s3_region - string - S3 region
1264
+ // server_certificate - string - Remote server certificate
1265
+ // server_host_key - string - Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
1266
+ // server_type - string - Remote server type.
1267
+ // ssl - string - Should we require SSL?
1268
+ // username - string - Remote server username. Not needed for S3 buckets.
1269
+ // google_cloud_storage_bucket - string - Google Cloud Storage bucket name
1270
+ // google_cloud_storage_project_id - string - Google Cloud Project ID
1271
+ // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
1272
+ // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
1273
+ // wasabi_bucket - string - Wasabi Bucket name
1274
+ // wasabi_region - string - Wasabi region
1275
+ // rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
1276
+ // rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1277
+ // rackspace_container - string - The name of the container (top level directory) where files will sync.
1278
+ // one_drive_account_type - string - Either personal or business_other account types
1279
+ // azure_blob_storage_account - string - Azure Blob Storage Account name
1280
+ // azure_blob_storage_container - string - Azure Blob Storage Container name
1281
+ // azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
1282
+ // azure_files_storage_account - string - Azure File Storage Account name
1283
+ // azure_files_storage_share_name - string - Azure File Storage Share name
1284
+ // azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
1285
+ // s3_compatible_bucket - string - S3-compatible Bucket name
1286
+ // s3_compatible_endpoint - string - S3-compatible endpoint
1287
+ // s3_compatible_region - string - S3-compatible endpoint
1288
+ // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1289
+ // s3_compatible_access_key - string - S3-compatible Access Key.
1290
+ // s3_compatible_secret_key - string - S3-compatible secret key
1291
+ // files_agent_root - string - Agent local root path
1292
+ // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1293
+ // filebase_access_key - string - Filebase Access Key.
1294
+ // filebase_secret_key - string - Filebase secret key
1295
+ // filebase_bucket - string - Filebase Bucket name
1102
1296
  (0, _defineProperty2.default)(RemoteServer, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
1103
1297
  var params,
1104
1298
  options,