files.com 1.2.238 → 1.2.239

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -158,70 +158,84 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
158
158
  (0, _defineProperty2.default)(this, "setUsername", function (value) {
159
159
  _this.attributes.username = value;
160
160
  });
161
- // string # Google Cloud Storage bucket name
161
+ // string # Google Cloud Storage: Bucket Name
162
162
  (0, _defineProperty2.default)(this, "getGoogleCloudStorageBucket", function () {
163
163
  return _this.attributes.google_cloud_storage_bucket;
164
164
  });
165
165
  (0, _defineProperty2.default)(this, "setGoogleCloudStorageBucket", function (value) {
166
166
  _this.attributes.google_cloud_storage_bucket = value;
167
167
  });
168
- // string # Google Cloud Project ID
168
+ // string # Google Cloud Storage: Project ID
169
169
  (0, _defineProperty2.default)(this, "getGoogleCloudStorageProjectId", function () {
170
170
  return _this.attributes.google_cloud_storage_project_id;
171
171
  });
172
172
  (0, _defineProperty2.default)(this, "setGoogleCloudStorageProjectId", function (value) {
173
173
  _this.attributes.google_cloud_storage_project_id = value;
174
174
  });
175
- // string # Backblaze B2 Cloud Storage S3 Endpoint
175
+ // string # Google Cloud Storage: Region
176
+ (0, _defineProperty2.default)(this, "getGoogleCloudStorageRegion", function () {
177
+ return _this.attributes.google_cloud_storage_region;
178
+ });
179
+ (0, _defineProperty2.default)(this, "setGoogleCloudStorageRegion", function (value) {
180
+ _this.attributes.google_cloud_storage_region = value;
181
+ });
182
+ // string # Google Cloud Storage: S3-compatible Access Key.
183
+ (0, _defineProperty2.default)(this, "getGoogleCloudStorageS3CompatibleAccessKey", function () {
184
+ return _this.attributes.google_cloud_storage_s3_compatible_access_key;
185
+ });
186
+ (0, _defineProperty2.default)(this, "setGoogleCloudStorageS3CompatibleAccessKey", function (value) {
187
+ _this.attributes.google_cloud_storage_s3_compatible_access_key = value;
188
+ });
189
+ // string # Backblaze B2 Cloud Storage: S3 Endpoint
176
190
  (0, _defineProperty2.default)(this, "getBackblazeB2S3Endpoint", function () {
177
191
  return _this.attributes.backblaze_b2_s3_endpoint;
178
192
  });
179
193
  (0, _defineProperty2.default)(this, "setBackblazeB2S3Endpoint", function (value) {
180
194
  _this.attributes.backblaze_b2_s3_endpoint = value;
181
195
  });
182
- // string # Backblaze B2 Cloud Storage Bucket name
196
+ // string # Backblaze B2 Cloud Storage: Bucket name
183
197
  (0, _defineProperty2.default)(this, "getBackblazeB2Bucket", function () {
184
198
  return _this.attributes.backblaze_b2_bucket;
185
199
  });
186
200
  (0, _defineProperty2.default)(this, "setBackblazeB2Bucket", function (value) {
187
201
  _this.attributes.backblaze_b2_bucket = value;
188
202
  });
189
- // string # Wasabi Bucket name
203
+ // string # Wasabi: Bucket name
190
204
  (0, _defineProperty2.default)(this, "getWasabiBucket", function () {
191
205
  return _this.attributes.wasabi_bucket;
192
206
  });
193
207
  (0, _defineProperty2.default)(this, "setWasabiBucket", function (value) {
194
208
  _this.attributes.wasabi_bucket = value;
195
209
  });
196
- // string # Wasabi region
210
+ // string # Wasabi: Region
197
211
  (0, _defineProperty2.default)(this, "getWasabiRegion", function () {
198
212
  return _this.attributes.wasabi_region;
199
213
  });
200
214
  (0, _defineProperty2.default)(this, "setWasabiRegion", function (value) {
201
215
  _this.attributes.wasabi_region = value;
202
216
  });
203
- // string # Wasabi access key.
217
+ // string # Wasabi: Access Key.
204
218
  (0, _defineProperty2.default)(this, "getWasabiAccessKey", function () {
205
219
  return _this.attributes.wasabi_access_key;
206
220
  });
207
221
  (0, _defineProperty2.default)(this, "setWasabiAccessKey", function (value) {
208
222
  _this.attributes.wasabi_access_key = value;
209
223
  });
210
- // string # Rackspace username used to login to the Rackspace Cloud Control Panel.
224
+ // string # Rackspace: username used to login to the Rackspace Cloud Control Panel.
211
225
  (0, _defineProperty2.default)(this, "getRackspaceUsername", function () {
212
226
  return _this.attributes.rackspace_username;
213
227
  });
214
228
  (0, _defineProperty2.default)(this, "setRackspaceUsername", function (value) {
215
229
  _this.attributes.rackspace_username = value;
216
230
  });
217
- // string # Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
231
+ // string # Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
218
232
  (0, _defineProperty2.default)(this, "getRackspaceRegion", function () {
219
233
  return _this.attributes.rackspace_region;
220
234
  });
221
235
  (0, _defineProperty2.default)(this, "setRackspaceRegion", function (value) {
222
236
  _this.attributes.rackspace_region = value;
223
237
  });
224
- // string # The name of the container (top level directory) where files will sync.
238
+ // string # Rackspace: The name of the container (top level directory) where files will sync.
225
239
  (0, _defineProperty2.default)(this, "getRackspaceContainer", function () {
226
240
  return _this.attributes.rackspace_container;
227
241
  });
@@ -242,84 +256,84 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
242
256
  (0, _defineProperty2.default)(this, "setAuthAccountName", function (value) {
243
257
  _this.attributes.auth_account_name = value;
244
258
  });
245
- // string # Either personal or business_other account types
259
+ // string # OneDrive: Either personal or business_other account types
246
260
  (0, _defineProperty2.default)(this, "getOneDriveAccountType", function () {
247
261
  return _this.attributes.one_drive_account_type;
248
262
  });
249
263
  (0, _defineProperty2.default)(this, "setOneDriveAccountType", function (value) {
250
264
  _this.attributes.one_drive_account_type = value;
251
265
  });
252
- // string # Azure Blob Storage Account name
266
+ // string # Azure Blob Storage: Account name
253
267
  (0, _defineProperty2.default)(this, "getAzureBlobStorageAccount", function () {
254
268
  return _this.attributes.azure_blob_storage_account;
255
269
  });
256
270
  (0, _defineProperty2.default)(this, "setAzureBlobStorageAccount", function (value) {
257
271
  _this.attributes.azure_blob_storage_account = value;
258
272
  });
259
- // string # Azure Blob Storage Container name
273
+ // string # Azure Blob Storage: Container name
260
274
  (0, _defineProperty2.default)(this, "getAzureBlobStorageContainer", function () {
261
275
  return _this.attributes.azure_blob_storage_container;
262
276
  });
263
277
  (0, _defineProperty2.default)(this, "setAzureBlobStorageContainer", function (value) {
264
278
  _this.attributes.azure_blob_storage_container = value;
265
279
  });
266
- // boolean # Enable when storage account has hierarchical namespace feature enabled
280
+ // boolean # Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
267
281
  (0, _defineProperty2.default)(this, "getAzureBlobStorageHierarchicalNamespace", function () {
268
282
  return _this.attributes.azure_blob_storage_hierarchical_namespace;
269
283
  });
270
284
  (0, _defineProperty2.default)(this, "setAzureBlobStorageHierarchicalNamespace", function (value) {
271
285
  _this.attributes.azure_blob_storage_hierarchical_namespace = value;
272
286
  });
273
- // string # Custom DNS suffix
287
+ // string # Azure Blob Storage: Custom DNS suffix
274
288
  (0, _defineProperty2.default)(this, "getAzureBlobStorageDnsSuffix", function () {
275
289
  return _this.attributes.azure_blob_storage_dns_suffix;
276
290
  });
277
291
  (0, _defineProperty2.default)(this, "setAzureBlobStorageDnsSuffix", function (value) {
278
292
  _this.attributes.azure_blob_storage_dns_suffix = value;
279
293
  });
280
- // string # Azure File Storage Account name
294
+ // string # Azure Files: Storage Account name
281
295
  (0, _defineProperty2.default)(this, "getAzureFilesStorageAccount", function () {
282
296
  return _this.attributes.azure_files_storage_account;
283
297
  });
284
298
  (0, _defineProperty2.default)(this, "setAzureFilesStorageAccount", function (value) {
285
299
  _this.attributes.azure_files_storage_account = value;
286
300
  });
287
- // string # Azure File Storage Share name
301
+ // string # Azure Files: Storage Share name
288
302
  (0, _defineProperty2.default)(this, "getAzureFilesStorageShareName", function () {
289
303
  return _this.attributes.azure_files_storage_share_name;
290
304
  });
291
305
  (0, _defineProperty2.default)(this, "setAzureFilesStorageShareName", function (value) {
292
306
  _this.attributes.azure_files_storage_share_name = value;
293
307
  });
294
- // string # Custom DNS suffix
308
+ // string # Azure Files: Custom DNS suffix
295
309
  (0, _defineProperty2.default)(this, "getAzureFilesStorageDnsSuffix", function () {
296
310
  return _this.attributes.azure_files_storage_dns_suffix;
297
311
  });
298
312
  (0, _defineProperty2.default)(this, "setAzureFilesStorageDnsSuffix", function (value) {
299
313
  _this.attributes.azure_files_storage_dns_suffix = value;
300
314
  });
301
- // string # S3-compatible Bucket name
315
+ // string # S3-compatible: Bucket name
302
316
  (0, _defineProperty2.default)(this, "getS3CompatibleBucket", function () {
303
317
  return _this.attributes.s3_compatible_bucket;
304
318
  });
305
319
  (0, _defineProperty2.default)(this, "setS3CompatibleBucket", function (value) {
306
320
  _this.attributes.s3_compatible_bucket = value;
307
321
  });
308
- // string # S3-compatible endpoint
322
+ // string # S3-compatible: endpoint
309
323
  (0, _defineProperty2.default)(this, "getS3CompatibleEndpoint", function () {
310
324
  return _this.attributes.s3_compatible_endpoint;
311
325
  });
312
326
  (0, _defineProperty2.default)(this, "setS3CompatibleEndpoint", function (value) {
313
327
  _this.attributes.s3_compatible_endpoint = value;
314
328
  });
315
- // string # S3-compatible endpoint
329
+ // string # S3-compatible: region
316
330
  (0, _defineProperty2.default)(this, "getS3CompatibleRegion", function () {
317
331
  return _this.attributes.s3_compatible_region;
318
332
  });
319
333
  (0, _defineProperty2.default)(this, "setS3CompatibleRegion", function (value) {
320
334
  _this.attributes.s3_compatible_region = value;
321
335
  });
322
- // string # S3-compatible Access Key.
336
+ // string # S3-compatible: Access Key
323
337
  (0, _defineProperty2.default)(this, "getS3CompatibleAccessKey", function () {
324
338
  return _this.attributes.s3_compatible_access_key;
325
339
  });
@@ -361,63 +375,63 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
361
375
  (0, _defineProperty2.default)(this, "setFilesAgentVersion", function (value) {
362
376
  _this.attributes.files_agent_version = value;
363
377
  });
364
- // string # Filebase Bucket name
378
+ // string # Filebase: Bucket name
365
379
  (0, _defineProperty2.default)(this, "getFilebaseBucket", function () {
366
380
  return _this.attributes.filebase_bucket;
367
381
  });
368
382
  (0, _defineProperty2.default)(this, "setFilebaseBucket", function (value) {
369
383
  _this.attributes.filebase_bucket = value;
370
384
  });
371
- // string # Filebase Access Key.
385
+ // string # Filebase: Access Key.
372
386
  (0, _defineProperty2.default)(this, "getFilebaseAccessKey", function () {
373
387
  return _this.attributes.filebase_access_key;
374
388
  });
375
389
  (0, _defineProperty2.default)(this, "setFilebaseAccessKey", function (value) {
376
390
  _this.attributes.filebase_access_key = value;
377
391
  });
378
- // string # Cloudflare Bucket name
392
+ // string # Cloudflare: Bucket name
379
393
  (0, _defineProperty2.default)(this, "getCloudflareBucket", function () {
380
394
  return _this.attributes.cloudflare_bucket;
381
395
  });
382
396
  (0, _defineProperty2.default)(this, "setCloudflareBucket", function (value) {
383
397
  _this.attributes.cloudflare_bucket = value;
384
398
  });
385
- // string # Cloudflare Access Key.
399
+ // string # Cloudflare: Access Key.
386
400
  (0, _defineProperty2.default)(this, "getCloudflareAccessKey", function () {
387
401
  return _this.attributes.cloudflare_access_key;
388
402
  });
389
403
  (0, _defineProperty2.default)(this, "setCloudflareAccessKey", function (value) {
390
404
  _this.attributes.cloudflare_access_key = value;
391
405
  });
392
- // string # Cloudflare endpoint
406
+ // string # Cloudflare: endpoint
393
407
  (0, _defineProperty2.default)(this, "getCloudflareEndpoint", function () {
394
408
  return _this.attributes.cloudflare_endpoint;
395
409
  });
396
410
  (0, _defineProperty2.default)(this, "setCloudflareEndpoint", function (value) {
397
411
  _this.attributes.cloudflare_endpoint = value;
398
412
  });
399
- // boolean # List Team folders in root
413
+ // boolean # Dropbox: If true, list Team folders in root?
400
414
  (0, _defineProperty2.default)(this, "getDropboxTeams", function () {
401
415
  return _this.attributes.dropbox_teams;
402
416
  });
403
417
  (0, _defineProperty2.default)(this, "setDropboxTeams", function (value) {
404
418
  _this.attributes.dropbox_teams = value;
405
419
  });
406
- // string # Linode Bucket name
420
+ // string # Linode: Bucket name
407
421
  (0, _defineProperty2.default)(this, "getLinodeBucket", function () {
408
422
  return _this.attributes.linode_bucket;
409
423
  });
410
424
  (0, _defineProperty2.default)(this, "setLinodeBucket", function (value) {
411
425
  _this.attributes.linode_bucket = value;
412
426
  });
413
- // string # Linode Access Key.
427
+ // string # Linode: Access Key
414
428
  (0, _defineProperty2.default)(this, "getLinodeAccessKey", function () {
415
429
  return _this.attributes.linode_access_key;
416
430
  });
417
431
  (0, _defineProperty2.default)(this, "setLinodeAccessKey", function (value) {
418
432
  _this.attributes.linode_access_key = value;
419
433
  });
420
- // string # Linode region
434
+ // string # Linode: region
421
435
  (0, _defineProperty2.default)(this, "getLinodeRegion", function () {
422
436
  return _this.attributes.linode_region;
423
437
  });
@@ -431,21 +445,14 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
431
445
  (0, _defineProperty2.default)(this, "setSupportsVersioning", function (value) {
432
446
  _this.attributes.supports_versioning = value;
433
447
  });
434
- // string # AWS secret key.
435
- (0, _defineProperty2.default)(this, "getAwsSecretKey", function () {
436
- return _this.attributes.aws_secret_key;
437
- });
438
- (0, _defineProperty2.default)(this, "setAwsSecretKey", function (value) {
439
- _this.attributes.aws_secret_key = value;
440
- });
441
- // string # Password if needed.
448
+ // string # Password, if needed.
442
449
  (0, _defineProperty2.default)(this, "getPassword", function () {
443
450
  return _this.attributes.password;
444
451
  });
445
452
  (0, _defineProperty2.default)(this, "setPassword", function (value) {
446
453
  _this.attributes.password = value;
447
454
  });
448
- // string # Private key if needed.
455
+ // string # Private key, if needed.
449
456
  (0, _defineProperty2.default)(this, "getPrivateKey", function () {
450
457
  return _this.attributes.private_key;
451
458
  });
@@ -459,6 +466,13 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
459
466
  (0, _defineProperty2.default)(this, "setPrivateKeyPassphrase", function (value) {
460
467
  _this.attributes.private_key_passphrase = value;
461
468
  });
469
+ // boolean # Reset authenticated account?
470
+ (0, _defineProperty2.default)(this, "getResetAuthentication", function () {
471
+ return _this.attributes.reset_authentication;
472
+ });
473
+ (0, _defineProperty2.default)(this, "setResetAuthentication", function (value) {
474
+ _this.attributes.reset_authentication = value;
475
+ });
462
476
  // string # SSL client certificate.
463
477
  (0, _defineProperty2.default)(this, "getSslCertificate", function () {
464
478
  return _this.attributes.ssl_certificate;
@@ -466,104 +480,111 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
466
480
  (0, _defineProperty2.default)(this, "setSslCertificate", function (value) {
467
481
  _this.attributes.ssl_certificate = value;
468
482
  });
469
- // 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
470
- (0, _defineProperty2.default)(this, "getGoogleCloudStorageCredentialsJson", function () {
471
- return _this.attributes.google_cloud_storage_credentials_json;
472
- });
473
- (0, _defineProperty2.default)(this, "setGoogleCloudStorageCredentialsJson", function (value) {
474
- _this.attributes.google_cloud_storage_credentials_json = value;
475
- });
476
- // string # Wasabi secret key.
477
- (0, _defineProperty2.default)(this, "getWasabiSecretKey", function () {
478
- return _this.attributes.wasabi_secret_key;
479
- });
480
- (0, _defineProperty2.default)(this, "setWasabiSecretKey", function (value) {
481
- _this.attributes.wasabi_secret_key = value;
482
- });
483
- // string # Backblaze B2 Cloud Storage keyID.
484
- (0, _defineProperty2.default)(this, "getBackblazeB2KeyId", function () {
485
- return _this.attributes.backblaze_b2_key_id;
486
- });
487
- (0, _defineProperty2.default)(this, "setBackblazeB2KeyId", function (value) {
488
- _this.attributes.backblaze_b2_key_id = value;
489
- });
490
- // string # Backblaze B2 Cloud Storage applicationKey.
491
- (0, _defineProperty2.default)(this, "getBackblazeB2ApplicationKey", function () {
492
- return _this.attributes.backblaze_b2_application_key;
493
- });
494
- (0, _defineProperty2.default)(this, "setBackblazeB2ApplicationKey", function (value) {
495
- _this.attributes.backblaze_b2_application_key = value;
496
- });
497
- // string # Rackspace API key from the Rackspace Cloud Control Panel.
498
- (0, _defineProperty2.default)(this, "getRackspaceApiKey", function () {
499
- return _this.attributes.rackspace_api_key;
500
- });
501
- (0, _defineProperty2.default)(this, "setRackspaceApiKey", function (value) {
502
- _this.attributes.rackspace_api_key = value;
503
- });
504
- // boolean # Reset authenticated account
505
- (0, _defineProperty2.default)(this, "getResetAuthentication", function () {
506
- return _this.attributes.reset_authentication;
483
+ // string # AWS: secret key.
484
+ (0, _defineProperty2.default)(this, "getAwsSecretKey", function () {
485
+ return _this.attributes.aws_secret_key;
507
486
  });
508
- (0, _defineProperty2.default)(this, "setResetAuthentication", function (value) {
509
- _this.attributes.reset_authentication = value;
487
+ (0, _defineProperty2.default)(this, "setAwsSecretKey", function (value) {
488
+ _this.attributes.aws_secret_key = value;
510
489
  });
511
- // string # Azure Blob Storage secret key.
490
+ // string # Azure Blob Storage: Access Key
512
491
  (0, _defineProperty2.default)(this, "getAzureBlobStorageAccessKey", function () {
513
492
  return _this.attributes.azure_blob_storage_access_key;
514
493
  });
515
494
  (0, _defineProperty2.default)(this, "setAzureBlobStorageAccessKey", function (value) {
516
495
  _this.attributes.azure_blob_storage_access_key = value;
517
496
  });
518
- // string # Azure File Storage access key.
519
- (0, _defineProperty2.default)(this, "getAzureFilesStorageAccessKey", function () {
520
- return _this.attributes.azure_files_storage_access_key;
521
- });
522
- (0, _defineProperty2.default)(this, "setAzureFilesStorageAccessKey", function (value) {
523
- _this.attributes.azure_files_storage_access_key = value;
524
- });
525
- // string # Shared Access Signature (SAS) token
497
+ // string # Azure Blob Storage: Shared Access Signature (SAS) token
526
498
  (0, _defineProperty2.default)(this, "getAzureBlobStorageSasToken", function () {
527
499
  return _this.attributes.azure_blob_storage_sas_token;
528
500
  });
529
501
  (0, _defineProperty2.default)(this, "setAzureBlobStorageSasToken", function (value) {
530
502
  _this.attributes.azure_blob_storage_sas_token = value;
531
503
  });
532
- // string # Shared Access Signature (SAS) token
504
+ // string # Azure File Storage: Access Key
505
+ (0, _defineProperty2.default)(this, "getAzureFilesStorageAccessKey", function () {
506
+ return _this.attributes.azure_files_storage_access_key;
507
+ });
508
+ (0, _defineProperty2.default)(this, "setAzureFilesStorageAccessKey", function (value) {
509
+ _this.attributes.azure_files_storage_access_key = value;
510
+ });
511
+ // string # Azure File Storage: Shared Access Signature (SAS) token
533
512
  (0, _defineProperty2.default)(this, "getAzureFilesStorageSasToken", function () {
534
513
  return _this.attributes.azure_files_storage_sas_token;
535
514
  });
536
515
  (0, _defineProperty2.default)(this, "setAzureFilesStorageSasToken", function (value) {
537
516
  _this.attributes.azure_files_storage_sas_token = value;
538
517
  });
539
- // string # S3-compatible secret key
540
- (0, _defineProperty2.default)(this, "getS3CompatibleSecretKey", function () {
541
- return _this.attributes.s3_compatible_secret_key;
518
+ // string # Backblaze B2 Cloud Storage: applicationKey
519
+ (0, _defineProperty2.default)(this, "getBackblazeB2ApplicationKey", function () {
520
+ return _this.attributes.backblaze_b2_application_key;
542
521
  });
543
- (0, _defineProperty2.default)(this, "setS3CompatibleSecretKey", function (value) {
544
- _this.attributes.s3_compatible_secret_key = value;
522
+ (0, _defineProperty2.default)(this, "setBackblazeB2ApplicationKey", function (value) {
523
+ _this.attributes.backblaze_b2_application_key = value;
545
524
  });
546
- // string # Filebase secret key
547
- (0, _defineProperty2.default)(this, "getFilebaseSecretKey", function () {
548
- return _this.attributes.filebase_secret_key;
525
+ // string # Backblaze B2 Cloud Storage: keyID
526
+ (0, _defineProperty2.default)(this, "getBackblazeB2KeyId", function () {
527
+ return _this.attributes.backblaze_b2_key_id;
549
528
  });
550
- (0, _defineProperty2.default)(this, "setFilebaseSecretKey", function (value) {
551
- _this.attributes.filebase_secret_key = value;
529
+ (0, _defineProperty2.default)(this, "setBackblazeB2KeyId", function (value) {
530
+ _this.attributes.backblaze_b2_key_id = value;
552
531
  });
553
- // string # Cloudflare secret key
532
+ // string # Cloudflare: Secret Key
554
533
  (0, _defineProperty2.default)(this, "getCloudflareSecretKey", function () {
555
534
  return _this.attributes.cloudflare_secret_key;
556
535
  });
557
536
  (0, _defineProperty2.default)(this, "setCloudflareSecretKey", function (value) {
558
537
  _this.attributes.cloudflare_secret_key = value;
559
538
  });
560
- // string # Linode secret key
539
+ // string # Filebase: Secret Key
540
+ (0, _defineProperty2.default)(this, "getFilebaseSecretKey", function () {
541
+ return _this.attributes.filebase_secret_key;
542
+ });
543
+ (0, _defineProperty2.default)(this, "setFilebaseSecretKey", function (value) {
544
+ _this.attributes.filebase_secret_key = value;
545
+ });
546
+ // string # Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
547
+ (0, _defineProperty2.default)(this, "getGoogleCloudStorageCredentialsJson", function () {
548
+ return _this.attributes.google_cloud_storage_credentials_json;
549
+ });
550
+ (0, _defineProperty2.default)(this, "setGoogleCloudStorageCredentialsJson", function (value) {
551
+ _this.attributes.google_cloud_storage_credentials_json = value;
552
+ });
553
+ // string # Google Cloud Storage: S3-compatible secret key
554
+ (0, _defineProperty2.default)(this, "getGoogleCloudStorageS3CompatibleSecretKey", function () {
555
+ return _this.attributes.google_cloud_storage_s3_compatible_secret_key;
556
+ });
557
+ (0, _defineProperty2.default)(this, "setGoogleCloudStorageS3CompatibleSecretKey", function (value) {
558
+ _this.attributes.google_cloud_storage_s3_compatible_secret_key = value;
559
+ });
560
+ // string # Linode: Secret Key
561
561
  (0, _defineProperty2.default)(this, "getLinodeSecretKey", function () {
562
562
  return _this.attributes.linode_secret_key;
563
563
  });
564
564
  (0, _defineProperty2.default)(this, "setLinodeSecretKey", function (value) {
565
565
  _this.attributes.linode_secret_key = value;
566
566
  });
567
+ // string # Rackspace: API key from the Rackspace Cloud Control Panel
568
+ (0, _defineProperty2.default)(this, "getRackspaceApiKey", function () {
569
+ return _this.attributes.rackspace_api_key;
570
+ });
571
+ (0, _defineProperty2.default)(this, "setRackspaceApiKey", function (value) {
572
+ _this.attributes.rackspace_api_key = value;
573
+ });
574
+ // string # S3-compatible: Secret Key
575
+ (0, _defineProperty2.default)(this, "getS3CompatibleSecretKey", function () {
576
+ return _this.attributes.s3_compatible_secret_key;
577
+ });
578
+ (0, _defineProperty2.default)(this, "setS3CompatibleSecretKey", function (value) {
579
+ _this.attributes.s3_compatible_secret_key = value;
580
+ });
581
+ // string # Wasabi: Secret Key
582
+ (0, _defineProperty2.default)(this, "getWasabiSecretKey", function () {
583
+ return _this.attributes.wasabi_secret_key;
584
+ });
585
+ (0, _defineProperty2.default)(this, "setWasabiSecretKey", function (value) {
586
+ _this.attributes.wasabi_secret_key = value;
587
+ });
567
588
  // Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
568
589
  //
569
590
  // Parameters:
@@ -699,73 +720,76 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
699
720
  }, _callee);
700
721
  })));
701
722
  // Parameters:
702
- // aws_access_key - string - AWS Access Key.
703
- // aws_secret_key - string - AWS secret key.
704
- // password - string - Password if needed.
705
- // private_key - string - Private key if needed.
723
+ // password - string - Password, if needed.
724
+ // private_key - string - Private key, if needed.
706
725
  // private_key_passphrase - string - Passphrase for private key if needed.
726
+ // reset_authentication - boolean - Reset authenticated account?
707
727
  // ssl_certificate - string - SSL client certificate.
708
- // 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
709
- // wasabi_access_key - string - Wasabi access key.
710
- // wasabi_secret_key - string - Wasabi secret key.
711
- // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
712
- // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
713
- // rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
714
- // reset_authentication - boolean - Reset authenticated account
715
- // azure_blob_storage_access_key - string - Azure Blob Storage secret key.
716
- // azure_files_storage_access_key - string - Azure File Storage access key.
728
+ // aws_secret_key - string - AWS: secret key.
729
+ // azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
730
+ // azure_blob_storage_sas_token - string - Azure Blob Storage: Shared Access Signature (SAS) token
731
+ // azure_files_storage_access_key - string - Azure File Storage: Access Key
732
+ // azure_files_storage_sas_token - string - Azure File Storage: Shared Access Signature (SAS) token
733
+ // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage: applicationKey
734
+ // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage: keyID
735
+ // cloudflare_secret_key - string - Cloudflare: Secret Key
736
+ // filebase_secret_key - string - Filebase: Secret Key
737
+ // google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
738
+ // google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
739
+ // linode_secret_key - string - Linode: Secret Key
740
+ // rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
741
+ // s3_compatible_secret_key - string - S3-compatible: Secret Key
742
+ // wasabi_secret_key - string - Wasabi: Secret Key
743
+ // aws_access_key - string - AWS Access Key.
744
+ // azure_blob_storage_account - string - Azure Blob Storage: Account name
745
+ // azure_blob_storage_container - string - Azure Blob Storage: Container name
746
+ // azure_blob_storage_dns_suffix - string - Azure Blob Storage: Custom DNS suffix
747
+ // azure_blob_storage_hierarchical_namespace - boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
748
+ // azure_files_storage_account - string - Azure Files: Storage Account name
749
+ // azure_files_storage_dns_suffix - string - Azure Files: Custom DNS suffix
750
+ // azure_files_storage_share_name - string - Azure Files: Storage Share name
751
+ // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
752
+ // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
753
+ // cloudflare_access_key - string - Cloudflare: Access Key.
754
+ // cloudflare_bucket - string - Cloudflare: Bucket name
755
+ // cloudflare_endpoint - string - Cloudflare: endpoint
756
+ // dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
757
+ // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
758
+ // filebase_access_key - string - Filebase: Access Key.
759
+ // filebase_bucket - string - Filebase: Bucket name
760
+ // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
761
+ // files_agent_root - string - Agent local root path
762
+ // files_agent_version - string - Files Agent version
763
+ // google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
764
+ // google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
765
+ // google_cloud_storage_region - string - Google Cloud Storage: Region
766
+ // google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
717
767
  // hostname - string - Hostname or IP address
718
- // name - string - Internal name for your reference
768
+ // linode_access_key - string - Linode: Access Key
769
+ // linode_bucket - string - Linode: Bucket name
770
+ // linode_region - string - Linode: region
719
771
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
772
+ // name - string - Internal name for your reference
773
+ // one_drive_account_type - string - OneDrive: Either personal or business_other account types
720
774
  // 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 site-wide setting which will force it to true.
721
775
  // port - int64 - Port for remote server. Not needed for S3.
776
+ // rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
777
+ // rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
778
+ // rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
722
779
  // s3_bucket - string - S3 bucket name
780
+ // s3_compatible_access_key - string - S3-compatible: Access Key
781
+ // s3_compatible_bucket - string - S3-compatible: Bucket name
782
+ // s3_compatible_endpoint - string - S3-compatible: endpoint
783
+ // s3_compatible_region - string - S3-compatible: region
723
784
  // s3_region - string - S3 region
724
785
  // server_certificate - string - Remote server certificate
725
786
  // 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
726
787
  // server_type - string - Remote server type.
727
788
  // ssl - string - Should we require SSL?
728
789
  // username - string - Remote server username. Not needed for S3 buckets.
729
- // google_cloud_storage_bucket - string - Google Cloud Storage bucket name
730
- // google_cloud_storage_project_id - string - Google Cloud Project ID
731
- // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
732
- // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
733
- // wasabi_bucket - string - Wasabi Bucket name
734
- // wasabi_region - string - Wasabi region
735
- // rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
736
- // rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
737
- // rackspace_container - string - The name of the container (top level directory) where files will sync.
738
- // one_drive_account_type - string - Either personal or business_other account types
739
- // azure_blob_storage_account - string - Azure Blob Storage Account name
740
- // azure_blob_storage_container - string - Azure Blob Storage Container name
741
- // azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
742
- // azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
743
- // azure_blob_storage_dns_suffix - string - Custom DNS suffix
744
- // azure_files_storage_account - string - Azure File Storage Account name
745
- // azure_files_storage_share_name - string - Azure File Storage Share name
746
- // azure_files_storage_dns_suffix - string - Custom DNS suffix
747
- // azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
748
- // s3_compatible_bucket - string - S3-compatible Bucket name
749
- // s3_compatible_endpoint - string - S3-compatible endpoint
750
- // s3_compatible_region - string - S3-compatible endpoint
751
- // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
752
- // s3_compatible_access_key - string - S3-compatible Access Key.
753
- // s3_compatible_secret_key - string - S3-compatible secret key
754
- // files_agent_root - string - Agent local root path
755
- // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
756
- // files_agent_version - string - Files Agent version
757
- // filebase_access_key - string - Filebase Access Key.
758
- // filebase_secret_key - string - Filebase secret key
759
- // filebase_bucket - string - Filebase Bucket name
760
- // cloudflare_access_key - string - Cloudflare Access Key.
761
- // cloudflare_secret_key - string - Cloudflare secret key
762
- // cloudflare_bucket - string - Cloudflare Bucket name
763
- // cloudflare_endpoint - string - Cloudflare endpoint
764
- // dropbox_teams - boolean - List Team folders in root
765
- // linode_access_key - string - Linode Access Key.
766
- // linode_secret_key - string - Linode secret key
767
- // linode_bucket - string - Linode Bucket name
768
- // linode_region - string - Linode region
790
+ // wasabi_access_key - string - Wasabi: Access Key.
791
+ // wasabi_bucket - string - Wasabi: Bucket name
792
+ // wasabi_region - string - Wasabi: Region
769
793
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2() {
770
794
  var params,
771
795
  response,
@@ -793,398 +817,416 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
793
817
  }
794
818
  throw new errors.InvalidParameterError("Bad parameter: id must be of type Int, received ".concat((0, _utils.getType)(params.id)));
795
819
  case 8:
796
- if (!(params.aws_access_key && !(0, _utils.isString)(params.aws_access_key))) {
820
+ if (!(params.password && !(0, _utils.isString)(params.password))) {
797
821
  _context2.next = 10;
798
822
  break;
799
823
  }
800
- throw new errors.InvalidParameterError("Bad parameter: aws_access_key must be of type String, received ".concat((0, _utils.getType)(params.aws_access_key)));
824
+ throw new errors.InvalidParameterError("Bad parameter: password must be of type String, received ".concat((0, _utils.getType)(params.password)));
801
825
  case 10:
802
- if (!(params.aws_secret_key && !(0, _utils.isString)(params.aws_secret_key))) {
826
+ if (!(params.private_key && !(0, _utils.isString)(params.private_key))) {
803
827
  _context2.next = 12;
804
828
  break;
805
829
  }
806
- throw new errors.InvalidParameterError("Bad parameter: aws_secret_key must be of type String, received ".concat((0, _utils.getType)(params.aws_secret_key)));
830
+ throw new errors.InvalidParameterError("Bad parameter: private_key must be of type String, received ".concat((0, _utils.getType)(params.private_key)));
807
831
  case 12:
808
- if (!(params.password && !(0, _utils.isString)(params.password))) {
832
+ if (!(params.private_key_passphrase && !(0, _utils.isString)(params.private_key_passphrase))) {
809
833
  _context2.next = 14;
810
834
  break;
811
835
  }
812
- throw new errors.InvalidParameterError("Bad parameter: password must be of type String, received ".concat((0, _utils.getType)(params.password)));
836
+ throw new errors.InvalidParameterError("Bad parameter: private_key_passphrase must be of type String, received ".concat((0, _utils.getType)(params.private_key_passphrase)));
813
837
  case 14:
814
- if (!(params.private_key && !(0, _utils.isString)(params.private_key))) {
838
+ if (!(params.ssl_certificate && !(0, _utils.isString)(params.ssl_certificate))) {
815
839
  _context2.next = 16;
816
840
  break;
817
841
  }
818
- throw new errors.InvalidParameterError("Bad parameter: private_key must be of type String, received ".concat((0, _utils.getType)(params.private_key)));
842
+ throw new errors.InvalidParameterError("Bad parameter: ssl_certificate must be of type String, received ".concat((0, _utils.getType)(params.ssl_certificate)));
819
843
  case 16:
820
- if (!(params.private_key_passphrase && !(0, _utils.isString)(params.private_key_passphrase))) {
844
+ if (!(params.aws_secret_key && !(0, _utils.isString)(params.aws_secret_key))) {
821
845
  _context2.next = 18;
822
846
  break;
823
847
  }
824
- throw new errors.InvalidParameterError("Bad parameter: private_key_passphrase must be of type String, received ".concat((0, _utils.getType)(params.private_key_passphrase)));
848
+ throw new errors.InvalidParameterError("Bad parameter: aws_secret_key must be of type String, received ".concat((0, _utils.getType)(params.aws_secret_key)));
825
849
  case 18:
826
- if (!(params.ssl_certificate && !(0, _utils.isString)(params.ssl_certificate))) {
850
+ if (!(params.azure_blob_storage_access_key && !(0, _utils.isString)(params.azure_blob_storage_access_key))) {
827
851
  _context2.next = 20;
828
852
  break;
829
853
  }
830
- throw new errors.InvalidParameterError("Bad parameter: ssl_certificate must be of type String, received ".concat((0, _utils.getType)(params.ssl_certificate)));
854
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_access_key)));
831
855
  case 20:
832
- if (!(params.google_cloud_storage_credentials_json && !(0, _utils.isString)(params.google_cloud_storage_credentials_json))) {
856
+ if (!(params.azure_blob_storage_sas_token && !(0, _utils.isString)(params.azure_blob_storage_sas_token))) {
833
857
  _context2.next = 22;
834
858
  break;
835
859
  }
836
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_credentials_json must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_credentials_json)));
860
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_sas_token)));
837
861
  case 22:
838
- if (!(params.wasabi_access_key && !(0, _utils.isString)(params.wasabi_access_key))) {
862
+ if (!(params.azure_files_storage_access_key && !(0, _utils.isString)(params.azure_files_storage_access_key))) {
839
863
  _context2.next = 24;
840
864
  break;
841
865
  }
842
- throw new errors.InvalidParameterError("Bad parameter: wasabi_access_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_access_key)));
866
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_access_key)));
843
867
  case 24:
844
- if (!(params.wasabi_secret_key && !(0, _utils.isString)(params.wasabi_secret_key))) {
868
+ if (!(params.azure_files_storage_sas_token && !(0, _utils.isString)(params.azure_files_storage_sas_token))) {
845
869
  _context2.next = 26;
846
870
  break;
847
871
  }
848
- throw new errors.InvalidParameterError("Bad parameter: wasabi_secret_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_secret_key)));
872
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_sas_token)));
849
873
  case 26:
850
- if (!(params.backblaze_b2_key_id && !(0, _utils.isString)(params.backblaze_b2_key_id))) {
874
+ if (!(params.backblaze_b2_application_key && !(0, _utils.isString)(params.backblaze_b2_application_key))) {
851
875
  _context2.next = 28;
852
876
  break;
853
877
  }
854
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_key_id must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_key_id)));
878
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_application_key must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_application_key)));
855
879
  case 28:
856
- if (!(params.backblaze_b2_application_key && !(0, _utils.isString)(params.backblaze_b2_application_key))) {
880
+ if (!(params.backblaze_b2_key_id && !(0, _utils.isString)(params.backblaze_b2_key_id))) {
857
881
  _context2.next = 30;
858
882
  break;
859
883
  }
860
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_application_key must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_application_key)));
884
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_key_id must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_key_id)));
861
885
  case 30:
862
- if (!(params.rackspace_api_key && !(0, _utils.isString)(params.rackspace_api_key))) {
886
+ if (!(params.cloudflare_secret_key && !(0, _utils.isString)(params.cloudflare_secret_key))) {
863
887
  _context2.next = 32;
864
888
  break;
865
889
  }
866
- throw new errors.InvalidParameterError("Bad parameter: rackspace_api_key must be of type String, received ".concat((0, _utils.getType)(params.rackspace_api_key)));
890
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_secret_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_secret_key)));
867
891
  case 32:
868
- if (!(params.azure_blob_storage_access_key && !(0, _utils.isString)(params.azure_blob_storage_access_key))) {
892
+ if (!(params.filebase_secret_key && !(0, _utils.isString)(params.filebase_secret_key))) {
869
893
  _context2.next = 34;
870
894
  break;
871
895
  }
872
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_access_key)));
896
+ throw new errors.InvalidParameterError("Bad parameter: filebase_secret_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_secret_key)));
873
897
  case 34:
874
- if (!(params.azure_files_storage_access_key && !(0, _utils.isString)(params.azure_files_storage_access_key))) {
898
+ if (!(params.google_cloud_storage_credentials_json && !(0, _utils.isString)(params.google_cloud_storage_credentials_json))) {
875
899
  _context2.next = 36;
876
900
  break;
877
901
  }
878
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_access_key)));
902
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_credentials_json must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_credentials_json)));
879
903
  case 36:
880
- if (!(params.hostname && !(0, _utils.isString)(params.hostname))) {
904
+ if (!(params.google_cloud_storage_s3_compatible_secret_key && !(0, _utils.isString)(params.google_cloud_storage_s3_compatible_secret_key))) {
881
905
  _context2.next = 38;
882
906
  break;
883
907
  }
884
- throw new errors.InvalidParameterError("Bad parameter: hostname must be of type String, received ".concat((0, _utils.getType)(params.hostname)));
908
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_s3_compatible_secret_key)));
885
909
  case 38:
886
- if (!(params.name && !(0, _utils.isString)(params.name))) {
910
+ if (!(params.linode_secret_key && !(0, _utils.isString)(params.linode_secret_key))) {
887
911
  _context2.next = 40;
888
912
  break;
889
913
  }
890
- throw new errors.InvalidParameterError("Bad parameter: name must be of type String, received ".concat((0, _utils.getType)(params.name)));
914
+ throw new errors.InvalidParameterError("Bad parameter: linode_secret_key must be of type String, received ".concat((0, _utils.getType)(params.linode_secret_key)));
891
915
  case 40:
892
- if (!(params.max_connections && !(0, _utils.isInt)(params.max_connections))) {
916
+ if (!(params.rackspace_api_key && !(0, _utils.isString)(params.rackspace_api_key))) {
893
917
  _context2.next = 42;
894
918
  break;
895
919
  }
896
- throw new errors.InvalidParameterError("Bad parameter: max_connections must be of type Int, received ".concat((0, _utils.getType)(params.max_connections)));
920
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_api_key must be of type String, received ".concat((0, _utils.getType)(params.rackspace_api_key)));
897
921
  case 42:
898
- if (!(params.port && !(0, _utils.isInt)(params.port))) {
922
+ if (!(params.s3_compatible_secret_key && !(0, _utils.isString)(params.s3_compatible_secret_key))) {
899
923
  _context2.next = 44;
900
924
  break;
901
925
  }
902
- throw new errors.InvalidParameterError("Bad parameter: port must be of type Int, received ".concat((0, _utils.getType)(params.port)));
926
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_secret_key)));
903
927
  case 44:
904
- if (!(params.s3_bucket && !(0, _utils.isString)(params.s3_bucket))) {
928
+ if (!(params.wasabi_secret_key && !(0, _utils.isString)(params.wasabi_secret_key))) {
905
929
  _context2.next = 46;
906
930
  break;
907
931
  }
908
- throw new errors.InvalidParameterError("Bad parameter: s3_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_bucket)));
932
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_secret_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_secret_key)));
909
933
  case 46:
910
- if (!(params.s3_region && !(0, _utils.isString)(params.s3_region))) {
934
+ if (!(params.aws_access_key && !(0, _utils.isString)(params.aws_access_key))) {
911
935
  _context2.next = 48;
912
936
  break;
913
937
  }
914
- throw new errors.InvalidParameterError("Bad parameter: s3_region must be of type String, received ".concat((0, _utils.getType)(params.s3_region)));
938
+ throw new errors.InvalidParameterError("Bad parameter: aws_access_key must be of type String, received ".concat((0, _utils.getType)(params.aws_access_key)));
915
939
  case 48:
916
- if (!(params.server_certificate && !(0, _utils.isString)(params.server_certificate))) {
940
+ if (!(params.azure_blob_storage_account && !(0, _utils.isString)(params.azure_blob_storage_account))) {
917
941
  _context2.next = 50;
918
942
  break;
919
943
  }
920
- throw new errors.InvalidParameterError("Bad parameter: server_certificate must be of type String, received ".concat((0, _utils.getType)(params.server_certificate)));
944
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_account)));
921
945
  case 50:
922
- if (!(params.server_host_key && !(0, _utils.isString)(params.server_host_key))) {
946
+ if (!(params.azure_blob_storage_container && !(0, _utils.isString)(params.azure_blob_storage_container))) {
923
947
  _context2.next = 52;
924
948
  break;
925
949
  }
926
- throw new errors.InvalidParameterError("Bad parameter: server_host_key must be of type String, received ".concat((0, _utils.getType)(params.server_host_key)));
950
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_container must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_container)));
927
951
  case 52:
928
- if (!(params.server_type && !(0, _utils.isString)(params.server_type))) {
952
+ if (!(params.azure_blob_storage_dns_suffix && !(0, _utils.isString)(params.azure_blob_storage_dns_suffix))) {
929
953
  _context2.next = 54;
930
954
  break;
931
955
  }
932
- throw new errors.InvalidParameterError("Bad parameter: server_type must be of type String, received ".concat((0, _utils.getType)(params.server_type)));
956
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_dns_suffix)));
933
957
  case 54:
934
- if (!(params.ssl && !(0, _utils.isString)(params.ssl))) {
958
+ if (!(params.azure_files_storage_account && !(0, _utils.isString)(params.azure_files_storage_account))) {
935
959
  _context2.next = 56;
936
960
  break;
937
961
  }
938
- throw new errors.InvalidParameterError("Bad parameter: ssl must be of type String, received ".concat((0, _utils.getType)(params.ssl)));
962
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_account)));
939
963
  case 56:
940
- if (!(params.username && !(0, _utils.isString)(params.username))) {
964
+ if (!(params.azure_files_storage_dns_suffix && !(0, _utils.isString)(params.azure_files_storage_dns_suffix))) {
941
965
  _context2.next = 58;
942
966
  break;
943
967
  }
944
- throw new errors.InvalidParameterError("Bad parameter: username must be of type String, received ".concat((0, _utils.getType)(params.username)));
968
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_dns_suffix)));
945
969
  case 58:
946
- if (!(params.google_cloud_storage_bucket && !(0, _utils.isString)(params.google_cloud_storage_bucket))) {
970
+ if (!(params.azure_files_storage_share_name && !(0, _utils.isString)(params.azure_files_storage_share_name))) {
947
971
  _context2.next = 60;
948
972
  break;
949
973
  }
950
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_bucket must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_bucket)));
974
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_share_name)));
951
975
  case 60:
952
- if (!(params.google_cloud_storage_project_id && !(0, _utils.isString)(params.google_cloud_storage_project_id))) {
976
+ if (!(params.backblaze_b2_bucket && !(0, _utils.isString)(params.backblaze_b2_bucket))) {
953
977
  _context2.next = 62;
954
978
  break;
955
979
  }
956
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_project_id must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_project_id)));
980
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_bucket must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_bucket)));
957
981
  case 62:
958
- if (!(params.backblaze_b2_bucket && !(0, _utils.isString)(params.backblaze_b2_bucket))) {
982
+ if (!(params.backblaze_b2_s3_endpoint && !(0, _utils.isString)(params.backblaze_b2_s3_endpoint))) {
959
983
  _context2.next = 64;
960
984
  break;
961
985
  }
962
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_bucket must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_bucket)));
986
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_s3_endpoint must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_s3_endpoint)));
963
987
  case 64:
964
- if (!(params.backblaze_b2_s3_endpoint && !(0, _utils.isString)(params.backblaze_b2_s3_endpoint))) {
988
+ if (!(params.cloudflare_access_key && !(0, _utils.isString)(params.cloudflare_access_key))) {
965
989
  _context2.next = 66;
966
990
  break;
967
991
  }
968
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_s3_endpoint must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_s3_endpoint)));
992
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_access_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_access_key)));
969
993
  case 66:
970
- if (!(params.wasabi_bucket && !(0, _utils.isString)(params.wasabi_bucket))) {
994
+ if (!(params.cloudflare_bucket && !(0, _utils.isString)(params.cloudflare_bucket))) {
971
995
  _context2.next = 68;
972
996
  break;
973
997
  }
974
- throw new errors.InvalidParameterError("Bad parameter: wasabi_bucket must be of type String, received ".concat((0, _utils.getType)(params.wasabi_bucket)));
998
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_bucket must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_bucket)));
975
999
  case 68:
976
- if (!(params.wasabi_region && !(0, _utils.isString)(params.wasabi_region))) {
1000
+ if (!(params.cloudflare_endpoint && !(0, _utils.isString)(params.cloudflare_endpoint))) {
977
1001
  _context2.next = 70;
978
1002
  break;
979
1003
  }
980
- throw new errors.InvalidParameterError("Bad parameter: wasabi_region must be of type String, received ".concat((0, _utils.getType)(params.wasabi_region)));
1004
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_endpoint must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_endpoint)));
981
1005
  case 70:
982
- if (!(params.rackspace_username && !(0, _utils.isString)(params.rackspace_username))) {
1006
+ if (!(params.filebase_access_key && !(0, _utils.isString)(params.filebase_access_key))) {
983
1007
  _context2.next = 72;
984
1008
  break;
985
1009
  }
986
- throw new errors.InvalidParameterError("Bad parameter: rackspace_username must be of type String, received ".concat((0, _utils.getType)(params.rackspace_username)));
1010
+ throw new errors.InvalidParameterError("Bad parameter: filebase_access_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_access_key)));
987
1011
  case 72:
988
- if (!(params.rackspace_region && !(0, _utils.isString)(params.rackspace_region))) {
1012
+ if (!(params.filebase_bucket && !(0, _utils.isString)(params.filebase_bucket))) {
989
1013
  _context2.next = 74;
990
1014
  break;
991
1015
  }
992
- throw new errors.InvalidParameterError("Bad parameter: rackspace_region must be of type String, received ".concat((0, _utils.getType)(params.rackspace_region)));
1016
+ throw new errors.InvalidParameterError("Bad parameter: filebase_bucket must be of type String, received ".concat((0, _utils.getType)(params.filebase_bucket)));
993
1017
  case 74:
994
- if (!(params.rackspace_container && !(0, _utils.isString)(params.rackspace_container))) {
1018
+ if (!(params.files_agent_permission_set && !(0, _utils.isString)(params.files_agent_permission_set))) {
995
1019
  _context2.next = 76;
996
1020
  break;
997
1021
  }
998
- throw new errors.InvalidParameterError("Bad parameter: rackspace_container must be of type String, received ".concat((0, _utils.getType)(params.rackspace_container)));
1022
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_permission_set must be of type String, received ".concat((0, _utils.getType)(params.files_agent_permission_set)));
999
1023
  case 76:
1000
- if (!(params.one_drive_account_type && !(0, _utils.isString)(params.one_drive_account_type))) {
1024
+ if (!(params.files_agent_root && !(0, _utils.isString)(params.files_agent_root))) {
1001
1025
  _context2.next = 78;
1002
1026
  break;
1003
1027
  }
1004
- throw new errors.InvalidParameterError("Bad parameter: one_drive_account_type must be of type String, received ".concat((0, _utils.getType)(params.one_drive_account_type)));
1028
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_root must be of type String, received ".concat((0, _utils.getType)(params.files_agent_root)));
1005
1029
  case 78:
1006
- if (!(params.azure_blob_storage_account && !(0, _utils.isString)(params.azure_blob_storage_account))) {
1030
+ if (!(params.files_agent_version && !(0, _utils.isString)(params.files_agent_version))) {
1007
1031
  _context2.next = 80;
1008
1032
  break;
1009
1033
  }
1010
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_account)));
1034
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_version must be of type String, received ".concat((0, _utils.getType)(params.files_agent_version)));
1011
1035
  case 80:
1012
- if (!(params.azure_blob_storage_container && !(0, _utils.isString)(params.azure_blob_storage_container))) {
1036
+ if (!(params.google_cloud_storage_bucket && !(0, _utils.isString)(params.google_cloud_storage_bucket))) {
1013
1037
  _context2.next = 82;
1014
1038
  break;
1015
1039
  }
1016
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_container must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_container)));
1040
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_bucket must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_bucket)));
1017
1041
  case 82:
1018
- if (!(params.azure_blob_storage_sas_token && !(0, _utils.isString)(params.azure_blob_storage_sas_token))) {
1042
+ if (!(params.google_cloud_storage_project_id && !(0, _utils.isString)(params.google_cloud_storage_project_id))) {
1019
1043
  _context2.next = 84;
1020
1044
  break;
1021
1045
  }
1022
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_sas_token)));
1046
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_project_id must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_project_id)));
1023
1047
  case 84:
1024
- if (!(params.azure_blob_storage_dns_suffix && !(0, _utils.isString)(params.azure_blob_storage_dns_suffix))) {
1048
+ if (!(params.google_cloud_storage_region && !(0, _utils.isString)(params.google_cloud_storage_region))) {
1025
1049
  _context2.next = 86;
1026
1050
  break;
1027
1051
  }
1028
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_dns_suffix)));
1052
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_region must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_region)));
1029
1053
  case 86:
1030
- if (!(params.azure_files_storage_account && !(0, _utils.isString)(params.azure_files_storage_account))) {
1054
+ if (!(params.google_cloud_storage_s3_compatible_access_key && !(0, _utils.isString)(params.google_cloud_storage_s3_compatible_access_key))) {
1031
1055
  _context2.next = 88;
1032
1056
  break;
1033
1057
  }
1034
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_account)));
1058
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_s3_compatible_access_key)));
1035
1059
  case 88:
1036
- if (!(params.azure_files_storage_share_name && !(0, _utils.isString)(params.azure_files_storage_share_name))) {
1060
+ if (!(params.hostname && !(0, _utils.isString)(params.hostname))) {
1037
1061
  _context2.next = 90;
1038
1062
  break;
1039
1063
  }
1040
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_share_name)));
1064
+ throw new errors.InvalidParameterError("Bad parameter: hostname must be of type String, received ".concat((0, _utils.getType)(params.hostname)));
1041
1065
  case 90:
1042
- if (!(params.azure_files_storage_dns_suffix && !(0, _utils.isString)(params.azure_files_storage_dns_suffix))) {
1066
+ if (!(params.linode_access_key && !(0, _utils.isString)(params.linode_access_key))) {
1043
1067
  _context2.next = 92;
1044
1068
  break;
1045
1069
  }
1046
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_dns_suffix)));
1070
+ throw new errors.InvalidParameterError("Bad parameter: linode_access_key must be of type String, received ".concat((0, _utils.getType)(params.linode_access_key)));
1047
1071
  case 92:
1048
- if (!(params.azure_files_storage_sas_token && !(0, _utils.isString)(params.azure_files_storage_sas_token))) {
1072
+ if (!(params.linode_bucket && !(0, _utils.isString)(params.linode_bucket))) {
1049
1073
  _context2.next = 94;
1050
1074
  break;
1051
1075
  }
1052
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_sas_token)));
1076
+ throw new errors.InvalidParameterError("Bad parameter: linode_bucket must be of type String, received ".concat((0, _utils.getType)(params.linode_bucket)));
1053
1077
  case 94:
1054
- if (!(params.s3_compatible_bucket && !(0, _utils.isString)(params.s3_compatible_bucket))) {
1078
+ if (!(params.linode_region && !(0, _utils.isString)(params.linode_region))) {
1055
1079
  _context2.next = 96;
1056
1080
  break;
1057
1081
  }
1058
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_bucket)));
1082
+ throw new errors.InvalidParameterError("Bad parameter: linode_region must be of type String, received ".concat((0, _utils.getType)(params.linode_region)));
1059
1083
  case 96:
1060
- if (!(params.s3_compatible_endpoint && !(0, _utils.isString)(params.s3_compatible_endpoint))) {
1084
+ if (!(params.max_connections && !(0, _utils.isInt)(params.max_connections))) {
1061
1085
  _context2.next = 98;
1062
1086
  break;
1063
1087
  }
1064
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_endpoint must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_endpoint)));
1088
+ throw new errors.InvalidParameterError("Bad parameter: max_connections must be of type Int, received ".concat((0, _utils.getType)(params.max_connections)));
1065
1089
  case 98:
1066
- if (!(params.s3_compatible_region && !(0, _utils.isString)(params.s3_compatible_region))) {
1090
+ if (!(params.name && !(0, _utils.isString)(params.name))) {
1067
1091
  _context2.next = 100;
1068
1092
  break;
1069
1093
  }
1070
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_region must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_region)));
1094
+ throw new errors.InvalidParameterError("Bad parameter: name must be of type String, received ".concat((0, _utils.getType)(params.name)));
1071
1095
  case 100:
1072
- if (!(params.s3_compatible_access_key && !(0, _utils.isString)(params.s3_compatible_access_key))) {
1096
+ if (!(params.one_drive_account_type && !(0, _utils.isString)(params.one_drive_account_type))) {
1073
1097
  _context2.next = 102;
1074
1098
  break;
1075
1099
  }
1076
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_access_key)));
1100
+ throw new errors.InvalidParameterError("Bad parameter: one_drive_account_type must be of type String, received ".concat((0, _utils.getType)(params.one_drive_account_type)));
1077
1101
  case 102:
1078
- if (!(params.s3_compatible_secret_key && !(0, _utils.isString)(params.s3_compatible_secret_key))) {
1102
+ if (!(params.port && !(0, _utils.isInt)(params.port))) {
1079
1103
  _context2.next = 104;
1080
1104
  break;
1081
1105
  }
1082
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_secret_key)));
1106
+ throw new errors.InvalidParameterError("Bad parameter: port must be of type Int, received ".concat((0, _utils.getType)(params.port)));
1083
1107
  case 104:
1084
- if (!(params.files_agent_root && !(0, _utils.isString)(params.files_agent_root))) {
1108
+ if (!(params.rackspace_container && !(0, _utils.isString)(params.rackspace_container))) {
1085
1109
  _context2.next = 106;
1086
1110
  break;
1087
1111
  }
1088
- throw new errors.InvalidParameterError("Bad parameter: files_agent_root must be of type String, received ".concat((0, _utils.getType)(params.files_agent_root)));
1112
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_container must be of type String, received ".concat((0, _utils.getType)(params.rackspace_container)));
1089
1113
  case 106:
1090
- if (!(params.files_agent_permission_set && !(0, _utils.isString)(params.files_agent_permission_set))) {
1114
+ if (!(params.rackspace_region && !(0, _utils.isString)(params.rackspace_region))) {
1091
1115
  _context2.next = 108;
1092
1116
  break;
1093
1117
  }
1094
- throw new errors.InvalidParameterError("Bad parameter: files_agent_permission_set must be of type String, received ".concat((0, _utils.getType)(params.files_agent_permission_set)));
1118
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_region must be of type String, received ".concat((0, _utils.getType)(params.rackspace_region)));
1095
1119
  case 108:
1096
- if (!(params.files_agent_version && !(0, _utils.isString)(params.files_agent_version))) {
1120
+ if (!(params.rackspace_username && !(0, _utils.isString)(params.rackspace_username))) {
1097
1121
  _context2.next = 110;
1098
1122
  break;
1099
1123
  }
1100
- throw new errors.InvalidParameterError("Bad parameter: files_agent_version must be of type String, received ".concat((0, _utils.getType)(params.files_agent_version)));
1124
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_username must be of type String, received ".concat((0, _utils.getType)(params.rackspace_username)));
1101
1125
  case 110:
1102
- if (!(params.filebase_access_key && !(0, _utils.isString)(params.filebase_access_key))) {
1126
+ if (!(params.s3_bucket && !(0, _utils.isString)(params.s3_bucket))) {
1103
1127
  _context2.next = 112;
1104
1128
  break;
1105
1129
  }
1106
- throw new errors.InvalidParameterError("Bad parameter: filebase_access_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_access_key)));
1130
+ throw new errors.InvalidParameterError("Bad parameter: s3_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_bucket)));
1107
1131
  case 112:
1108
- if (!(params.filebase_secret_key && !(0, _utils.isString)(params.filebase_secret_key))) {
1132
+ if (!(params.s3_compatible_access_key && !(0, _utils.isString)(params.s3_compatible_access_key))) {
1109
1133
  _context2.next = 114;
1110
1134
  break;
1111
1135
  }
1112
- throw new errors.InvalidParameterError("Bad parameter: filebase_secret_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_secret_key)));
1136
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_access_key)));
1113
1137
  case 114:
1114
- if (!(params.filebase_bucket && !(0, _utils.isString)(params.filebase_bucket))) {
1138
+ if (!(params.s3_compatible_bucket && !(0, _utils.isString)(params.s3_compatible_bucket))) {
1115
1139
  _context2.next = 116;
1116
1140
  break;
1117
1141
  }
1118
- throw new errors.InvalidParameterError("Bad parameter: filebase_bucket must be of type String, received ".concat((0, _utils.getType)(params.filebase_bucket)));
1142
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_bucket)));
1119
1143
  case 116:
1120
- if (!(params.cloudflare_access_key && !(0, _utils.isString)(params.cloudflare_access_key))) {
1144
+ if (!(params.s3_compatible_endpoint && !(0, _utils.isString)(params.s3_compatible_endpoint))) {
1121
1145
  _context2.next = 118;
1122
1146
  break;
1123
1147
  }
1124
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_access_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_access_key)));
1148
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_endpoint must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_endpoint)));
1125
1149
  case 118:
1126
- if (!(params.cloudflare_secret_key && !(0, _utils.isString)(params.cloudflare_secret_key))) {
1150
+ if (!(params.s3_compatible_region && !(0, _utils.isString)(params.s3_compatible_region))) {
1127
1151
  _context2.next = 120;
1128
1152
  break;
1129
1153
  }
1130
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_secret_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_secret_key)));
1154
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_region must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_region)));
1131
1155
  case 120:
1132
- if (!(params.cloudflare_bucket && !(0, _utils.isString)(params.cloudflare_bucket))) {
1156
+ if (!(params.s3_region && !(0, _utils.isString)(params.s3_region))) {
1133
1157
  _context2.next = 122;
1134
1158
  break;
1135
1159
  }
1136
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_bucket must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_bucket)));
1160
+ throw new errors.InvalidParameterError("Bad parameter: s3_region must be of type String, received ".concat((0, _utils.getType)(params.s3_region)));
1137
1161
  case 122:
1138
- if (!(params.cloudflare_endpoint && !(0, _utils.isString)(params.cloudflare_endpoint))) {
1162
+ if (!(params.server_certificate && !(0, _utils.isString)(params.server_certificate))) {
1139
1163
  _context2.next = 124;
1140
1164
  break;
1141
1165
  }
1142
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_endpoint must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_endpoint)));
1166
+ throw new errors.InvalidParameterError("Bad parameter: server_certificate must be of type String, received ".concat((0, _utils.getType)(params.server_certificate)));
1143
1167
  case 124:
1144
- if (!(params.linode_access_key && !(0, _utils.isString)(params.linode_access_key))) {
1168
+ if (!(params.server_host_key && !(0, _utils.isString)(params.server_host_key))) {
1145
1169
  _context2.next = 126;
1146
1170
  break;
1147
1171
  }
1148
- throw new errors.InvalidParameterError("Bad parameter: linode_access_key must be of type String, received ".concat((0, _utils.getType)(params.linode_access_key)));
1172
+ throw new errors.InvalidParameterError("Bad parameter: server_host_key must be of type String, received ".concat((0, _utils.getType)(params.server_host_key)));
1149
1173
  case 126:
1150
- if (!(params.linode_secret_key && !(0, _utils.isString)(params.linode_secret_key))) {
1174
+ if (!(params.server_type && !(0, _utils.isString)(params.server_type))) {
1151
1175
  _context2.next = 128;
1152
1176
  break;
1153
1177
  }
1154
- throw new errors.InvalidParameterError("Bad parameter: linode_secret_key must be of type String, received ".concat((0, _utils.getType)(params.linode_secret_key)));
1178
+ throw new errors.InvalidParameterError("Bad parameter: server_type must be of type String, received ".concat((0, _utils.getType)(params.server_type)));
1155
1179
  case 128:
1156
- if (!(params.linode_bucket && !(0, _utils.isString)(params.linode_bucket))) {
1180
+ if (!(params.ssl && !(0, _utils.isString)(params.ssl))) {
1157
1181
  _context2.next = 130;
1158
1182
  break;
1159
1183
  }
1160
- throw new errors.InvalidParameterError("Bad parameter: linode_bucket must be of type String, received ".concat((0, _utils.getType)(params.linode_bucket)));
1184
+ throw new errors.InvalidParameterError("Bad parameter: ssl must be of type String, received ".concat((0, _utils.getType)(params.ssl)));
1161
1185
  case 130:
1162
- if (!(params.linode_region && !(0, _utils.isString)(params.linode_region))) {
1186
+ if (!(params.username && !(0, _utils.isString)(params.username))) {
1163
1187
  _context2.next = 132;
1164
1188
  break;
1165
1189
  }
1166
- throw new errors.InvalidParameterError("Bad parameter: linode_region must be of type String, received ".concat((0, _utils.getType)(params.linode_region)));
1190
+ throw new errors.InvalidParameterError("Bad parameter: username must be of type String, received ".concat((0, _utils.getType)(params.username)));
1167
1191
  case 132:
1168
- if (params.id) {
1192
+ if (!(params.wasabi_access_key && !(0, _utils.isString)(params.wasabi_access_key))) {
1193
+ _context2.next = 134;
1194
+ break;
1195
+ }
1196
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_access_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_access_key)));
1197
+ case 134:
1198
+ if (!(params.wasabi_bucket && !(0, _utils.isString)(params.wasabi_bucket))) {
1199
+ _context2.next = 136;
1200
+ break;
1201
+ }
1202
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_bucket must be of type String, received ".concat((0, _utils.getType)(params.wasabi_bucket)));
1203
+ case 136:
1204
+ if (!(params.wasabi_region && !(0, _utils.isString)(params.wasabi_region))) {
1169
1205
  _context2.next = 138;
1170
1206
  break;
1171
1207
  }
1208
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_region must be of type String, received ".concat((0, _utils.getType)(params.wasabi_region)));
1209
+ case 138:
1210
+ if (params.id) {
1211
+ _context2.next = 144;
1212
+ break;
1213
+ }
1172
1214
  if (!_this.attributes.id) {
1173
- _context2.next = 137;
1215
+ _context2.next = 143;
1174
1216
  break;
1175
1217
  }
1176
1218
  params.id = _this.id;
1177
- _context2.next = 138;
1219
+ _context2.next = 144;
1178
1220
  break;
1179
- case 137:
1221
+ case 143:
1180
1222
  throw new errors.MissingParameterError('Parameter missing: id');
1181
- case 138:
1182
- _context2.next = 140;
1223
+ case 144:
1224
+ _context2.next = 146;
1183
1225
  return _Api.default.sendRequest("/remote_servers/".concat(encodeURIComponent(params.id)), 'PATCH', params, _this.options);
1184
- case 140:
1226
+ case 146:
1185
1227
  response = _context2.sent;
1186
1228
  return _context2.abrupt("return", new RemoteServer(response === null || response === void 0 ? void 0 : response.data, _this.options));
1187
- case 142:
1229
+ case 148:
1188
1230
  case "end":
1189
1231
  return _context2.stop();
1190
1232
  }
@@ -1433,73 +1475,76 @@ _RemoteServer = RemoteServer;
1433
1475
  };
1434
1476
  }());
1435
1477
  // Parameters:
1436
- // aws_access_key - string - AWS Access Key.
1437
- // aws_secret_key - string - AWS secret key.
1438
- // password - string - Password if needed.
1439
- // private_key - string - Private key if needed.
1478
+ // password - string - Password, if needed.
1479
+ // private_key - string - Private key, if needed.
1440
1480
  // private_key_passphrase - string - Passphrase for private key if needed.
1481
+ // reset_authentication - boolean - Reset authenticated account?
1441
1482
  // ssl_certificate - string - SSL client certificate.
1442
- // 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
1443
- // wasabi_access_key - string - Wasabi access key.
1444
- // wasabi_secret_key - string - Wasabi secret key.
1445
- // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage keyID.
1446
- // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage applicationKey.
1447
- // rackspace_api_key - string - Rackspace API key from the Rackspace Cloud Control Panel.
1448
- // reset_authentication - boolean - Reset authenticated account
1449
- // azure_blob_storage_access_key - string - Azure Blob Storage secret key.
1450
- // azure_files_storage_access_key - string - Azure File Storage access key.
1483
+ // aws_secret_key - string - AWS: secret key.
1484
+ // azure_blob_storage_access_key - string - Azure Blob Storage: Access Key
1485
+ // azure_blob_storage_sas_token - string - Azure Blob Storage: Shared Access Signature (SAS) token
1486
+ // azure_files_storage_access_key - string - Azure File Storage: Access Key
1487
+ // azure_files_storage_sas_token - string - Azure File Storage: Shared Access Signature (SAS) token
1488
+ // backblaze_b2_application_key - string - Backblaze B2 Cloud Storage: applicationKey
1489
+ // backblaze_b2_key_id - string - Backblaze B2 Cloud Storage: keyID
1490
+ // cloudflare_secret_key - string - Cloudflare: Secret Key
1491
+ // filebase_secret_key - string - Filebase: Secret Key
1492
+ // google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
1493
+ // google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
1494
+ // linode_secret_key - string - Linode: Secret Key
1495
+ // rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
1496
+ // s3_compatible_secret_key - string - S3-compatible: Secret Key
1497
+ // wasabi_secret_key - string - Wasabi: Secret Key
1498
+ // aws_access_key - string - AWS Access Key.
1499
+ // azure_blob_storage_account - string - Azure Blob Storage: Account name
1500
+ // azure_blob_storage_container - string - Azure Blob Storage: Container name
1501
+ // azure_blob_storage_dns_suffix - string - Azure Blob Storage: Custom DNS suffix
1502
+ // azure_blob_storage_hierarchical_namespace - boolean - Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
1503
+ // azure_files_storage_account - string - Azure Files: Storage Account name
1504
+ // azure_files_storage_dns_suffix - string - Azure Files: Custom DNS suffix
1505
+ // azure_files_storage_share_name - string - Azure Files: Storage Share name
1506
+ // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
1507
+ // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
1508
+ // cloudflare_access_key - string - Cloudflare: Access Key.
1509
+ // cloudflare_bucket - string - Cloudflare: Bucket name
1510
+ // cloudflare_endpoint - string - Cloudflare: endpoint
1511
+ // dropbox_teams - boolean - Dropbox: If true, list Team folders in root?
1512
+ // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1513
+ // filebase_access_key - string - Filebase: Access Key.
1514
+ // filebase_bucket - string - Filebase: Bucket name
1515
+ // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1516
+ // files_agent_root - string - Agent local root path
1517
+ // files_agent_version - string - Files Agent version
1518
+ // google_cloud_storage_bucket - string - Google Cloud Storage: Bucket Name
1519
+ // google_cloud_storage_project_id - string - Google Cloud Storage: Project ID
1520
+ // google_cloud_storage_region - string - Google Cloud Storage: Region
1521
+ // google_cloud_storage_s3_compatible_access_key - string - Google Cloud Storage: S3-compatible Access Key.
1451
1522
  // hostname - string - Hostname or IP address
1452
- // name - string - Internal name for your reference
1523
+ // linode_access_key - string - Linode: Access Key
1524
+ // linode_bucket - string - Linode: Bucket name
1525
+ // linode_region - string - Linode: region
1453
1526
  // max_connections - int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
1527
+ // name - string - Internal name for your reference
1528
+ // one_drive_account_type - string - OneDrive: Either personal or business_other account types
1454
1529
  // 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 site-wide setting which will force it to true.
1455
1530
  // port - int64 - Port for remote server. Not needed for S3.
1531
+ // rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
1532
+ // rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1533
+ // rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
1456
1534
  // s3_bucket - string - S3 bucket name
1535
+ // s3_compatible_access_key - string - S3-compatible: Access Key
1536
+ // s3_compatible_bucket - string - S3-compatible: Bucket name
1537
+ // s3_compatible_endpoint - string - S3-compatible: endpoint
1538
+ // s3_compatible_region - string - S3-compatible: region
1457
1539
  // s3_region - string - S3 region
1458
1540
  // server_certificate - string - Remote server certificate
1459
1541
  // 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
1460
1542
  // server_type - string - Remote server type.
1461
1543
  // ssl - string - Should we require SSL?
1462
1544
  // username - string - Remote server username. Not needed for S3 buckets.
1463
- // google_cloud_storage_bucket - string - Google Cloud Storage bucket name
1464
- // google_cloud_storage_project_id - string - Google Cloud Project ID
1465
- // backblaze_b2_bucket - string - Backblaze B2 Cloud Storage Bucket name
1466
- // backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage S3 Endpoint
1467
- // wasabi_bucket - string - Wasabi Bucket name
1468
- // wasabi_region - string - Wasabi region
1469
- // rackspace_username - string - Rackspace username used to login to the Rackspace Cloud Control Panel.
1470
- // rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1471
- // rackspace_container - string - The name of the container (top level directory) where files will sync.
1472
- // one_drive_account_type - string - Either personal or business_other account types
1473
- // azure_blob_storage_account - string - Azure Blob Storage Account name
1474
- // azure_blob_storage_container - string - Azure Blob Storage Container name
1475
- // azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
1476
- // azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
1477
- // azure_blob_storage_dns_suffix - string - Custom DNS suffix
1478
- // azure_files_storage_account - string - Azure File Storage Account name
1479
- // azure_files_storage_share_name - string - Azure File Storage Share name
1480
- // azure_files_storage_dns_suffix - string - Custom DNS suffix
1481
- // azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
1482
- // s3_compatible_bucket - string - S3-compatible Bucket name
1483
- // s3_compatible_endpoint - string - S3-compatible endpoint
1484
- // s3_compatible_region - string - S3-compatible endpoint
1485
- // enable_dedicated_ips - boolean - `true` if remote server only accepts connections from dedicated IPs
1486
- // s3_compatible_access_key - string - S3-compatible Access Key.
1487
- // s3_compatible_secret_key - string - S3-compatible secret key
1488
- // files_agent_root - string - Agent local root path
1489
- // files_agent_permission_set - string - Local permissions for files agent. read_only, write_only, or read_write
1490
- // files_agent_version - string - Files Agent version
1491
- // filebase_access_key - string - Filebase Access Key.
1492
- // filebase_secret_key - string - Filebase secret key
1493
- // filebase_bucket - string - Filebase Bucket name
1494
- // cloudflare_access_key - string - Cloudflare Access Key.
1495
- // cloudflare_secret_key - string - Cloudflare secret key
1496
- // cloudflare_bucket - string - Cloudflare Bucket name
1497
- // cloudflare_endpoint - string - Cloudflare endpoint
1498
- // dropbox_teams - boolean - List Team folders in root
1499
- // linode_access_key - string - Linode Access Key.
1500
- // linode_secret_key - string - Linode secret key
1501
- // linode_bucket - string - Linode Bucket name
1502
- // linode_region - string - Linode region
1545
+ // wasabi_access_key - string - Wasabi: Access Key.
1546
+ // wasabi_bucket - string - Wasabi: Bucket name
1547
+ // wasabi_region - string - Wasabi: Region
1503
1548
  (0, _defineProperty2.default)(RemoteServer, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee8() {
1504
1549
  var params,
1505
1550
  options,
@@ -1510,384 +1555,402 @@ _RemoteServer = RemoteServer;
1510
1555
  case 0:
1511
1556
  params = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
1512
1557
  options = _args8.length > 1 && _args8[1] !== undefined ? _args8[1] : {};
1513
- if (!(params.aws_access_key && !(0, _utils.isString)(params.aws_access_key))) {
1558
+ if (!(params.password && !(0, _utils.isString)(params.password))) {
1514
1559
  _context8.next = 4;
1515
1560
  break;
1516
1561
  }
1517
- throw new errors.InvalidParameterError("Bad parameter: aws_access_key must be of type String, received ".concat((0, _utils.getType)(params.aws_access_key)));
1562
+ throw new errors.InvalidParameterError("Bad parameter: password must be of type String, received ".concat((0, _utils.getType)(params.password)));
1518
1563
  case 4:
1519
- if (!(params.aws_secret_key && !(0, _utils.isString)(params.aws_secret_key))) {
1564
+ if (!(params.private_key && !(0, _utils.isString)(params.private_key))) {
1520
1565
  _context8.next = 6;
1521
1566
  break;
1522
1567
  }
1523
- throw new errors.InvalidParameterError("Bad parameter: aws_secret_key must be of type String, received ".concat((0, _utils.getType)(params.aws_secret_key)));
1568
+ throw new errors.InvalidParameterError("Bad parameter: private_key must be of type String, received ".concat((0, _utils.getType)(params.private_key)));
1524
1569
  case 6:
1525
- if (!(params.password && !(0, _utils.isString)(params.password))) {
1570
+ if (!(params.private_key_passphrase && !(0, _utils.isString)(params.private_key_passphrase))) {
1526
1571
  _context8.next = 8;
1527
1572
  break;
1528
1573
  }
1529
- throw new errors.InvalidParameterError("Bad parameter: password must be of type String, received ".concat((0, _utils.getType)(params.password)));
1574
+ throw new errors.InvalidParameterError("Bad parameter: private_key_passphrase must be of type String, received ".concat((0, _utils.getType)(params.private_key_passphrase)));
1530
1575
  case 8:
1531
- if (!(params.private_key && !(0, _utils.isString)(params.private_key))) {
1576
+ if (!(params.ssl_certificate && !(0, _utils.isString)(params.ssl_certificate))) {
1532
1577
  _context8.next = 10;
1533
1578
  break;
1534
1579
  }
1535
- throw new errors.InvalidParameterError("Bad parameter: private_key must be of type String, received ".concat((0, _utils.getType)(params.private_key)));
1580
+ throw new errors.InvalidParameterError("Bad parameter: ssl_certificate must be of type String, received ".concat((0, _utils.getType)(params.ssl_certificate)));
1536
1581
  case 10:
1537
- if (!(params.private_key_passphrase && !(0, _utils.isString)(params.private_key_passphrase))) {
1582
+ if (!(params.aws_secret_key && !(0, _utils.isString)(params.aws_secret_key))) {
1538
1583
  _context8.next = 12;
1539
1584
  break;
1540
1585
  }
1541
- throw new errors.InvalidParameterError("Bad parameter: private_key_passphrase must be of type String, received ".concat((0, _utils.getType)(params.private_key_passphrase)));
1586
+ throw new errors.InvalidParameterError("Bad parameter: aws_secret_key must be of type String, received ".concat((0, _utils.getType)(params.aws_secret_key)));
1542
1587
  case 12:
1543
- if (!(params.ssl_certificate && !(0, _utils.isString)(params.ssl_certificate))) {
1588
+ if (!(params.azure_blob_storage_access_key && !(0, _utils.isString)(params.azure_blob_storage_access_key))) {
1544
1589
  _context8.next = 14;
1545
1590
  break;
1546
1591
  }
1547
- throw new errors.InvalidParameterError("Bad parameter: ssl_certificate must be of type String, received ".concat((0, _utils.getType)(params.ssl_certificate)));
1592
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_access_key)));
1548
1593
  case 14:
1549
- if (!(params.google_cloud_storage_credentials_json && !(0, _utils.isString)(params.google_cloud_storage_credentials_json))) {
1594
+ if (!(params.azure_blob_storage_sas_token && !(0, _utils.isString)(params.azure_blob_storage_sas_token))) {
1550
1595
  _context8.next = 16;
1551
1596
  break;
1552
1597
  }
1553
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_credentials_json must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_credentials_json)));
1598
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_sas_token)));
1554
1599
  case 16:
1555
- if (!(params.wasabi_access_key && !(0, _utils.isString)(params.wasabi_access_key))) {
1600
+ if (!(params.azure_files_storage_access_key && !(0, _utils.isString)(params.azure_files_storage_access_key))) {
1556
1601
  _context8.next = 18;
1557
1602
  break;
1558
1603
  }
1559
- throw new errors.InvalidParameterError("Bad parameter: wasabi_access_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_access_key)));
1604
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_access_key)));
1560
1605
  case 18:
1561
- if (!(params.wasabi_secret_key && !(0, _utils.isString)(params.wasabi_secret_key))) {
1606
+ if (!(params.azure_files_storage_sas_token && !(0, _utils.isString)(params.azure_files_storage_sas_token))) {
1562
1607
  _context8.next = 20;
1563
1608
  break;
1564
1609
  }
1565
- throw new errors.InvalidParameterError("Bad parameter: wasabi_secret_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_secret_key)));
1610
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_sas_token)));
1566
1611
  case 20:
1567
- if (!(params.backblaze_b2_key_id && !(0, _utils.isString)(params.backblaze_b2_key_id))) {
1612
+ if (!(params.backblaze_b2_application_key && !(0, _utils.isString)(params.backblaze_b2_application_key))) {
1568
1613
  _context8.next = 22;
1569
1614
  break;
1570
1615
  }
1571
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_key_id must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_key_id)));
1616
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_application_key must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_application_key)));
1572
1617
  case 22:
1573
- if (!(params.backblaze_b2_application_key && !(0, _utils.isString)(params.backblaze_b2_application_key))) {
1618
+ if (!(params.backblaze_b2_key_id && !(0, _utils.isString)(params.backblaze_b2_key_id))) {
1574
1619
  _context8.next = 24;
1575
1620
  break;
1576
1621
  }
1577
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_application_key must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_application_key)));
1622
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_key_id must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_key_id)));
1578
1623
  case 24:
1579
- if (!(params.rackspace_api_key && !(0, _utils.isString)(params.rackspace_api_key))) {
1624
+ if (!(params.cloudflare_secret_key && !(0, _utils.isString)(params.cloudflare_secret_key))) {
1580
1625
  _context8.next = 26;
1581
1626
  break;
1582
1627
  }
1583
- throw new errors.InvalidParameterError("Bad parameter: rackspace_api_key must be of type String, received ".concat((0, _utils.getType)(params.rackspace_api_key)));
1628
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_secret_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_secret_key)));
1584
1629
  case 26:
1585
- if (!(params.azure_blob_storage_access_key && !(0, _utils.isString)(params.azure_blob_storage_access_key))) {
1630
+ if (!(params.filebase_secret_key && !(0, _utils.isString)(params.filebase_secret_key))) {
1586
1631
  _context8.next = 28;
1587
1632
  break;
1588
1633
  }
1589
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_access_key)));
1634
+ throw new errors.InvalidParameterError("Bad parameter: filebase_secret_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_secret_key)));
1590
1635
  case 28:
1591
- if (!(params.azure_files_storage_access_key && !(0, _utils.isString)(params.azure_files_storage_access_key))) {
1636
+ if (!(params.google_cloud_storage_credentials_json && !(0, _utils.isString)(params.google_cloud_storage_credentials_json))) {
1592
1637
  _context8.next = 30;
1593
1638
  break;
1594
1639
  }
1595
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_access_key must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_access_key)));
1640
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_credentials_json must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_credentials_json)));
1596
1641
  case 30:
1597
- if (!(params.hostname && !(0, _utils.isString)(params.hostname))) {
1642
+ if (!(params.google_cloud_storage_s3_compatible_secret_key && !(0, _utils.isString)(params.google_cloud_storage_s3_compatible_secret_key))) {
1598
1643
  _context8.next = 32;
1599
1644
  break;
1600
1645
  }
1601
- throw new errors.InvalidParameterError("Bad parameter: hostname must be of type String, received ".concat((0, _utils.getType)(params.hostname)));
1646
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_s3_compatible_secret_key)));
1602
1647
  case 32:
1603
- if (!(params.name && !(0, _utils.isString)(params.name))) {
1648
+ if (!(params.linode_secret_key && !(0, _utils.isString)(params.linode_secret_key))) {
1604
1649
  _context8.next = 34;
1605
1650
  break;
1606
1651
  }
1607
- throw new errors.InvalidParameterError("Bad parameter: name must be of type String, received ".concat((0, _utils.getType)(params.name)));
1652
+ throw new errors.InvalidParameterError("Bad parameter: linode_secret_key must be of type String, received ".concat((0, _utils.getType)(params.linode_secret_key)));
1608
1653
  case 34:
1609
- if (!(params.max_connections && !(0, _utils.isInt)(params.max_connections))) {
1654
+ if (!(params.rackspace_api_key && !(0, _utils.isString)(params.rackspace_api_key))) {
1610
1655
  _context8.next = 36;
1611
1656
  break;
1612
1657
  }
1613
- throw new errors.InvalidParameterError("Bad parameter: max_connections must be of type Int, received ".concat((0, _utils.getType)(params.max_connections)));
1658
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_api_key must be of type String, received ".concat((0, _utils.getType)(params.rackspace_api_key)));
1614
1659
  case 36:
1615
- if (!(params.port && !(0, _utils.isInt)(params.port))) {
1660
+ if (!(params.s3_compatible_secret_key && !(0, _utils.isString)(params.s3_compatible_secret_key))) {
1616
1661
  _context8.next = 38;
1617
1662
  break;
1618
1663
  }
1619
- throw new errors.InvalidParameterError("Bad parameter: port must be of type Int, received ".concat((0, _utils.getType)(params.port)));
1664
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_secret_key)));
1620
1665
  case 38:
1621
- if (!(params.s3_bucket && !(0, _utils.isString)(params.s3_bucket))) {
1666
+ if (!(params.wasabi_secret_key && !(0, _utils.isString)(params.wasabi_secret_key))) {
1622
1667
  _context8.next = 40;
1623
1668
  break;
1624
1669
  }
1625
- throw new errors.InvalidParameterError("Bad parameter: s3_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_bucket)));
1670
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_secret_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_secret_key)));
1626
1671
  case 40:
1627
- if (!(params.s3_region && !(0, _utils.isString)(params.s3_region))) {
1672
+ if (!(params.aws_access_key && !(0, _utils.isString)(params.aws_access_key))) {
1628
1673
  _context8.next = 42;
1629
1674
  break;
1630
1675
  }
1631
- throw new errors.InvalidParameterError("Bad parameter: s3_region must be of type String, received ".concat((0, _utils.getType)(params.s3_region)));
1676
+ throw new errors.InvalidParameterError("Bad parameter: aws_access_key must be of type String, received ".concat((0, _utils.getType)(params.aws_access_key)));
1632
1677
  case 42:
1633
- if (!(params.server_certificate && !(0, _utils.isString)(params.server_certificate))) {
1678
+ if (!(params.azure_blob_storage_account && !(0, _utils.isString)(params.azure_blob_storage_account))) {
1634
1679
  _context8.next = 44;
1635
1680
  break;
1636
1681
  }
1637
- throw new errors.InvalidParameterError("Bad parameter: server_certificate must be of type String, received ".concat((0, _utils.getType)(params.server_certificate)));
1682
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_account)));
1638
1683
  case 44:
1639
- if (!(params.server_host_key && !(0, _utils.isString)(params.server_host_key))) {
1684
+ if (!(params.azure_blob_storage_container && !(0, _utils.isString)(params.azure_blob_storage_container))) {
1640
1685
  _context8.next = 46;
1641
1686
  break;
1642
1687
  }
1643
- throw new errors.InvalidParameterError("Bad parameter: server_host_key must be of type String, received ".concat((0, _utils.getType)(params.server_host_key)));
1688
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_container must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_container)));
1644
1689
  case 46:
1645
- if (!(params.server_type && !(0, _utils.isString)(params.server_type))) {
1690
+ if (!(params.azure_blob_storage_dns_suffix && !(0, _utils.isString)(params.azure_blob_storage_dns_suffix))) {
1646
1691
  _context8.next = 48;
1647
1692
  break;
1648
1693
  }
1649
- throw new errors.InvalidParameterError("Bad parameter: server_type must be of type String, received ".concat((0, _utils.getType)(params.server_type)));
1694
+ throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_dns_suffix)));
1650
1695
  case 48:
1651
- if (!(params.ssl && !(0, _utils.isString)(params.ssl))) {
1696
+ if (!(params.azure_files_storage_account && !(0, _utils.isString)(params.azure_files_storage_account))) {
1652
1697
  _context8.next = 50;
1653
1698
  break;
1654
1699
  }
1655
- throw new errors.InvalidParameterError("Bad parameter: ssl must be of type String, received ".concat((0, _utils.getType)(params.ssl)));
1700
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_account)));
1656
1701
  case 50:
1657
- if (!(params.username && !(0, _utils.isString)(params.username))) {
1702
+ if (!(params.azure_files_storage_dns_suffix && !(0, _utils.isString)(params.azure_files_storage_dns_suffix))) {
1658
1703
  _context8.next = 52;
1659
1704
  break;
1660
1705
  }
1661
- throw new errors.InvalidParameterError("Bad parameter: username must be of type String, received ".concat((0, _utils.getType)(params.username)));
1706
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_dns_suffix)));
1662
1707
  case 52:
1663
- if (!(params.google_cloud_storage_bucket && !(0, _utils.isString)(params.google_cloud_storage_bucket))) {
1708
+ if (!(params.azure_files_storage_share_name && !(0, _utils.isString)(params.azure_files_storage_share_name))) {
1664
1709
  _context8.next = 54;
1665
1710
  break;
1666
1711
  }
1667
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_bucket must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_bucket)));
1712
+ throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_share_name)));
1668
1713
  case 54:
1669
- if (!(params.google_cloud_storage_project_id && !(0, _utils.isString)(params.google_cloud_storage_project_id))) {
1714
+ if (!(params.backblaze_b2_bucket && !(0, _utils.isString)(params.backblaze_b2_bucket))) {
1670
1715
  _context8.next = 56;
1671
1716
  break;
1672
1717
  }
1673
- throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_project_id must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_project_id)));
1718
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_bucket must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_bucket)));
1674
1719
  case 56:
1675
- if (!(params.backblaze_b2_bucket && !(0, _utils.isString)(params.backblaze_b2_bucket))) {
1720
+ if (!(params.backblaze_b2_s3_endpoint && !(0, _utils.isString)(params.backblaze_b2_s3_endpoint))) {
1676
1721
  _context8.next = 58;
1677
1722
  break;
1678
1723
  }
1679
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_bucket must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_bucket)));
1724
+ throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_s3_endpoint must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_s3_endpoint)));
1680
1725
  case 58:
1681
- if (!(params.backblaze_b2_s3_endpoint && !(0, _utils.isString)(params.backblaze_b2_s3_endpoint))) {
1726
+ if (!(params.cloudflare_access_key && !(0, _utils.isString)(params.cloudflare_access_key))) {
1682
1727
  _context8.next = 60;
1683
1728
  break;
1684
1729
  }
1685
- throw new errors.InvalidParameterError("Bad parameter: backblaze_b2_s3_endpoint must be of type String, received ".concat((0, _utils.getType)(params.backblaze_b2_s3_endpoint)));
1730
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_access_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_access_key)));
1686
1731
  case 60:
1687
- if (!(params.wasabi_bucket && !(0, _utils.isString)(params.wasabi_bucket))) {
1732
+ if (!(params.cloudflare_bucket && !(0, _utils.isString)(params.cloudflare_bucket))) {
1688
1733
  _context8.next = 62;
1689
1734
  break;
1690
1735
  }
1691
- throw new errors.InvalidParameterError("Bad parameter: wasabi_bucket must be of type String, received ".concat((0, _utils.getType)(params.wasabi_bucket)));
1736
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_bucket must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_bucket)));
1692
1737
  case 62:
1693
- if (!(params.wasabi_region && !(0, _utils.isString)(params.wasabi_region))) {
1738
+ if (!(params.cloudflare_endpoint && !(0, _utils.isString)(params.cloudflare_endpoint))) {
1694
1739
  _context8.next = 64;
1695
1740
  break;
1696
1741
  }
1697
- throw new errors.InvalidParameterError("Bad parameter: wasabi_region must be of type String, received ".concat((0, _utils.getType)(params.wasabi_region)));
1742
+ throw new errors.InvalidParameterError("Bad parameter: cloudflare_endpoint must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_endpoint)));
1698
1743
  case 64:
1699
- if (!(params.rackspace_username && !(0, _utils.isString)(params.rackspace_username))) {
1744
+ if (!(params.filebase_access_key && !(0, _utils.isString)(params.filebase_access_key))) {
1700
1745
  _context8.next = 66;
1701
1746
  break;
1702
1747
  }
1703
- throw new errors.InvalidParameterError("Bad parameter: rackspace_username must be of type String, received ".concat((0, _utils.getType)(params.rackspace_username)));
1748
+ throw new errors.InvalidParameterError("Bad parameter: filebase_access_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_access_key)));
1704
1749
  case 66:
1705
- if (!(params.rackspace_region && !(0, _utils.isString)(params.rackspace_region))) {
1750
+ if (!(params.filebase_bucket && !(0, _utils.isString)(params.filebase_bucket))) {
1706
1751
  _context8.next = 68;
1707
1752
  break;
1708
1753
  }
1709
- throw new errors.InvalidParameterError("Bad parameter: rackspace_region must be of type String, received ".concat((0, _utils.getType)(params.rackspace_region)));
1754
+ throw new errors.InvalidParameterError("Bad parameter: filebase_bucket must be of type String, received ".concat((0, _utils.getType)(params.filebase_bucket)));
1710
1755
  case 68:
1711
- if (!(params.rackspace_container && !(0, _utils.isString)(params.rackspace_container))) {
1756
+ if (!(params.files_agent_permission_set && !(0, _utils.isString)(params.files_agent_permission_set))) {
1712
1757
  _context8.next = 70;
1713
1758
  break;
1714
1759
  }
1715
- throw new errors.InvalidParameterError("Bad parameter: rackspace_container must be of type String, received ".concat((0, _utils.getType)(params.rackspace_container)));
1760
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_permission_set must be of type String, received ".concat((0, _utils.getType)(params.files_agent_permission_set)));
1716
1761
  case 70:
1717
- if (!(params.one_drive_account_type && !(0, _utils.isString)(params.one_drive_account_type))) {
1762
+ if (!(params.files_agent_root && !(0, _utils.isString)(params.files_agent_root))) {
1718
1763
  _context8.next = 72;
1719
1764
  break;
1720
1765
  }
1721
- throw new errors.InvalidParameterError("Bad parameter: one_drive_account_type must be of type String, received ".concat((0, _utils.getType)(params.one_drive_account_type)));
1766
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_root must be of type String, received ".concat((0, _utils.getType)(params.files_agent_root)));
1722
1767
  case 72:
1723
- if (!(params.azure_blob_storage_account && !(0, _utils.isString)(params.azure_blob_storage_account))) {
1768
+ if (!(params.files_agent_version && !(0, _utils.isString)(params.files_agent_version))) {
1724
1769
  _context8.next = 74;
1725
1770
  break;
1726
1771
  }
1727
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_account)));
1772
+ throw new errors.InvalidParameterError("Bad parameter: files_agent_version must be of type String, received ".concat((0, _utils.getType)(params.files_agent_version)));
1728
1773
  case 74:
1729
- if (!(params.azure_blob_storage_container && !(0, _utils.isString)(params.azure_blob_storage_container))) {
1774
+ if (!(params.google_cloud_storage_bucket && !(0, _utils.isString)(params.google_cloud_storage_bucket))) {
1730
1775
  _context8.next = 76;
1731
1776
  break;
1732
1777
  }
1733
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_container must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_container)));
1778
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_bucket must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_bucket)));
1734
1779
  case 76:
1735
- if (!(params.azure_blob_storage_sas_token && !(0, _utils.isString)(params.azure_blob_storage_sas_token))) {
1780
+ if (!(params.google_cloud_storage_project_id && !(0, _utils.isString)(params.google_cloud_storage_project_id))) {
1736
1781
  _context8.next = 78;
1737
1782
  break;
1738
1783
  }
1739
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_sas_token)));
1784
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_project_id must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_project_id)));
1740
1785
  case 78:
1741
- if (!(params.azure_blob_storage_dns_suffix && !(0, _utils.isString)(params.azure_blob_storage_dns_suffix))) {
1786
+ if (!(params.google_cloud_storage_region && !(0, _utils.isString)(params.google_cloud_storage_region))) {
1742
1787
  _context8.next = 80;
1743
1788
  break;
1744
1789
  }
1745
- throw new errors.InvalidParameterError("Bad parameter: azure_blob_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_blob_storage_dns_suffix)));
1790
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_region must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_region)));
1746
1791
  case 80:
1747
- if (!(params.azure_files_storage_account && !(0, _utils.isString)(params.azure_files_storage_account))) {
1792
+ if (!(params.google_cloud_storage_s3_compatible_access_key && !(0, _utils.isString)(params.google_cloud_storage_s3_compatible_access_key))) {
1748
1793
  _context8.next = 82;
1749
1794
  break;
1750
1795
  }
1751
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_account)));
1796
+ throw new errors.InvalidParameterError("Bad parameter: google_cloud_storage_s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.google_cloud_storage_s3_compatible_access_key)));
1752
1797
  case 82:
1753
- if (!(params.azure_files_storage_share_name && !(0, _utils.isString)(params.azure_files_storage_share_name))) {
1798
+ if (!(params.hostname && !(0, _utils.isString)(params.hostname))) {
1754
1799
  _context8.next = 84;
1755
1800
  break;
1756
1801
  }
1757
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_share_name)));
1802
+ throw new errors.InvalidParameterError("Bad parameter: hostname must be of type String, received ".concat((0, _utils.getType)(params.hostname)));
1758
1803
  case 84:
1759
- if (!(params.azure_files_storage_dns_suffix && !(0, _utils.isString)(params.azure_files_storage_dns_suffix))) {
1804
+ if (!(params.linode_access_key && !(0, _utils.isString)(params.linode_access_key))) {
1760
1805
  _context8.next = 86;
1761
1806
  break;
1762
1807
  }
1763
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_dns_suffix must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_dns_suffix)));
1808
+ throw new errors.InvalidParameterError("Bad parameter: linode_access_key must be of type String, received ".concat((0, _utils.getType)(params.linode_access_key)));
1764
1809
  case 86:
1765
- if (!(params.azure_files_storage_sas_token && !(0, _utils.isString)(params.azure_files_storage_sas_token))) {
1810
+ if (!(params.linode_bucket && !(0, _utils.isString)(params.linode_bucket))) {
1766
1811
  _context8.next = 88;
1767
1812
  break;
1768
1813
  }
1769
- throw new errors.InvalidParameterError("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(params.azure_files_storage_sas_token)));
1814
+ throw new errors.InvalidParameterError("Bad parameter: linode_bucket must be of type String, received ".concat((0, _utils.getType)(params.linode_bucket)));
1770
1815
  case 88:
1771
- if (!(params.s3_compatible_bucket && !(0, _utils.isString)(params.s3_compatible_bucket))) {
1816
+ if (!(params.linode_region && !(0, _utils.isString)(params.linode_region))) {
1772
1817
  _context8.next = 90;
1773
1818
  break;
1774
1819
  }
1775
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_bucket)));
1820
+ throw new errors.InvalidParameterError("Bad parameter: linode_region must be of type String, received ".concat((0, _utils.getType)(params.linode_region)));
1776
1821
  case 90:
1777
- if (!(params.s3_compatible_endpoint && !(0, _utils.isString)(params.s3_compatible_endpoint))) {
1822
+ if (!(params.max_connections && !(0, _utils.isInt)(params.max_connections))) {
1778
1823
  _context8.next = 92;
1779
1824
  break;
1780
1825
  }
1781
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_endpoint must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_endpoint)));
1826
+ throw new errors.InvalidParameterError("Bad parameter: max_connections must be of type Int, received ".concat((0, _utils.getType)(params.max_connections)));
1782
1827
  case 92:
1783
- if (!(params.s3_compatible_region && !(0, _utils.isString)(params.s3_compatible_region))) {
1828
+ if (!(params.name && !(0, _utils.isString)(params.name))) {
1784
1829
  _context8.next = 94;
1785
1830
  break;
1786
1831
  }
1787
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_region must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_region)));
1832
+ throw new errors.InvalidParameterError("Bad parameter: name must be of type String, received ".concat((0, _utils.getType)(params.name)));
1788
1833
  case 94:
1789
- if (!(params.s3_compatible_access_key && !(0, _utils.isString)(params.s3_compatible_access_key))) {
1834
+ if (!(params.one_drive_account_type && !(0, _utils.isString)(params.one_drive_account_type))) {
1790
1835
  _context8.next = 96;
1791
1836
  break;
1792
1837
  }
1793
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_access_key)));
1838
+ throw new errors.InvalidParameterError("Bad parameter: one_drive_account_type must be of type String, received ".concat((0, _utils.getType)(params.one_drive_account_type)));
1794
1839
  case 96:
1795
- if (!(params.s3_compatible_secret_key && !(0, _utils.isString)(params.s3_compatible_secret_key))) {
1840
+ if (!(params.port && !(0, _utils.isInt)(params.port))) {
1796
1841
  _context8.next = 98;
1797
1842
  break;
1798
1843
  }
1799
- throw new errors.InvalidParameterError("Bad parameter: s3_compatible_secret_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_secret_key)));
1844
+ throw new errors.InvalidParameterError("Bad parameter: port must be of type Int, received ".concat((0, _utils.getType)(params.port)));
1800
1845
  case 98:
1801
- if (!(params.files_agent_root && !(0, _utils.isString)(params.files_agent_root))) {
1846
+ if (!(params.rackspace_container && !(0, _utils.isString)(params.rackspace_container))) {
1802
1847
  _context8.next = 100;
1803
1848
  break;
1804
1849
  }
1805
- throw new errors.InvalidParameterError("Bad parameter: files_agent_root must be of type String, received ".concat((0, _utils.getType)(params.files_agent_root)));
1850
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_container must be of type String, received ".concat((0, _utils.getType)(params.rackspace_container)));
1806
1851
  case 100:
1807
- if (!(params.files_agent_permission_set && !(0, _utils.isString)(params.files_agent_permission_set))) {
1852
+ if (!(params.rackspace_region && !(0, _utils.isString)(params.rackspace_region))) {
1808
1853
  _context8.next = 102;
1809
1854
  break;
1810
1855
  }
1811
- throw new errors.InvalidParameterError("Bad parameter: files_agent_permission_set must be of type String, received ".concat((0, _utils.getType)(params.files_agent_permission_set)));
1856
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_region must be of type String, received ".concat((0, _utils.getType)(params.rackspace_region)));
1812
1857
  case 102:
1813
- if (!(params.files_agent_version && !(0, _utils.isString)(params.files_agent_version))) {
1858
+ if (!(params.rackspace_username && !(0, _utils.isString)(params.rackspace_username))) {
1814
1859
  _context8.next = 104;
1815
1860
  break;
1816
1861
  }
1817
- throw new errors.InvalidParameterError("Bad parameter: files_agent_version must be of type String, received ".concat((0, _utils.getType)(params.files_agent_version)));
1862
+ throw new errors.InvalidParameterError("Bad parameter: rackspace_username must be of type String, received ".concat((0, _utils.getType)(params.rackspace_username)));
1818
1863
  case 104:
1819
- if (!(params.filebase_access_key && !(0, _utils.isString)(params.filebase_access_key))) {
1864
+ if (!(params.s3_bucket && !(0, _utils.isString)(params.s3_bucket))) {
1820
1865
  _context8.next = 106;
1821
1866
  break;
1822
1867
  }
1823
- throw new errors.InvalidParameterError("Bad parameter: filebase_access_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_access_key)));
1868
+ throw new errors.InvalidParameterError("Bad parameter: s3_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_bucket)));
1824
1869
  case 106:
1825
- if (!(params.filebase_secret_key && !(0, _utils.isString)(params.filebase_secret_key))) {
1870
+ if (!(params.s3_compatible_access_key && !(0, _utils.isString)(params.s3_compatible_access_key))) {
1826
1871
  _context8.next = 108;
1827
1872
  break;
1828
1873
  }
1829
- throw new errors.InvalidParameterError("Bad parameter: filebase_secret_key must be of type String, received ".concat((0, _utils.getType)(params.filebase_secret_key)));
1874
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_access_key must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_access_key)));
1830
1875
  case 108:
1831
- if (!(params.filebase_bucket && !(0, _utils.isString)(params.filebase_bucket))) {
1876
+ if (!(params.s3_compatible_bucket && !(0, _utils.isString)(params.s3_compatible_bucket))) {
1832
1877
  _context8.next = 110;
1833
1878
  break;
1834
1879
  }
1835
- throw new errors.InvalidParameterError("Bad parameter: filebase_bucket must be of type String, received ".concat((0, _utils.getType)(params.filebase_bucket)));
1880
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_bucket must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_bucket)));
1836
1881
  case 110:
1837
- if (!(params.cloudflare_access_key && !(0, _utils.isString)(params.cloudflare_access_key))) {
1882
+ if (!(params.s3_compatible_endpoint && !(0, _utils.isString)(params.s3_compatible_endpoint))) {
1838
1883
  _context8.next = 112;
1839
1884
  break;
1840
1885
  }
1841
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_access_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_access_key)));
1886
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_endpoint must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_endpoint)));
1842
1887
  case 112:
1843
- if (!(params.cloudflare_secret_key && !(0, _utils.isString)(params.cloudflare_secret_key))) {
1888
+ if (!(params.s3_compatible_region && !(0, _utils.isString)(params.s3_compatible_region))) {
1844
1889
  _context8.next = 114;
1845
1890
  break;
1846
1891
  }
1847
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_secret_key must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_secret_key)));
1892
+ throw new errors.InvalidParameterError("Bad parameter: s3_compatible_region must be of type String, received ".concat((0, _utils.getType)(params.s3_compatible_region)));
1848
1893
  case 114:
1849
- if (!(params.cloudflare_bucket && !(0, _utils.isString)(params.cloudflare_bucket))) {
1894
+ if (!(params.s3_region && !(0, _utils.isString)(params.s3_region))) {
1850
1895
  _context8.next = 116;
1851
1896
  break;
1852
1897
  }
1853
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_bucket must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_bucket)));
1898
+ throw new errors.InvalidParameterError("Bad parameter: s3_region must be of type String, received ".concat((0, _utils.getType)(params.s3_region)));
1854
1899
  case 116:
1855
- if (!(params.cloudflare_endpoint && !(0, _utils.isString)(params.cloudflare_endpoint))) {
1900
+ if (!(params.server_certificate && !(0, _utils.isString)(params.server_certificate))) {
1856
1901
  _context8.next = 118;
1857
1902
  break;
1858
1903
  }
1859
- throw new errors.InvalidParameterError("Bad parameter: cloudflare_endpoint must be of type String, received ".concat((0, _utils.getType)(params.cloudflare_endpoint)));
1904
+ throw new errors.InvalidParameterError("Bad parameter: server_certificate must be of type String, received ".concat((0, _utils.getType)(params.server_certificate)));
1860
1905
  case 118:
1861
- if (!(params.linode_access_key && !(0, _utils.isString)(params.linode_access_key))) {
1906
+ if (!(params.server_host_key && !(0, _utils.isString)(params.server_host_key))) {
1862
1907
  _context8.next = 120;
1863
1908
  break;
1864
1909
  }
1865
- throw new errors.InvalidParameterError("Bad parameter: linode_access_key must be of type String, received ".concat((0, _utils.getType)(params.linode_access_key)));
1910
+ throw new errors.InvalidParameterError("Bad parameter: server_host_key must be of type String, received ".concat((0, _utils.getType)(params.server_host_key)));
1866
1911
  case 120:
1867
- if (!(params.linode_secret_key && !(0, _utils.isString)(params.linode_secret_key))) {
1912
+ if (!(params.server_type && !(0, _utils.isString)(params.server_type))) {
1868
1913
  _context8.next = 122;
1869
1914
  break;
1870
1915
  }
1871
- throw new errors.InvalidParameterError("Bad parameter: linode_secret_key must be of type String, received ".concat((0, _utils.getType)(params.linode_secret_key)));
1916
+ throw new errors.InvalidParameterError("Bad parameter: server_type must be of type String, received ".concat((0, _utils.getType)(params.server_type)));
1872
1917
  case 122:
1873
- if (!(params.linode_bucket && !(0, _utils.isString)(params.linode_bucket))) {
1918
+ if (!(params.ssl && !(0, _utils.isString)(params.ssl))) {
1874
1919
  _context8.next = 124;
1875
1920
  break;
1876
1921
  }
1877
- throw new errors.InvalidParameterError("Bad parameter: linode_bucket must be of type String, received ".concat((0, _utils.getType)(params.linode_bucket)));
1922
+ throw new errors.InvalidParameterError("Bad parameter: ssl must be of type String, received ".concat((0, _utils.getType)(params.ssl)));
1878
1923
  case 124:
1879
- if (!(params.linode_region && !(0, _utils.isString)(params.linode_region))) {
1924
+ if (!(params.username && !(0, _utils.isString)(params.username))) {
1880
1925
  _context8.next = 126;
1881
1926
  break;
1882
1927
  }
1883
- throw new errors.InvalidParameterError("Bad parameter: linode_region must be of type String, received ".concat((0, _utils.getType)(params.linode_region)));
1928
+ throw new errors.InvalidParameterError("Bad parameter: username must be of type String, received ".concat((0, _utils.getType)(params.username)));
1884
1929
  case 126:
1885
- _context8.next = 128;
1886
- return _Api.default.sendRequest('/remote_servers', 'POST', params, options);
1930
+ if (!(params.wasabi_access_key && !(0, _utils.isString)(params.wasabi_access_key))) {
1931
+ _context8.next = 128;
1932
+ break;
1933
+ }
1934
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_access_key must be of type String, received ".concat((0, _utils.getType)(params.wasabi_access_key)));
1887
1935
  case 128:
1936
+ if (!(params.wasabi_bucket && !(0, _utils.isString)(params.wasabi_bucket))) {
1937
+ _context8.next = 130;
1938
+ break;
1939
+ }
1940
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_bucket must be of type String, received ".concat((0, _utils.getType)(params.wasabi_bucket)));
1941
+ case 130:
1942
+ if (!(params.wasabi_region && !(0, _utils.isString)(params.wasabi_region))) {
1943
+ _context8.next = 132;
1944
+ break;
1945
+ }
1946
+ throw new errors.InvalidParameterError("Bad parameter: wasabi_region must be of type String, received ".concat((0, _utils.getType)(params.wasabi_region)));
1947
+ case 132:
1948
+ _context8.next = 134;
1949
+ return _Api.default.sendRequest('/remote_servers', 'POST', params, options);
1950
+ case 134:
1888
1951
  response = _context8.sent;
1889
1952
  return _context8.abrupt("return", new _RemoteServer(response === null || response === void 0 ? void 0 : response.data, options));
1890
- case 130:
1953
+ case 136:
1891
1954
  case "end":
1892
1955
  return _context8.stop();
1893
1956
  }