@vidispine/vdt-api 22.3.0-pre.3 → 22.3.0
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/dist/index.es.js +82 -28
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +82 -28
- package/dist/index.js.map +1 -1
- package/package.json +14 -15
package/dist/index.js
CHANGED
|
@@ -273,7 +273,7 @@ var _excluded$X = ["entityType", "entityId"],
|
|
|
273
273
|
_excluded8$m = ["entityType", "entityId", "accessControlListDocument"],
|
|
274
274
|
_excluded9$l = ["entityType", "entityId", "accessControlListDocument"],
|
|
275
275
|
_excluded10$j = ["entityType", "entityId", "headers"],
|
|
276
|
-
_excluded11$
|
|
276
|
+
_excluded11$i = ["entityType", "entityId", "headers"],
|
|
277
277
|
_excluded12$g = ["accessControlDocument"],
|
|
278
278
|
_excluded13$f = ["groupName"],
|
|
279
279
|
_excluded14$e = ["groupName"];
|
|
@@ -586,7 +586,7 @@ function getEntityAccessGraphDot(_ref11) {
|
|
|
586
586
|
entityId = _ref11$entityId === void 0 ? isRequired() : _ref11$entityId,
|
|
587
587
|
_ref11$headers = _ref11.headers,
|
|
588
588
|
propHeaders = _ref11$headers === void 0 ? {} : _ref11$headers,
|
|
589
|
-
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$
|
|
589
|
+
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$i);
|
|
590
590
|
|
|
591
591
|
var path = "/API/".concat(entityType, "/").concat(entityId, "/access/graph/dot");
|
|
592
592
|
|
|
@@ -1204,7 +1204,7 @@ var _excluded$T = ["itemId"],
|
|
|
1204
1204
|
_excluded8$l = ["itemId", "shapeId"],
|
|
1205
1205
|
_excluded9$k = ["itemId", "shapeId", "componentId"],
|
|
1206
1206
|
_excluded10$i = ["itemId", "key"],
|
|
1207
|
-
_excluded11$
|
|
1207
|
+
_excluded11$h = ["itemId", "shapeId", "key"],
|
|
1208
1208
|
_excluded12$f = ["itemId", "shapeId", "componentId", "key"],
|
|
1209
1209
|
_excluded13$e = ["itemId", "key", "value", "headers"],
|
|
1210
1210
|
_excluded14$d = ["itemId", "shapeId", "key", "value", "headers"],
|
|
@@ -1508,7 +1508,7 @@ function getShapeBulkyMetadata(_ref11) {
|
|
|
1508
1508
|
shapeId = _ref11$shapeId === void 0 ? isRequired() : _ref11$shapeId,
|
|
1509
1509
|
_ref11$key = _ref11.key,
|
|
1510
1510
|
key = _ref11$key === void 0 ? isRequired() : _ref11$key,
|
|
1511
|
-
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$
|
|
1511
|
+
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$h);
|
|
1512
1512
|
|
|
1513
1513
|
var path = "/API/item/".concat(itemId, "/shape/").concat(shapeId, "/metadata/bulky/").concat(key);
|
|
1514
1514
|
return vFetch(_objectSpread$W({
|
|
@@ -2767,7 +2767,7 @@ var _excluded$S = ["entity", "entityId", "metadataDocument"],
|
|
|
2767
2767
|
_excluded8$k = ["entity", "entityId", "metadataChangeSetDocument"],
|
|
2768
2768
|
_excluded9$j = ["entity", "entityId"],
|
|
2769
2769
|
_excluded10$h = ["entity", "entityId", "changesetId"],
|
|
2770
|
-
_excluded11$
|
|
2770
|
+
_excluded11$g = ["entity", "entityId", "changesetId"],
|
|
2771
2771
|
_excluded12$e = ["entity", "entityId", "uuid", "metadataEntryDocument"],
|
|
2772
2772
|
_excluded13$d = ["entity", "entityId", "metadataEntryListDocument"],
|
|
2773
2773
|
_excluded14$c = ["entity", "entityId", "headers"],
|
|
@@ -2780,7 +2780,7 @@ var _excluded$S = ["entity", "entityId", "metadataDocument"],
|
|
|
2780
2780
|
_excluded21$5 = ["entityType", "entityId", "subpath"],
|
|
2781
2781
|
_excluded22$5 = ["simpleMetadataDocument", "entityType", "entityId"],
|
|
2782
2782
|
_excluded23$5 = ["simpleMetadataDocument", "entityType", "entityId", "subpath"],
|
|
2783
|
-
_excluded24$
|
|
2783
|
+
_excluded24$4 = ["entityType", "entityId"],
|
|
2784
2784
|
_excluded25$3 = ["entityType", "entityId", "key", "headers"],
|
|
2785
2785
|
_excluded26$3 = ["entityType", "entityId", "key", "headers"],
|
|
2786
2786
|
_excluded27$3 = ["entityType", "entityId", "key", "value", "headers"];
|
|
@@ -3096,7 +3096,7 @@ function removeEntityMetadataChange(_ref11) {
|
|
|
3096
3096
|
entityId = _ref11$entityId === void 0 ? isRequired() : _ref11$entityId,
|
|
3097
3097
|
_ref11$changesetId = _ref11.changesetId,
|
|
3098
3098
|
changesetId = _ref11$changesetId === void 0 ? isRequired() : _ref11$changesetId,
|
|
3099
|
-
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$
|
|
3099
|
+
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$g);
|
|
3100
3100
|
|
|
3101
3101
|
var path = "/API/".concat(entity, "/").concat(entityId, "/metadata/changes/").concat(changesetId);
|
|
3102
3102
|
return vFetch(_objectSpread$U({
|
|
@@ -3487,7 +3487,7 @@ function removeSimpleMetadata() {
|
|
|
3487
3487
|
entityType = _ref25$entityType === void 0 ? isRequired() : _ref25$entityType,
|
|
3488
3488
|
_ref25$entityId = _ref25.entityId,
|
|
3489
3489
|
entityId = _ref25$entityId === void 0 ? isRequired() : _ref25$entityId,
|
|
3490
|
-
props = _objectWithoutProperties__default["default"](_ref25, _excluded24$
|
|
3490
|
+
props = _objectWithoutProperties__default["default"](_ref25, _excluded24$4);
|
|
3491
3491
|
|
|
3492
3492
|
var path = "/API/".concat(entityType, "/").concat(entityId, "/metadata");
|
|
3493
3493
|
return vFetch(_objectSpread$U({
|
|
@@ -3807,7 +3807,7 @@ var _excluded$Q = ["collectionId"],
|
|
|
3807
3807
|
_excluded8$j = ["collectionDocument", "queryParams"],
|
|
3808
3808
|
_excluded9$i = ["collectionId"],
|
|
3809
3809
|
_excluded10$g = ["queryParams"],
|
|
3810
|
-
_excluded11$
|
|
3810
|
+
_excluded11$f = ["collectionId"],
|
|
3811
3811
|
_excluded12$d = ["collectionId", "entityId"],
|
|
3812
3812
|
_excluded13$c = ["collectionId", "entityId"],
|
|
3813
3813
|
_excluded14$b = ["collectionId", "collectionDocument"],
|
|
@@ -3819,7 +3819,8 @@ var _excluded$Q = ["collectionId"],
|
|
|
3819
3819
|
_excluded20$4 = ["collectionId"],
|
|
3820
3820
|
_excluded21$4 = ["collectionId"],
|
|
3821
3821
|
_excluded22$4 = ["collectionId"],
|
|
3822
|
-
_excluded23$4 = ["collectionId"]
|
|
3822
|
+
_excluded23$4 = ["collectionId"],
|
|
3823
|
+
_excluded24$3 = ["collectionId", "queryParams"];
|
|
3823
3824
|
|
|
3824
3825
|
function ownKeys$S(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3825
3826
|
|
|
@@ -4121,7 +4122,7 @@ function removeCollectionList(_ref12) {
|
|
|
4121
4122
|
function renameCollection(_ref13) {
|
|
4122
4123
|
var _ref13$collectionId = _ref13.collectionId,
|
|
4123
4124
|
collectionId = _ref13$collectionId === void 0 ? isRequired() : _ref13$collectionId,
|
|
4124
|
-
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$
|
|
4125
|
+
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$f);
|
|
4125
4126
|
|
|
4126
4127
|
var path = "/API/collection/".concat(collectionId, "/rename");
|
|
4127
4128
|
return vFetch(_objectSpread$S({
|
|
@@ -4406,6 +4407,31 @@ function removeCollectionMetadataLock(_ref25) {
|
|
|
4406
4407
|
entityId: collectionId
|
|
4407
4408
|
}, props));
|
|
4408
4409
|
}
|
|
4410
|
+
/**
|
|
4411
|
+
* {@link https://apidoc.vidispine.com/latest/ref/item/export.html?#start-an-export-job-for-a-collection-or-a-library APIdoc}
|
|
4412
|
+
*
|
|
4413
|
+
* @function collection.exportCollection
|
|
4414
|
+
* @param {Object} obj
|
|
4415
|
+
* @param {string} obj.collectionId
|
|
4416
|
+
* @param {string} obj.queryParams
|
|
4417
|
+
* @returns {Promise<Object>}
|
|
4418
|
+
*/
|
|
4419
|
+
|
|
4420
|
+
|
|
4421
|
+
function exportCollection(_ref26) {
|
|
4422
|
+
var _ref26$collectionId = _ref26.collectionId,
|
|
4423
|
+
collectionId = _ref26$collectionId === void 0 ? isRequired() : _ref26$collectionId,
|
|
4424
|
+
_ref26$queryParams = _ref26.queryParams,
|
|
4425
|
+
queryParams = _ref26$queryParams === void 0 ? isRequired() : _ref26$queryParams,
|
|
4426
|
+
props = _objectWithoutProperties__default["default"](_ref26, _excluded24$3);
|
|
4427
|
+
|
|
4428
|
+
var path = "/API/collection/".concat(collectionId, "/export");
|
|
4429
|
+
return vFetch(_objectSpread$S({
|
|
4430
|
+
path: path,
|
|
4431
|
+
method: 'POST',
|
|
4432
|
+
queryParams: queryParams
|
|
4433
|
+
}, props));
|
|
4434
|
+
}
|
|
4409
4435
|
|
|
4410
4436
|
var collection = {
|
|
4411
4437
|
listCollection: listCollection,
|
|
@@ -4432,7 +4458,8 @@ var collection = {
|
|
|
4432
4458
|
createCollectionMetadataLock: createCollectionMetadataLock,
|
|
4433
4459
|
getCollectionMetadataLock: getCollectionMetadataLock,
|
|
4434
4460
|
updateCollectionMetadataLock: updateCollectionMetadataLock,
|
|
4435
|
-
removeCollectionMetadataLock: removeCollectionMetadataLock
|
|
4461
|
+
removeCollectionMetadataLock: removeCollectionMetadataLock,
|
|
4462
|
+
exportCollection: exportCollection
|
|
4436
4463
|
};
|
|
4437
4464
|
|
|
4438
4465
|
var _excluded$P = ["itemId", "shapeId"],
|
|
@@ -4445,7 +4472,7 @@ var _excluded$P = ["itemId", "shapeId"],
|
|
|
4445
4472
|
_excluded8$i = ["itemId", "shapeId", "componentId", "targetItemId", "targetShapeId", "targetComponentId"],
|
|
4446
4473
|
_excluded9$h = ["itemId", "shapeId", "componentId", "targetItemId", "targetShapeId"],
|
|
4447
4474
|
_excluded10$f = ["itemId", "shapeId", "componentId", "fileId"],
|
|
4448
|
-
_excluded11$
|
|
4475
|
+
_excluded11$e = ["itemId", "shapeId", "componentId", "fileId"],
|
|
4449
4476
|
_excluded12$c = ["itemId", "shapeId", "componentId", "analyzeJobDocument"];
|
|
4450
4477
|
|
|
4451
4478
|
function ownKeys$R(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -4796,7 +4823,7 @@ function removeComponentFile(_ref11) {
|
|
|
4796
4823
|
componentId = _ref11$componentId === void 0 ? isRequired() : _ref11$componentId,
|
|
4797
4824
|
_ref11$fileId = _ref11.fileId,
|
|
4798
4825
|
fileId = _ref11$fileId === void 0 ? isRequired() : _ref11$fileId,
|
|
4799
|
-
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$
|
|
4826
|
+
props = _objectWithoutProperties__default["default"](_ref11, _excluded11$e);
|
|
4800
4827
|
|
|
4801
4828
|
var path = "/API/item/".concat(itemId, "/shape/").concat(shapeId, "/component/").concat(componentId, "/file/").concat(fileId);
|
|
4802
4829
|
return vFetch(_objectSpread$R({
|
|
@@ -4862,7 +4889,7 @@ var _excluded$O = ["configurationPropertyDocument"],
|
|
|
4862
4889
|
_excluded8$h = ["metricsConfigurationDocument"],
|
|
4863
4890
|
_excluded9$g = ["pathAliasConfigurationDocument"],
|
|
4864
4891
|
_excluded10$e = ["logReportConfigurationDocument"],
|
|
4865
|
-
_excluded11$
|
|
4892
|
+
_excluded11$d = ["databasePurgingConfigurationDocument"],
|
|
4866
4893
|
_excluded12$b = ["corsConfigurationDocument"],
|
|
4867
4894
|
_excluded13$b = ["oAuth2ConfigurationDocument"],
|
|
4868
4895
|
_excluded14$a = ["jobPriorityConfigurationDocument"],
|
|
@@ -5351,7 +5378,7 @@ function getDatabasePurgingConfiguration() {
|
|
|
5351
5378
|
function updateDatabasePurgingConfiguration(_ref22) {
|
|
5352
5379
|
var _ref22$databasePurgin = _ref22.databasePurgingConfigurationDocument,
|
|
5353
5380
|
databasePurgingConfigurationDocument = _ref22$databasePurgin === void 0 ? isRequired() : _ref22$databasePurgin,
|
|
5354
|
-
props = _objectWithoutProperties__default["default"](_ref22, _excluded11$
|
|
5381
|
+
props = _objectWithoutProperties__default["default"](_ref22, _excluded11$d);
|
|
5355
5382
|
|
|
5356
5383
|
var path = '/API/configuration/purging';
|
|
5357
5384
|
return vFetch(_objectSpread$Q({
|
|
@@ -6847,7 +6874,7 @@ var _excluded$G = ["groupName"],
|
|
|
6847
6874
|
_excluded8$f = ["metadataFieldGroupSearchDocument"],
|
|
6848
6875
|
_excluded9$f = ["groupName"],
|
|
6849
6876
|
_excluded10$d = ["groupName"],
|
|
6850
|
-
_excluded11$
|
|
6877
|
+
_excluded11$c = ["groupName", "metadataFieldAccessControlDocument"],
|
|
6851
6878
|
_excluded12$a = ["groupName", "accessId"],
|
|
6852
6879
|
_excluded13$a = ["groupName"];
|
|
6853
6880
|
|
|
@@ -7138,7 +7165,7 @@ function createFieldGroupAccess(_ref12) {
|
|
|
7138
7165
|
groupName = _ref12$groupName === void 0 ? isRequired() : _ref12$groupName,
|
|
7139
7166
|
_ref12$metadataFieldA = _ref12.metadataFieldAccessControlDocument,
|
|
7140
7167
|
metadataFieldAccessControlDocument = _ref12$metadataFieldA === void 0 ? isRequired() : _ref12$metadataFieldA,
|
|
7141
|
-
props = _objectWithoutProperties__default["default"](_ref12, _excluded11$
|
|
7168
|
+
props = _objectWithoutProperties__default["default"](_ref12, _excluded11$c);
|
|
7142
7169
|
|
|
7143
7170
|
var path = "/API/metadata-field/field-group/".concat(groupName, "/access");
|
|
7144
7171
|
return vFetch(_objectSpread$H({
|
|
@@ -7247,7 +7274,7 @@ var _excluded$F = ["storageId"],
|
|
|
7247
7274
|
_excluded8$e = ["fileId", "metadataDocument"],
|
|
7248
7275
|
_excluded9$e = ["storageId", "metadataDocument"],
|
|
7249
7276
|
_excluded10$c = ["storageId", "metadataDocument"],
|
|
7250
|
-
_excluded11$
|
|
7277
|
+
_excluded11$b = ["fileId", "targetStorageId"],
|
|
7251
7278
|
_excluded12$9 = ["fileId"],
|
|
7252
7279
|
_excluded13$9 = ["storageId", "fileDocument"],
|
|
7253
7280
|
_excluded14$9 = ["fileId"],
|
|
@@ -7595,7 +7622,7 @@ function createFileMove(_ref13) {
|
|
|
7595
7622
|
fileId = _ref13$fileId === void 0 ? isRequired() : _ref13$fileId,
|
|
7596
7623
|
_ref13$targetStorageI = _ref13.targetStorageId,
|
|
7597
7624
|
targetStorageId = _ref13$targetStorageI === void 0 ? isRequired() : _ref13$targetStorageI,
|
|
7598
|
-
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$
|
|
7625
|
+
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$b);
|
|
7599
7626
|
|
|
7600
7627
|
var path = "/API/storage/file/".concat(fileId, "/storage/").concat(targetStorageId, "/");
|
|
7601
7628
|
return vFetch(_objectSpread$G({
|
|
@@ -8033,7 +8060,7 @@ var _excluded$D = ["groupName"],
|
|
|
8033
8060
|
_excluded8$d = ["groupName", "headers"],
|
|
8034
8061
|
_excluded9$d = ["groupName", "headers"],
|
|
8035
8062
|
_excluded10$b = ["groupName", "childGroupName"],
|
|
8036
|
-
_excluded11$
|
|
8063
|
+
_excluded11$a = ["groupName", "childGroupName"],
|
|
8037
8064
|
_excluded12$8 = ["groupName", "headers"],
|
|
8038
8065
|
_excluded13$8 = ["groupName", "userName"],
|
|
8039
8066
|
_excluded14$8 = ["groupName", "userName"];
|
|
@@ -8374,7 +8401,7 @@ function removeGroupChildren(_ref13) {
|
|
|
8374
8401
|
groupName = _ref13$groupName === void 0 ? isRequired() : _ref13$groupName,
|
|
8375
8402
|
_ref13$childGroupName = _ref13.childGroupName,
|
|
8376
8403
|
childGroupName = _ref13$childGroupName === void 0 ? isRequired() : _ref13$childGroupName,
|
|
8377
|
-
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$
|
|
8404
|
+
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$a);
|
|
8378
8405
|
|
|
8379
8406
|
var path = "/API/group/".concat(groupName, "/group/").concat(childGroupName);
|
|
8380
8407
|
return vFetch(_objectSpread$E({
|
|
@@ -8494,7 +8521,7 @@ var _excluded$C = ["metadataDocument"],
|
|
|
8494
8521
|
_excluded8$c = ["itemId", "component", "file", "headers"],
|
|
8495
8522
|
_excluded9$c = ["itemId", "component", "file", "headers"],
|
|
8496
8523
|
_excluded10$a = ["itemId", "placeholderImportRequestDocument"],
|
|
8497
|
-
_excluded11$
|
|
8524
|
+
_excluded11$9 = ["itemId"],
|
|
8498
8525
|
_excluded12$7 = ["itemId", "component", "fileId"],
|
|
8499
8526
|
_excluded13$7 = ["itemId"],
|
|
8500
8527
|
_excluded14$7 = ["itemId", "file", "headers"];
|
|
@@ -8821,7 +8848,7 @@ function createImportItem(_ref11) {
|
|
|
8821
8848
|
function createImportItemPasskey(_ref12) {
|
|
8822
8849
|
var _ref12$itemId = _ref12.itemId,
|
|
8823
8850
|
itemId = _ref12$itemId === void 0 ? isRequired() : _ref12$itemId,
|
|
8824
|
-
props = _objectWithoutProperties__default["default"](_ref12, _excluded11$
|
|
8851
|
+
props = _objectWithoutProperties__default["default"](_ref12, _excluded11$9);
|
|
8825
8852
|
|
|
8826
8853
|
var path = "/API/import/placeholder/".concat(itemId, "/raw-passkey/");
|
|
8827
8854
|
return vFetch(_objectSpread$D({
|
|
@@ -9139,7 +9166,7 @@ var _excluded$A = ["itemId"],
|
|
|
9139
9166
|
_excluded8$b = ["itemId"],
|
|
9140
9167
|
_excluded9$b = ["itemId"],
|
|
9141
9168
|
_excluded10$9 = ["itemId"],
|
|
9142
|
-
_excluded11$
|
|
9169
|
+
_excluded11$8 = ["itemId"],
|
|
9143
9170
|
_excluded12$6 = ["itemId", "relationItemId"],
|
|
9144
9171
|
_excluded13$6 = ["itemRelationListDocument"],
|
|
9145
9172
|
_excluded14$6 = ["itemId", "relationItemId"],
|
|
@@ -9464,7 +9491,7 @@ function createExportImp(_ref12) {
|
|
|
9464
9491
|
function listItemRelation(_ref13) {
|
|
9465
9492
|
var _ref13$itemId = _ref13.itemId,
|
|
9466
9493
|
itemId = _ref13$itemId === void 0 ? isRequired() : _ref13$itemId,
|
|
9467
|
-
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$
|
|
9494
|
+
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$8);
|
|
9468
9495
|
|
|
9469
9496
|
var path = "/API/item/".concat(itemId, "/relation");
|
|
9470
9497
|
return vFetch(_objectSpread$B({
|
|
@@ -10771,7 +10798,8 @@ var _excluded$w = ["itemListDocument"],
|
|
|
10771
10798
|
_excluded7$a = ["libraryId", "metadataDocument"],
|
|
10772
10799
|
_excluded8$9 = ["libraryId"],
|
|
10773
10800
|
_excluded9$9 = ["libraryId", "librarySettingsDocument"],
|
|
10774
|
-
_excluded10$7 = ["libraryId"]
|
|
10801
|
+
_excluded10$7 = ["libraryId"],
|
|
10802
|
+
_excluded11$7 = ["libraryId", "queryParams"];
|
|
10775
10803
|
|
|
10776
10804
|
function ownKeys$x(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10777
10805
|
|
|
@@ -11063,6 +11091,31 @@ function getLibraryBatch(_ref12) {
|
|
|
11063
11091
|
method: 'POST'
|
|
11064
11092
|
}, props));
|
|
11065
11093
|
}
|
|
11094
|
+
/**
|
|
11095
|
+
* {@link https://apidoc.vidispine.com/latest/ref/item/export.html?#start-an-export-job-for-a-collection-or-a-library APIdoc}
|
|
11096
|
+
*
|
|
11097
|
+
* @function library.exportCollection
|
|
11098
|
+
* @param {Object} obj
|
|
11099
|
+
* @param {string} obj.libraryId
|
|
11100
|
+
* @param {string} obj.queryParams
|
|
11101
|
+
* @returns {Promise<Object>}
|
|
11102
|
+
*/
|
|
11103
|
+
|
|
11104
|
+
|
|
11105
|
+
function exportLibrary(_ref13) {
|
|
11106
|
+
var _ref13$libraryId = _ref13.libraryId,
|
|
11107
|
+
libraryId = _ref13$libraryId === void 0 ? isRequired() : _ref13$libraryId,
|
|
11108
|
+
_ref13$queryParams = _ref13.queryParams,
|
|
11109
|
+
queryParams = _ref13$queryParams === void 0 ? isRequired() : _ref13$queryParams,
|
|
11110
|
+
props = _objectWithoutProperties__default["default"](_ref13, _excluded11$7);
|
|
11111
|
+
|
|
11112
|
+
var path = "/API/library/".concat(libraryId, "/export");
|
|
11113
|
+
return vFetch(_objectSpread$x({
|
|
11114
|
+
path: path,
|
|
11115
|
+
method: 'POST',
|
|
11116
|
+
queryParams: queryParams
|
|
11117
|
+
}, props));
|
|
11118
|
+
}
|
|
11066
11119
|
|
|
11067
11120
|
var library = {
|
|
11068
11121
|
listLibrary: listLibrary,
|
|
@@ -11076,7 +11129,8 @@ var library = {
|
|
|
11076
11129
|
updateLibraryItemMetadata: updateLibraryItemMetadata,
|
|
11077
11130
|
getLibrarySettings: getLibrarySettings,
|
|
11078
11131
|
updateLibrarySettings: updateLibrarySettings,
|
|
11079
|
-
getLibraryBatch: getLibraryBatch
|
|
11132
|
+
getLibraryBatch: getLibraryBatch,
|
|
11133
|
+
exportLibrary: exportLibrary
|
|
11080
11134
|
};
|
|
11081
11135
|
|
|
11082
11136
|
var _excluded$v = ["file", "headers"];
|