files.com 1.0.187 → 1.0.188
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.
- package/_VERSION +1 -1
- package/lib/models/RemoteServer.js +16 -16
- package/package.json +1 -1
- package/src/models/RemoteServer.js +18 -18
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.188
|
@@ -245,17 +245,17 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
245
245
|
(0, _defineProperty2.default)(this, "setAzureFilesStorageAccount", function (value) {
|
246
246
|
_this.attributes.azure_files_storage_account = value;
|
247
247
|
});
|
248
|
-
(0, _defineProperty2.default)(this, "
|
249
|
-
return _this.attributes.
|
248
|
+
(0, _defineProperty2.default)(this, "getAzureFilesStorageSasToken", function () {
|
249
|
+
return _this.attributes.azure_files_storage_sas_token;
|
250
250
|
});
|
251
|
-
(0, _defineProperty2.default)(this, "
|
252
|
-
_this.attributes.
|
251
|
+
(0, _defineProperty2.default)(this, "setAzureFilesStorageSasToken", function (value) {
|
252
|
+
_this.attributes.azure_files_storage_sas_token = value;
|
253
253
|
});
|
254
|
-
(0, _defineProperty2.default)(this, "
|
255
|
-
return _this.attributes.
|
254
|
+
(0, _defineProperty2.default)(this, "getAzureFilesStorageShareName", function () {
|
255
|
+
return _this.attributes.azure_files_storage_share_name;
|
256
256
|
});
|
257
|
-
(0, _defineProperty2.default)(this, "
|
258
|
-
_this.attributes.
|
257
|
+
(0, _defineProperty2.default)(this, "setAzureFilesStorageShareName", function (value) {
|
258
|
+
_this.attributes.azure_files_storage_share_name = value;
|
259
259
|
});
|
260
260
|
(0, _defineProperty2.default)(this, "getS3CompatibleBucket", function () {
|
261
261
|
return _this.attributes.s3_compatible_bucket;
|
@@ -705,20 +705,20 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
705
705
|
throw new Error("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_account)));
|
706
706
|
|
707
707
|
case 84:
|
708
|
-
if (!(params['
|
708
|
+
if (!(params['azure_files_storage_share_name'] && !(0, _utils.isString)(params['azure_files_storage_share_name']))) {
|
709
709
|
_context.next = 86;
|
710
710
|
break;
|
711
711
|
}
|
712
712
|
|
713
|
-
throw new Error("Bad parameter:
|
713
|
+
throw new Error("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_share_name)));
|
714
714
|
|
715
715
|
case 86:
|
716
|
-
if (!(params['
|
716
|
+
if (!(params['azure_files_storage_sas_token'] && !(0, _utils.isString)(params['azure_files_storage_sas_token']))) {
|
717
717
|
_context.next = 88;
|
718
718
|
break;
|
719
719
|
}
|
720
720
|
|
721
|
-
throw new Error("Bad parameter:
|
721
|
+
throw new Error("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_sas_token)));
|
722
722
|
|
723
723
|
case 88:
|
724
724
|
if (!(params['s3_compatible_bucket'] && !(0, _utils.isString)(params['s3_compatible_bucket']))) {
|
@@ -1318,20 +1318,20 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
1318
1318
|
throw new Error("Bad parameter: azure_files_storage_account must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_account)));
|
1319
1319
|
|
1320
1320
|
case 78:
|
1321
|
-
if (!(params['
|
1321
|
+
if (!(params['azure_files_storage_share_name'] && !(0, _utils.isString)(params['azure_files_storage_share_name']))) {
|
1322
1322
|
_context5.next = 80;
|
1323
1323
|
break;
|
1324
1324
|
}
|
1325
1325
|
|
1326
|
-
throw new Error("Bad parameter:
|
1326
|
+
throw new Error("Bad parameter: azure_files_storage_share_name must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_share_name)));
|
1327
1327
|
|
1328
1328
|
case 80:
|
1329
|
-
if (!(params['
|
1329
|
+
if (!(params['azure_files_storage_sas_token'] && !(0, _utils.isString)(params['azure_files_storage_sas_token']))) {
|
1330
1330
|
_context5.next = 82;
|
1331
1331
|
break;
|
1332
1332
|
}
|
1333
1333
|
|
1334
|
-
throw new Error("Bad parameter:
|
1334
|
+
throw new Error("Bad parameter: azure_files_storage_sas_token must be of type String, received ".concat((0, _utils.getType)(azure_files_storage_sas_token)));
|
1335
1335
|
|
1336
1336
|
case 82:
|
1337
1337
|
if (!(params['s3_compatible_bucket'] && !(0, _utils.isString)(params['s3_compatible_bucket']))) {
|
package/package.json
CHANGED
@@ -261,17 +261,17 @@ class RemoteServer {
|
|
261
261
|
}
|
262
262
|
|
263
263
|
// string # Shared Access Signature (SAS) token
|
264
|
-
|
264
|
+
getAzureFilesStorageSasToken = () => this.attributes.azure_files_storage_sas_token
|
265
265
|
|
266
|
-
|
267
|
-
this.attributes.
|
266
|
+
setAzureFilesStorageSasToken = value => {
|
267
|
+
this.attributes.azure_files_storage_sas_token = value
|
268
268
|
}
|
269
269
|
|
270
270
|
// string # Azure File Storage Share name
|
271
|
-
|
271
|
+
getAzureFilesStorageShareName = () => this.attributes.azure_files_storage_share_name
|
272
272
|
|
273
|
-
|
274
|
-
this.attributes.
|
273
|
+
setAzureFilesStorageShareName = value => {
|
274
|
+
this.attributes.azure_files_storage_share_name = value
|
275
275
|
}
|
276
276
|
|
277
277
|
// string # S3-compatible Bucket name
|
@@ -441,8 +441,8 @@ class RemoteServer {
|
|
441
441
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
442
442
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
443
443
|
// azure_files_storage_account - string - Azure File Storage Account name
|
444
|
-
//
|
445
|
-
//
|
444
|
+
// azure_files_storage_share_name - string - Azure File Storage Share name
|
445
|
+
// azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
446
446
|
// s3_compatible_bucket - string - S3-compatible Bucket name
|
447
447
|
// s3_compatible_endpoint - string - S3-compatible endpoint
|
448
448
|
// s3_compatible_region - string - S3-compatible endpoint
|
@@ -576,11 +576,11 @@ class RemoteServer {
|
|
576
576
|
if (params['azure_files_storage_account'] && !isString(params['azure_files_storage_account'])) {
|
577
577
|
throw new Error(`Bad parameter: azure_files_storage_account must be of type String, received ${getType(azure_files_storage_account)}`)
|
578
578
|
}
|
579
|
-
if (params['
|
580
|
-
throw new Error(`Bad parameter:
|
579
|
+
if (params['azure_files_storage_share_name'] && !isString(params['azure_files_storage_share_name'])) {
|
580
|
+
throw new Error(`Bad parameter: azure_files_storage_share_name must be of type String, received ${getType(azure_files_storage_share_name)}`)
|
581
581
|
}
|
582
|
-
if (params['
|
583
|
-
throw new Error(`Bad parameter:
|
582
|
+
if (params['azure_files_storage_sas_token'] && !isString(params['azure_files_storage_sas_token'])) {
|
583
|
+
throw new Error(`Bad parameter: azure_files_storage_sas_token must be of type String, received ${getType(azure_files_storage_sas_token)}`)
|
584
584
|
}
|
585
585
|
if (params['s3_compatible_bucket'] && !isString(params['s3_compatible_bucket'])) {
|
586
586
|
throw new Error(`Bad parameter: s3_compatible_bucket must be of type String, received ${getType(s3_compatible_bucket)}`)
|
@@ -736,8 +736,8 @@ class RemoteServer {
|
|
736
736
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
737
737
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
738
738
|
// azure_files_storage_account - string - Azure File Storage Account name
|
739
|
-
//
|
740
|
-
//
|
739
|
+
// azure_files_storage_share_name - string - Azure File Storage Share name
|
740
|
+
// azure_files_storage_sas_token - string - Shared Access Signature (SAS) token
|
741
741
|
// s3_compatible_bucket - string - S3-compatible Bucket name
|
742
742
|
// s3_compatible_endpoint - string - S3-compatible endpoint
|
743
743
|
// s3_compatible_region - string - S3-compatible endpoint
|
@@ -897,12 +897,12 @@ class RemoteServer {
|
|
897
897
|
throw new Error(`Bad parameter: azure_files_storage_account must be of type String, received ${getType(azure_files_storage_account)}`)
|
898
898
|
}
|
899
899
|
|
900
|
-
if (params['
|
901
|
-
throw new Error(`Bad parameter:
|
900
|
+
if (params['azure_files_storage_share_name'] && !isString(params['azure_files_storage_share_name'])) {
|
901
|
+
throw new Error(`Bad parameter: azure_files_storage_share_name must be of type String, received ${getType(azure_files_storage_share_name)}`)
|
902
902
|
}
|
903
903
|
|
904
|
-
if (params['
|
905
|
-
throw new Error(`Bad parameter:
|
904
|
+
if (params['azure_files_storage_sas_token'] && !isString(params['azure_files_storage_sas_token'])) {
|
905
|
+
throw new Error(`Bad parameter: azure_files_storage_sas_token must be of type String, received ${getType(azure_files_storage_sas_token)}`)
|
906
906
|
}
|
907
907
|
|
908
908
|
if (params['s3_compatible_bucket'] && !isString(params['s3_compatible_bucket'])) {
|