files.com 1.0.460 → 1.0.462
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/docs/models/RemoteServer.md +7 -0
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +9 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +9 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.462
|
@@ -39,6 +39,7 @@
|
|
39
39
|
"azure_blob_storage_account": "storage-account-name",
|
40
40
|
"azure_blob_storage_sas_token": "storage-sas-token",
|
41
41
|
"azure_blob_storage_container": "container-name",
|
42
|
+
"azure_blob_storage_hierarchical_namespace": true,
|
42
43
|
"azure_files_storage_account": "storage-account-name",
|
43
44
|
"azure_files_storage_sas_token": "storage-sas-token",
|
44
45
|
"azure_files_storage_share_name": "share-name",
|
@@ -97,6 +98,7 @@
|
|
97
98
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
98
99
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
99
100
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
101
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
100
102
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
101
103
|
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
102
104
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
@@ -210,6 +212,7 @@ await RemoteServer.create({
|
|
210
212
|
'one_drive_account_type': "personal",
|
211
213
|
'azure_blob_storage_account': "storage-account-name",
|
212
214
|
'azure_blob_storage_container': "container-name",
|
215
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
213
216
|
'azure_blob_storage_sas_token': "storage-sas-token",
|
214
217
|
'azure_files_storage_account': "storage-account-name",
|
215
218
|
'azure_files_storage_share_name': "share-name",
|
@@ -275,6 +278,7 @@ await RemoteServer.create({
|
|
275
278
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
276
279
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
277
280
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
281
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
278
282
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
279
283
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
280
284
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
@@ -391,6 +395,7 @@ await remote_server.update({
|
|
391
395
|
'one_drive_account_type': "personal",
|
392
396
|
'azure_blob_storage_account': "storage-account-name",
|
393
397
|
'azure_blob_storage_container': "container-name",
|
398
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
394
399
|
'azure_blob_storage_sas_token': "storage-sas-token",
|
395
400
|
'azure_files_storage_account': "storage-account-name",
|
396
401
|
'azure_files_storage_share_name': "share-name",
|
@@ -456,6 +461,7 @@ await remote_server.update({
|
|
456
461
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
457
462
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
458
463
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
464
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
459
465
|
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
460
466
|
* `azure_files_storage_account` (string): Azure File Storage Account name
|
461
467
|
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
@@ -520,6 +526,7 @@ await remote_server.update({
|
|
520
526
|
"azure_blob_storage_account": "storage-account-name",
|
521
527
|
"azure_blob_storage_sas_token": "storage-sas-token",
|
522
528
|
"azure_blob_storage_container": "container-name",
|
529
|
+
"azure_blob_storage_hierarchical_namespace": true,
|
523
530
|
"azure_files_storage_account": "storage-account-name",
|
524
531
|
"azure_files_storage_sas_token": "storage-sas-token",
|
525
532
|
"azure_files_storage_share_name": "share-name",
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.0.
|
14
|
+
var version = '1.0.462';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -278,6 +278,13 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
278
278
|
(0, _defineProperty2.default)(this, "setAzureBlobStorageContainer", function (value) {
|
279
279
|
_this.attributes.azure_blob_storage_container = value;
|
280
280
|
});
|
281
|
+
// boolean # Enable when storage account has hierarchical namespace feature enabled
|
282
|
+
(0, _defineProperty2.default)(this, "getAzureBlobStorageHierarchicalNamespace", function () {
|
283
|
+
return _this.attributes.azure_blob_storage_hierarchical_namespace;
|
284
|
+
});
|
285
|
+
(0, _defineProperty2.default)(this, "setAzureBlobStorageHierarchicalNamespace", function (value) {
|
286
|
+
_this.attributes.azure_blob_storage_hierarchical_namespace = value;
|
287
|
+
});
|
281
288
|
// string # Azure File Storage Account name
|
282
289
|
(0, _defineProperty2.default)(this, "getAzureFilesStorageAccount", function () {
|
283
290
|
return _this.attributes.azure_files_storage_account;
|
@@ -711,6 +718,7 @@ var RemoteServer = /*#__PURE__*/(0, _createClass2.default)(function RemoteServer
|
|
711
718
|
// one_drive_account_type - string - Either personal or business_other account types
|
712
719
|
// azure_blob_storage_account - string - Azure Blob Storage Account name
|
713
720
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
721
|
+
// azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
714
722
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
715
723
|
// azure_files_storage_account - string - Azure File Storage Account name
|
716
724
|
// azure_files_storage_share_name - string - Azure File Storage Share name
|
@@ -1405,6 +1413,7 @@ _class = RemoteServer;
|
|
1405
1413
|
// one_drive_account_type - string - Either personal or business_other account types
|
1406
1414
|
// azure_blob_storage_account - string - Azure Blob Storage Account name
|
1407
1415
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
1416
|
+
// azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
1408
1417
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1409
1418
|
// azure_files_storage_account - string - Azure File Storage Account name
|
1410
1419
|
// azure_files_storage_share_name - string - Azure File Storage Share name
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -269,6 +269,13 @@ class RemoteServer {
|
|
269
269
|
this.attributes.azure_blob_storage_container = value
|
270
270
|
}
|
271
271
|
|
272
|
+
// boolean # Enable when storage account has hierarchical namespace feature enabled
|
273
|
+
getAzureBlobStorageHierarchicalNamespace = () => this.attributes.azure_blob_storage_hierarchical_namespace
|
274
|
+
|
275
|
+
setAzureBlobStorageHierarchicalNamespace = value => {
|
276
|
+
this.attributes.azure_blob_storage_hierarchical_namespace = value
|
277
|
+
}
|
278
|
+
|
272
279
|
// string # Azure File Storage Account name
|
273
280
|
getAzureFilesStorageAccount = () => this.attributes.azure_files_storage_account
|
274
281
|
|
@@ -644,6 +651,7 @@ class RemoteServer {
|
|
644
651
|
// one_drive_account_type - string - Either personal or business_other account types
|
645
652
|
// azure_blob_storage_account - string - Azure Blob Storage Account name
|
646
653
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
654
|
+
// azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
647
655
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
648
656
|
// azure_files_storage_account - string - Azure File Storage Account name
|
649
657
|
// azure_files_storage_share_name - string - Azure File Storage Share name
|
@@ -1023,6 +1031,7 @@ class RemoteServer {
|
|
1023
1031
|
// one_drive_account_type - string - Either personal or business_other account types
|
1024
1032
|
// azure_blob_storage_account - string - Azure Blob Storage Account name
|
1025
1033
|
// azure_blob_storage_container - string - Azure Blob Storage Container name
|
1034
|
+
// azure_blob_storage_hierarchical_namespace - boolean - Enable when storage account has hierarchical namespace feature enabled
|
1026
1035
|
// azure_blob_storage_sas_token - string - Shared Access Signature (SAS) token
|
1027
1036
|
// azure_files_storage_account - string - Azure File Storage Account name
|
1028
1037
|
// azure_files_storage_share_name - string - Azure File Storage Share name
|