@salesforce/lds-adapters-cms-authoring 1.351.1 → 1.352.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/es/es2018/cms-authoring.js +276 -272
- package/dist/es/es2018/types/src/generated/adapters/patchManagedContentSpace.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/adapters/postManagedContentSpace.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/resources/patchConnectCmsSpacesByContentSpaceId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsSpaces.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputRepresentation.d.ts +11 -10
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceUpdateInputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceUpdateInputWrapperRepresentation.d.ts +28 -0
- package/package.json +4 -4
- package/sfdc/index.js +289 -285
- package/src/raml/api.raml +74 -14
|
@@ -94,7 +94,7 @@ function createLink(ref) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
const VERSION$K = "7297fb0dbfe8f664d76179a65037c290";
|
|
97
|
-
function validate$
|
|
97
|
+
function validate$1h(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
98
98
|
const v_error = (() => {
|
|
99
99
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
100
100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -155,7 +155,7 @@ function equals$K(existing, incoming) {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const VERSION$J = "c30d880a3dba684a405d1cf961af2b76";
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1g(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
|
|
159
159
|
const v_error = (() => {
|
|
160
160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
161
161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -164,7 +164,7 @@ function validate$1f(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
164
164
|
const path_contentType = path + '.contentType';
|
|
165
165
|
let obj_contentType_union0 = null;
|
|
166
166
|
const obj_contentType_union0_error = (() => {
|
|
167
|
-
const referencepath_contentTypeValidationError = validate$
|
|
167
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
168
168
|
if (referencepath_contentTypeValidationError !== null) {
|
|
169
169
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
170
170
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -396,7 +396,7 @@ function equals$J(existing, incoming) {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
const VERSION$I = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
399
|
-
function validate$
|
|
399
|
+
function validate$1f(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
400
400
|
const v_error = (() => {
|
|
401
401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
402
402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -423,7 +423,7 @@ function validate$1e(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
423
423
|
}
|
|
424
424
|
const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
|
|
425
425
|
const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
|
|
426
|
-
const referencepath_mcvSnapshotSummaryValidationError = validate$
|
|
426
|
+
const referencepath_mcvSnapshotSummaryValidationError = validate$1g(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
|
|
427
427
|
if (referencepath_mcvSnapshotSummaryValidationError !== null) {
|
|
428
428
|
let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
|
|
429
429
|
message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -577,7 +577,7 @@ function equals$I(existing, incoming) {
|
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
const VERSION$H = "4b75ed6ff448da86412b605f7e775a62";
|
|
580
|
-
function validate$
|
|
580
|
+
function validate$1e(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
581
581
|
const v_error = (() => {
|
|
582
582
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
583
583
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -653,7 +653,7 @@ function equals$H(existing, incoming) {
|
|
|
653
653
|
|
|
654
654
|
const TTL$B = 100;
|
|
655
655
|
const VERSION$G = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
656
|
-
function validate$
|
|
656
|
+
function validate$1d(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
657
657
|
const v_error = (() => {
|
|
658
658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
659
659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -723,7 +723,7 @@ function validate$1c(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
723
723
|
for (let i = 0; i < obj_deploymentItems.length; i++) {
|
|
724
724
|
const obj_deploymentItems_item = obj_deploymentItems[i];
|
|
725
725
|
const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
|
|
726
|
-
const referencepath_deploymentItems_itemValidationError = validate$
|
|
726
|
+
const referencepath_deploymentItems_itemValidationError = validate$1f(obj_deploymentItems_item, path_deploymentItems_item);
|
|
727
727
|
if (referencepath_deploymentItems_itemValidationError !== null) {
|
|
728
728
|
let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
|
|
729
729
|
message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +786,7 @@ function validate$1c(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
786
786
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
787
787
|
let obj_lastModifiedBy_union0 = null;
|
|
788
788
|
const obj_lastModifiedBy_union0_error = (() => {
|
|
789
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
789
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
790
790
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
791
791
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
792
792
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -953,7 +953,7 @@ function equals$G(existing, incoming) {
|
|
|
953
953
|
}
|
|
954
954
|
const ingest$B = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
955
955
|
if (process.env.NODE_ENV !== 'production') {
|
|
956
|
-
const validateError = validate$
|
|
956
|
+
const validateError = validate$1d(input);
|
|
957
957
|
if (validateError !== null) {
|
|
958
958
|
throw validateError;
|
|
959
959
|
}
|
|
@@ -975,7 +975,7 @@ function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
975
975
|
|
|
976
976
|
const TTL$A = 100;
|
|
977
977
|
const VERSION$F = "b2c15aa80814ecd854e68bf635879e35";
|
|
978
|
-
function validate$
|
|
978
|
+
function validate$1c(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
|
|
979
979
|
const v_error = (() => {
|
|
980
980
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
981
981
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1129,7 +1129,7 @@ function equals$F(existing, incoming) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
const ingest$A = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1131
1131
|
if (process.env.NODE_ENV !== 'production') {
|
|
1132
|
-
const validateError = validate$
|
|
1132
|
+
const validateError = validate$1c(input);
|
|
1133
1133
|
if (validateError !== null) {
|
|
1134
1134
|
throw validateError;
|
|
1135
1135
|
}
|
|
@@ -1310,7 +1310,7 @@ const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeploy
|
|
|
1310
1310
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
-
function validate$
|
|
1313
|
+
function validate$1b(obj, path = 'ManagedContentDeploymentInputRepresentation') {
|
|
1314
1314
|
const v_error = (() => {
|
|
1315
1315
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1316
1316
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1440,7 +1440,7 @@ const createResourceParams$L = /*#__PURE__*/ createResourceParams$N(createDeploy
|
|
|
1440
1440
|
function typeCheckConfig$L(untrustedConfig) {
|
|
1441
1441
|
const config = {};
|
|
1442
1442
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1443
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1443
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$1b(untrustedConfig_DeploymentInput);
|
|
1444
1444
|
if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
|
|
1445
1445
|
config.DeploymentInput = untrustedConfig_DeploymentInput;
|
|
1446
1446
|
}
|
|
@@ -1489,7 +1489,7 @@ const createDeploymentAdapterFactory = (luvio) => {
|
|
|
1489
1489
|
};
|
|
1490
1490
|
|
|
1491
1491
|
const VERSION$E = "7e57fd77c4503be9a8822f2603a04df3";
|
|
1492
|
-
function validate$
|
|
1492
|
+
function validate$1a(obj, path = 'ManagedContentJobBodyRepresentation') {
|
|
1493
1493
|
const v_error = (() => {
|
|
1494
1494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1495
1495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1567,7 +1567,7 @@ function equals$E(existing, incoming) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
const VERSION$D = "eba1876bba76cb05d9cbb8a968bd6796";
|
|
1570
|
-
function validate$
|
|
1570
|
+
function validate$19(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
|
|
1571
1571
|
const v_error = (() => {
|
|
1572
1572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1573
1573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1580,7 +1580,7 @@ function validate$18(obj, path = 'ManagedContentJobBodyCollectionRepresentation'
|
|
|
1580
1580
|
for (let i = 0; i < obj_jobBodies.length; i++) {
|
|
1581
1581
|
const obj_jobBodies_item = obj_jobBodies[i];
|
|
1582
1582
|
const path_jobBodies_item = path_jobBodies + '[' + i + ']';
|
|
1583
|
-
const referencepath_jobBodies_itemValidationError = validate$
|
|
1583
|
+
const referencepath_jobBodies_itemValidationError = validate$1a(obj_jobBodies_item, path_jobBodies_item);
|
|
1584
1584
|
if (referencepath_jobBodies_itemValidationError !== null) {
|
|
1585
1585
|
let message = 'Object doesn\'t match ManagedContentJobBodyRepresentation (at "' + path_jobBodies_item + '")\n';
|
|
1586
1586
|
message += referencepath_jobBodies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1622,7 +1622,7 @@ function equals$D(existing, incoming) {
|
|
|
1622
1622
|
|
|
1623
1623
|
const TTL$z = 100;
|
|
1624
1624
|
const VERSION$C = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
1625
|
-
function validate$
|
|
1625
|
+
function validate$18(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
1626
1626
|
const v_error = (() => {
|
|
1627
1627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1628
1628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1631,7 +1631,7 @@ function validate$17(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
|
1631
1631
|
const path_body = path + '.body';
|
|
1632
1632
|
let obj_body_union0 = null;
|
|
1633
1633
|
const obj_body_union0_error = (() => {
|
|
1634
|
-
const referencepath_bodyValidationError = validate$
|
|
1634
|
+
const referencepath_bodyValidationError = validate$19(obj_body, path_body);
|
|
1635
1635
|
if (referencepath_bodyValidationError !== null) {
|
|
1636
1636
|
let message = 'Object doesn\'t match ManagedContentJobBodyCollectionRepresentation (at "' + path_body + '")\n';
|
|
1637
1637
|
message += referencepath_bodyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1848,7 +1848,7 @@ function equals$C(existing, incoming) {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
const ingest$z = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1850
1850
|
if (process.env.NODE_ENV !== 'production') {
|
|
1851
|
-
const validateError = validate$
|
|
1851
|
+
const validateError = validate$18(input);
|
|
1852
1852
|
if (validateError !== null) {
|
|
1853
1853
|
throw validateError;
|
|
1854
1854
|
}
|
|
@@ -1870,7 +1870,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1870
1870
|
|
|
1871
1871
|
const TTL$y = 100;
|
|
1872
1872
|
const VERSION$B = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
1873
|
-
function validate$
|
|
1873
|
+
function validate$17(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
1874
1874
|
const v_error = (() => {
|
|
1875
1875
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1876
1876
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2024,7 +2024,7 @@ function equals$B(existing, incoming) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
const ingest$y = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2026
2026
|
if (process.env.NODE_ENV !== 'production') {
|
|
2027
|
-
const validateError = validate$
|
|
2027
|
+
const validateError = validate$17(input);
|
|
2028
2028
|
if (validateError !== null) {
|
|
2029
2029
|
throw validateError;
|
|
2030
2030
|
}
|
|
@@ -2330,7 +2330,7 @@ const getCMSJobForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getCMS
|
|
|
2330
2330
|
buildCachedSnapshotCachePolicy$p, buildNetworkSnapshotCachePolicy$p);
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
|
-
function validate$
|
|
2333
|
+
function validate$16(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
|
|
2334
2334
|
const v_error = (() => {
|
|
2335
2335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2336
2336
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2420,7 +2420,7 @@ function validate$15(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
|
|
|
2420
2420
|
|
|
2421
2421
|
const TTL$x = 100;
|
|
2422
2422
|
const VERSION$A = "df1370994ae2e57cdebc5f5125930e2d";
|
|
2423
|
-
function validate$
|
|
2423
|
+
function validate$15(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
|
|
2424
2424
|
const v_error = (() => {
|
|
2425
2425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2426
2426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2438,7 +2438,7 @@ function validate$14(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepre
|
|
|
2438
2438
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
2439
2439
|
const obj_folderItems_item = obj_folderItems[i];
|
|
2440
2440
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
2441
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
2441
|
+
const referencepath_folderItems_itemValidationError = validate$16(obj_folderItems_item, path_folderItems_item);
|
|
2442
2442
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
2443
2443
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemV1Representation (at "' + path_folderItems_item + '")\n';
|
|
2444
2444
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2494,7 +2494,7 @@ function equals$A(existing, incoming) {
|
|
|
2494
2494
|
}
|
|
2495
2495
|
const ingest$x = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2496
2496
|
if (process.env.NODE_ENV !== 'production') {
|
|
2497
|
-
const validateError = validate$
|
|
2497
|
+
const validateError = validate$15(input);
|
|
2498
2498
|
if (validateError !== null) {
|
|
2499
2499
|
throw validateError;
|
|
2500
2500
|
}
|
|
@@ -2662,7 +2662,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
|
|
|
2662
2662
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
2663
2663
|
};
|
|
2664
2664
|
|
|
2665
|
-
function validate$
|
|
2665
|
+
function validate$14(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
|
|
2666
2666
|
const v_error = (() => {
|
|
2667
2667
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2668
2668
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2681,7 +2681,7 @@ function validate$13(obj, path = 'ManagedContentCollectionItemTypeSummaryReprese
|
|
|
2681
2681
|
return v_error === undefined ? null : v_error;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
function validate$
|
|
2684
|
+
function validate$13(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
2685
2685
|
const v_error = (() => {
|
|
2686
2686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2687
2687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2702,7 +2702,7 @@ function validate$12(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
const obj_contentType = obj.contentType;
|
|
2704
2704
|
const path_contentType = path + '.contentType';
|
|
2705
|
-
const referencepath_contentTypeValidationError = validate$
|
|
2705
|
+
const referencepath_contentTypeValidationError = validate$14(obj_contentType, path_contentType);
|
|
2706
2706
|
if (referencepath_contentTypeValidationError !== null) {
|
|
2707
2707
|
let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
2708
2708
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2724,7 +2724,7 @@ function validate$12(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2724
2724
|
|
|
2725
2725
|
const TTL$w = 100;
|
|
2726
2726
|
const VERSION$z = "04fc59c4443f12c021c76e1603338c85";
|
|
2727
|
-
function validate$
|
|
2727
|
+
function validate$12(obj, path = 'ManagedContentCollectionDetailRepresentation') {
|
|
2728
2728
|
const v_error = (() => {
|
|
2729
2729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2730
2730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2736,7 +2736,7 @@ function validate$11(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
2736
2736
|
}
|
|
2737
2737
|
const obj_collectionType = obj.collectionType;
|
|
2738
2738
|
const path_collectionType = path + '.collectionType';
|
|
2739
|
-
const referencepath_collectionTypeValidationError = validate$
|
|
2739
|
+
const referencepath_collectionTypeValidationError = validate$1h(obj_collectionType, path_collectionType);
|
|
2740
2740
|
if (referencepath_collectionTypeValidationError !== null) {
|
|
2741
2741
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
|
|
2742
2742
|
message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2765,7 +2765,7 @@ function validate$11(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
2765
2765
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2766
2766
|
const obj_items_item = obj_items[i];
|
|
2767
2767
|
const path_items_item = path_items + '[' + i + ']';
|
|
2768
|
-
const referencepath_items_itemValidationError = validate$
|
|
2768
|
+
const referencepath_items_itemValidationError = validate$13(obj_items_item, path_items_item);
|
|
2769
2769
|
if (referencepath_items_itemValidationError !== null) {
|
|
2770
2770
|
let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
|
|
2771
2771
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2836,7 +2836,7 @@ function equals$z(existing, incoming) {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
const ingest$w = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2838
2838
|
if (process.env.NODE_ENV !== 'production') {
|
|
2839
|
-
const validateError = validate$
|
|
2839
|
+
const validateError = validate$12(input);
|
|
2840
2840
|
if (validateError !== null) {
|
|
2841
2841
|
throw validateError;
|
|
2842
2842
|
}
|
|
@@ -3000,7 +3000,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
|
|
|
3000
3000
|
};
|
|
3001
3001
|
|
|
3002
3002
|
const VERSION$y = "1a16e1314a2482d9aa8e0da45957846e";
|
|
3003
|
-
function validate$
|
|
3003
|
+
function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
3004
3004
|
const v_error = (() => {
|
|
3005
3005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3006
3006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3079,7 +3079,7 @@ function equals$y(existing, incoming) {
|
|
|
3079
3079
|
|
|
3080
3080
|
const TTL$v = 120000;
|
|
3081
3081
|
const VERSION$x = "cd77a988fa54277e0b7b7288f4c3f843";
|
|
3082
|
-
function validate
|
|
3082
|
+
function validate$10(obj, path = 'ManagedContentProviderCollectionRepresentation') {
|
|
3083
3083
|
const v_error = (() => {
|
|
3084
3084
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3085
3085
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3144,7 +3144,7 @@ function validate$$(obj, path = 'ManagedContentProviderCollectionRepresentation'
|
|
|
3144
3144
|
for (let i = 0; i < obj_providers.length; i++) {
|
|
3145
3145
|
const obj_providers_item = obj_providers[i];
|
|
3146
3146
|
const path_providers_item = path_providers + '[' + i + ']';
|
|
3147
|
-
const referencepath_providers_itemValidationError = validate$
|
|
3147
|
+
const referencepath_providers_itemValidationError = validate$11(obj_providers_item, path_providers_item);
|
|
3148
3148
|
if (referencepath_providers_itemValidationError !== null) {
|
|
3149
3149
|
let message = 'Object doesn\'t match ManagedContentProviderRepresentation (at "' + path_providers_item + '")\n';
|
|
3150
3150
|
message += referencepath_providers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3221,7 +3221,7 @@ function equals$x(existing, incoming) {
|
|
|
3221
3221
|
}
|
|
3222
3222
|
const ingest$v = function ManagedContentProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3223
3223
|
if (process.env.NODE_ENV !== 'production') {
|
|
3224
|
-
const validateError = validate
|
|
3224
|
+
const validateError = validate$10(input);
|
|
3225
3225
|
if (validateError !== null) {
|
|
3226
3226
|
throw validateError;
|
|
3227
3227
|
}
|
|
@@ -3376,7 +3376,7 @@ const getManagedContentProvidersAdapterFactory = (luvio) => function CMSAuthorin
|
|
|
3376
3376
|
buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
|
|
3377
3377
|
};
|
|
3378
3378
|
|
|
3379
|
-
function validate
|
|
3379
|
+
function validate$$(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
3380
3380
|
const v_error = (() => {
|
|
3381
3381
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3382
3382
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3448,7 +3448,7 @@ function validate$_(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
|
3448
3448
|
|
|
3449
3449
|
const TTL$u = 100;
|
|
3450
3450
|
const VERSION$w = "52e643b998d6763482c6d74542b38408";
|
|
3451
|
-
function validate$
|
|
3451
|
+
function validate$_(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
3452
3452
|
const v_error = (() => {
|
|
3453
3453
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3454
3454
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3634,7 +3634,7 @@ function equals$w(existing, incoming) {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
const ingest$u = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3636
3636
|
if (process.env.NODE_ENV !== 'production') {
|
|
3637
|
-
const validateError = validate$
|
|
3637
|
+
const validateError = validate$_(input);
|
|
3638
3638
|
if (validateError !== null) {
|
|
3639
3639
|
throw validateError;
|
|
3640
3640
|
}
|
|
@@ -3702,7 +3702,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
3702
3702
|
const config = {};
|
|
3703
3703
|
typeCheckConfig$N(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
|
|
3704
3704
|
const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
|
|
3705
|
-
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate
|
|
3705
|
+
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$$(untrustedConfig_translationV2Request);
|
|
3706
3706
|
if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
|
|
3707
3707
|
config.translationV2Request = untrustedConfig_translationV2Request;
|
|
3708
3708
|
}
|
|
@@ -3750,7 +3750,7 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
|
|
|
3750
3750
|
};
|
|
3751
3751
|
};
|
|
3752
3752
|
|
|
3753
|
-
function validate$
|
|
3753
|
+
function validate$Z(obj, path = 'ManagedContentInputRepresentation') {
|
|
3754
3754
|
const v_error = (() => {
|
|
3755
3755
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3756
3756
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3797,7 +3797,7 @@ function validate$Y(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
3797
3797
|
return v_error === undefined ? null : v_error;
|
|
3798
3798
|
}
|
|
3799
3799
|
|
|
3800
|
-
function validate$
|
|
3800
|
+
function validate$Y(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
3801
3801
|
const v_error = (() => {
|
|
3802
3802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3803
3803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3816,7 +3816,7 @@ function validate$X(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
|
3816
3816
|
return v_error === undefined ? null : v_error;
|
|
3817
3817
|
}
|
|
3818
3818
|
|
|
3819
|
-
function validate$
|
|
3819
|
+
function validate$X(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
3820
3820
|
const v_error = (() => {
|
|
3821
3821
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3822
3822
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3835,7 +3835,7 @@ function validate$W(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
|
3835
3835
|
return v_error === undefined ? null : v_error;
|
|
3836
3836
|
}
|
|
3837
3837
|
|
|
3838
|
-
function validate$
|
|
3838
|
+
function validate$W(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
3839
3839
|
const v_error = (() => {
|
|
3840
3840
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3841
3841
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3856,7 +3856,7 @@ function validate$V(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
|
3856
3856
|
|
|
3857
3857
|
const TTL$t = 100;
|
|
3858
3858
|
const VERSION$v = "32da7ab9bec2902e7f2b1d1e9aa618f1";
|
|
3859
|
-
function validate$
|
|
3859
|
+
function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
3860
3860
|
const v_error = (() => {
|
|
3861
3861
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3862
3862
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3910,7 +3910,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3910
3910
|
}
|
|
3911
3911
|
const obj_contentSpace = obj.contentSpace;
|
|
3912
3912
|
const path_contentSpace = path + '.contentSpace';
|
|
3913
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
3913
|
+
const referencepath_contentSpaceValidationError = validate$Y(obj_contentSpace, path_contentSpace);
|
|
3914
3914
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
3915
3915
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
3916
3916
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3918,7 +3918,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3918
3918
|
}
|
|
3919
3919
|
const obj_contentType = obj.contentType;
|
|
3920
3920
|
const path_contentType = path + '.contentType';
|
|
3921
|
-
const referencepath_contentTypeValidationError = validate$
|
|
3921
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
3922
3922
|
if (referencepath_contentTypeValidationError !== null) {
|
|
3923
3923
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
3924
3924
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3926,7 +3926,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3926
3926
|
}
|
|
3927
3927
|
const obj_createdBy = obj.createdBy;
|
|
3928
3928
|
const path_createdBy = path + '.createdBy';
|
|
3929
|
-
const referencepath_createdByValidationError = validate$
|
|
3929
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
3930
3930
|
if (referencepath_createdByValidationError !== null) {
|
|
3931
3931
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
3932
3932
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3939,7 +3939,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3939
3939
|
}
|
|
3940
3940
|
const obj_folder = obj.folder;
|
|
3941
3941
|
const path_folder = path + '.folder';
|
|
3942
|
-
const referencepath_folderValidationError = validate$
|
|
3942
|
+
const referencepath_folderValidationError = validate$X(obj_folder, path_folder);
|
|
3943
3943
|
if (referencepath_folderValidationError !== null) {
|
|
3944
3944
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
3945
3945
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3957,7 +3957,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3957
3957
|
}
|
|
3958
3958
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3959
3959
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3960
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3960
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3961
3961
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3962
3962
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3963
3963
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3988,7 +3988,7 @@ function validate$U(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3988
3988
|
const path_status = path + '.status';
|
|
3989
3989
|
let obj_status_union0 = null;
|
|
3990
3990
|
const obj_status_union0_error = (() => {
|
|
3991
|
-
const referencepath_statusValidationError = validate$
|
|
3991
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
3992
3992
|
if (referencepath_statusValidationError !== null) {
|
|
3993
3993
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
3994
3994
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4089,7 +4089,7 @@ function equals$v(existing, incoming) {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
const ingest$t = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4091
4091
|
if (process.env.NODE_ENV !== 'production') {
|
|
4092
|
-
const validateError = validate$
|
|
4092
|
+
const validateError = validate$V(input);
|
|
4093
4093
|
if (validateError !== null) {
|
|
4094
4094
|
throw validateError;
|
|
4095
4095
|
}
|
|
@@ -4162,7 +4162,7 @@ const createResourceParams$E = /*#__PURE__*/ createResourceParams$N(createManage
|
|
|
4162
4162
|
function typeCheckConfig$E(untrustedConfig) {
|
|
4163
4163
|
const config = {};
|
|
4164
4164
|
const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
|
|
4165
|
-
const referenceManagedContentInputRepresentationValidationError = validate$
|
|
4165
|
+
const referenceManagedContentInputRepresentationValidationError = validate$Z(untrustedConfig_ManagedContentInputParam);
|
|
4166
4166
|
if (referenceManagedContentInputRepresentationValidationError === null) {
|
|
4167
4167
|
config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
|
|
4168
4168
|
}
|
|
@@ -4212,7 +4212,7 @@ const createManagedContentAdapterFactory = (luvio) => {
|
|
|
4212
4212
|
|
|
4213
4213
|
const TTL$s = 100;
|
|
4214
4214
|
const VERSION$u = "789bce2e581ff7969982fbf2ffbfd9a5";
|
|
4215
|
-
function validate$
|
|
4215
|
+
function validate$U(obj, path = 'ManagedContentPublishOutputRepresentation') {
|
|
4216
4216
|
const v_error = (() => {
|
|
4217
4217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4218
4218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4306,7 +4306,7 @@ function equals$u(existing, incoming) {
|
|
|
4306
4306
|
}
|
|
4307
4307
|
const ingest$s = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4308
4308
|
if (process.env.NODE_ENV !== 'production') {
|
|
4309
|
-
const validateError = validate$
|
|
4309
|
+
const validateError = validate$U(input);
|
|
4310
4310
|
if (validateError !== null) {
|
|
4311
4311
|
throw validateError;
|
|
4312
4312
|
}
|
|
@@ -4422,7 +4422,7 @@ const publishManagedContentAdapterFactory = (luvio) => {
|
|
|
4422
4422
|
|
|
4423
4423
|
const TTL$r = 100;
|
|
4424
4424
|
const VERSION$t = "2f473ff12e87a4fc2336695104ab8567";
|
|
4425
|
-
function validate$
|
|
4425
|
+
function validate$T(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
|
|
4426
4426
|
const v_error = (() => {
|
|
4427
4427
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4428
4428
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4516,7 +4516,7 @@ function equals$t(existing, incoming) {
|
|
|
4516
4516
|
}
|
|
4517
4517
|
const ingest$r = function ManagedContentUnpublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4518
4518
|
if (process.env.NODE_ENV !== 'production') {
|
|
4519
|
-
const validateError = validate$
|
|
4519
|
+
const validateError = validate$T(input);
|
|
4520
4520
|
if (validateError !== null) {
|
|
4521
4521
|
throw validateError;
|
|
4522
4522
|
}
|
|
@@ -4628,7 +4628,7 @@ const unpublishManagedContentAdapterFactory = (luvio) => {
|
|
|
4628
4628
|
};
|
|
4629
4629
|
};
|
|
4630
4630
|
|
|
4631
|
-
function validate$
|
|
4631
|
+
function validate$S(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
4632
4632
|
const v_error = (() => {
|
|
4633
4633
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4634
4634
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4677,7 +4677,7 @@ function validate$R(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
|
4677
4677
|
|
|
4678
4678
|
const TTL$q = 3600000;
|
|
4679
4679
|
const VERSION$s = "7752c6a8bb6b113a02bfde83f39e5957";
|
|
4680
|
-
function validate$
|
|
4680
|
+
function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
4681
4681
|
const v_error = (() => {
|
|
4682
4682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4683
4683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4703,7 +4703,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4703
4703
|
}
|
|
4704
4704
|
const obj_contentSpace = obj.contentSpace;
|
|
4705
4705
|
const path_contentSpace = path + '.contentSpace';
|
|
4706
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
4706
|
+
const referencepath_contentSpaceValidationError = validate$Y(obj_contentSpace, path_contentSpace);
|
|
4707
4707
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
4708
4708
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
4709
4709
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4711,7 +4711,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4711
4711
|
}
|
|
4712
4712
|
const obj_contentType = obj.contentType;
|
|
4713
4713
|
const path_contentType = path + '.contentType';
|
|
4714
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4714
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
4715
4715
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4716
4716
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4717
4717
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4719,7 +4719,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4719
4719
|
}
|
|
4720
4720
|
const obj_createdBy = obj.createdBy;
|
|
4721
4721
|
const path_createdBy = path + '.createdBy';
|
|
4722
|
-
const referencepath_createdByValidationError = validate$
|
|
4722
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
4723
4723
|
if (referencepath_createdByValidationError !== null) {
|
|
4724
4724
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
4725
4725
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4732,7 +4732,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4732
4732
|
}
|
|
4733
4733
|
const obj_folder = obj.folder;
|
|
4734
4734
|
const path_folder = path + '.folder';
|
|
4735
|
-
const referencepath_folderValidationError = validate$
|
|
4735
|
+
const referencepath_folderValidationError = validate$X(obj_folder, path_folder);
|
|
4736
4736
|
if (referencepath_folderValidationError !== null) {
|
|
4737
4737
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
4738
4738
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4750,7 +4750,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4750
4750
|
}
|
|
4751
4751
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4752
4752
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4753
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4753
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4754
4754
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4755
4755
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4756
4756
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4778,7 +4778,7 @@ function validate$Q(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4778
4778
|
}
|
|
4779
4779
|
const obj_status = obj.status;
|
|
4780
4780
|
const path_status = path + '.status';
|
|
4781
|
-
const referencepath_statusValidationError = validate$
|
|
4781
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
4782
4782
|
if (referencepath_statusValidationError !== null) {
|
|
4783
4783
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
4784
4784
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4826,7 +4826,7 @@ function equals$s(existing, incoming) {
|
|
|
4826
4826
|
}
|
|
4827
4827
|
const ingest$q = function ManagedContentVariantRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4828
4828
|
if (process.env.NODE_ENV !== 'production') {
|
|
4829
|
-
const validateError = validate$
|
|
4829
|
+
const validateError = validate$R(input);
|
|
4830
4830
|
if (validateError !== null) {
|
|
4831
4831
|
throw validateError;
|
|
4832
4832
|
}
|
|
@@ -4892,7 +4892,7 @@ const createResourceParams$B = /*#__PURE__*/ createResourceParams$N(createManage
|
|
|
4892
4892
|
function typeCheckConfig$B(untrustedConfig) {
|
|
4893
4893
|
const config = {};
|
|
4894
4894
|
const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
|
|
4895
|
-
const referenceManagedContentVariantInputRepresentationValidationError = validate$
|
|
4895
|
+
const referenceManagedContentVariantInputRepresentationValidationError = validate$S(untrustedConfig_managedContentVariantInputParam);
|
|
4896
4896
|
if (referenceManagedContentVariantInputRepresentationValidationError === null) {
|
|
4897
4897
|
config.managedContentVariantInputParam = untrustedConfig_managedContentVariantInputParam;
|
|
4898
4898
|
}
|
|
@@ -5164,7 +5164,7 @@ const getManagedContentVariantAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
5164
5164
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
|
|
5165
5165
|
};
|
|
5166
5166
|
|
|
5167
|
-
function validate$
|
|
5167
|
+
function validate$Q(obj, path = 'ManagedContentVariantUpdateInputRepresentation') {
|
|
5168
5168
|
const v_error = (() => {
|
|
5169
5169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5170
5170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5249,7 +5249,7 @@ function typeCheckConfig$y(untrustedConfig) {
|
|
|
5249
5249
|
const config = {};
|
|
5250
5250
|
typeCheckConfig$N(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
|
|
5251
5251
|
const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
|
|
5252
|
-
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$
|
|
5252
|
+
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$Q(untrustedConfig_ManagedContentVariantInputParam);
|
|
5253
5253
|
if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
|
|
5254
5254
|
config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
|
|
5255
5255
|
}
|
|
@@ -5297,14 +5297,14 @@ const replaceManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
5297
5297
|
};
|
|
5298
5298
|
};
|
|
5299
5299
|
|
|
5300
|
-
function validate$
|
|
5300
|
+
function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
5301
5301
|
const v_error = (() => {
|
|
5302
5302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5303
5303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5304
5304
|
}
|
|
5305
5305
|
const obj_createdBy = obj.createdBy;
|
|
5306
5306
|
const path_createdBy = path + '.createdBy';
|
|
5307
|
-
const referencepath_createdByValidationError = validate$
|
|
5307
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
5308
5308
|
if (referencepath_createdByValidationError !== null) {
|
|
5309
5309
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
5310
5310
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5317,7 +5317,7 @@ function validate$O(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5319
5319
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5320
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5320
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5321
5321
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5322
5322
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5323
5323
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5335,7 +5335,7 @@ function validate$O(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5335
5335
|
}
|
|
5336
5336
|
const obj_status = obj.status;
|
|
5337
5337
|
const path_status = path + '.status';
|
|
5338
|
-
const referencepath_statusValidationError = validate$
|
|
5338
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
5339
5339
|
if (referencepath_statusValidationError !== null) {
|
|
5340
5340
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
5341
5341
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5357,7 +5357,7 @@ function validate$O(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5357
5357
|
|
|
5358
5358
|
const TTL$p = 100;
|
|
5359
5359
|
const VERSION$r = "993f4fe3a5b12699f037079dbe30610b";
|
|
5360
|
-
function validate$
|
|
5360
|
+
function validate$O(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
|
|
5361
5361
|
const v_error = (() => {
|
|
5362
5362
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5363
5363
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5387,7 +5387,7 @@ function validate$N(obj, path = 'ManagedContentVariantVersionCollectionRepresent
|
|
|
5387
5387
|
for (let i = 0; i < obj_versions.length; i++) {
|
|
5388
5388
|
const obj_versions_item = obj_versions[i];
|
|
5389
5389
|
const path_versions_item = path_versions + '[' + i + ']';
|
|
5390
|
-
const referencepath_versions_itemValidationError = validate$
|
|
5390
|
+
const referencepath_versions_itemValidationError = validate$P(obj_versions_item, path_versions_item);
|
|
5391
5391
|
if (referencepath_versions_itemValidationError !== null) {
|
|
5392
5392
|
let message = 'Object doesn\'t match ManagedContentVariantVersionRepresentation (at "' + path_versions_item + '")\n';
|
|
5393
5393
|
message += referencepath_versions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5426,7 +5426,7 @@ function equals$r(existing, incoming) {
|
|
|
5426
5426
|
}
|
|
5427
5427
|
const ingest$p = function ManagedContentVariantVersionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5428
5428
|
if (process.env.NODE_ENV !== 'production') {
|
|
5429
|
-
const validateError = validate$
|
|
5429
|
+
const validateError = validate$O(input);
|
|
5430
5430
|
if (validateError !== null) {
|
|
5431
5431
|
throw validateError;
|
|
5432
5432
|
}
|
|
@@ -5589,7 +5589,7 @@ const getManagedContentVariantVersionsAdapterFactory = (luvio) => function CMSAu
|
|
|
5589
5589
|
buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
|
|
5590
5590
|
};
|
|
5591
5591
|
|
|
5592
|
-
function validate$
|
|
5592
|
+
function validate$N(obj, path = 'ManagedContentWebUrlRedirectInfoInputRepresentation') {
|
|
5593
5593
|
const v_error = (() => {
|
|
5594
5594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5595
5595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5603,7 +5603,7 @@ function validate$M(obj, path = 'ManagedContentWebUrlRedirectInfoInputRepresenta
|
|
|
5603
5603
|
return v_error === undefined ? null : v_error;
|
|
5604
5604
|
}
|
|
5605
5605
|
|
|
5606
|
-
function validate$
|
|
5606
|
+
function validate$M(obj, path = 'ManagedContentAssociatedRecordRepresentation') {
|
|
5607
5607
|
const v_error = (() => {
|
|
5608
5608
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5609
5609
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5622,7 +5622,7 @@ function validate$L(obj, path = 'ManagedContentAssociatedRecordRepresentation')
|
|
|
5622
5622
|
return v_error === undefined ? null : v_error;
|
|
5623
5623
|
}
|
|
5624
5624
|
|
|
5625
|
-
function validate$
|
|
5625
|
+
function validate$L(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresentation') {
|
|
5626
5626
|
const v_error = (() => {
|
|
5627
5627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5628
5628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5657,7 +5657,7 @@ function validate$K(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresent
|
|
|
5657
5657
|
return v_error === undefined ? null : v_error;
|
|
5658
5658
|
}
|
|
5659
5659
|
|
|
5660
|
-
function validate$
|
|
5660
|
+
function validate$K(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
5661
5661
|
const v_error = (() => {
|
|
5662
5662
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5663
5663
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5676,7 +5676,7 @@ function validate$J(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
|
5676
5676
|
return v_error === undefined ? null : v_error;
|
|
5677
5677
|
}
|
|
5678
5678
|
|
|
5679
|
-
function validate$
|
|
5679
|
+
function validate$J(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
5680
5680
|
const v_error = (() => {
|
|
5681
5681
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5682
5682
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5684,7 +5684,7 @@ function validate$I(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
5684
5684
|
if (obj.siteInfo !== undefined) {
|
|
5685
5685
|
const obj_siteInfo = obj.siteInfo;
|
|
5686
5686
|
const path_siteInfo = path + '.siteInfo';
|
|
5687
|
-
const referencepath_siteInfoValidationError = validate$
|
|
5687
|
+
const referencepath_siteInfoValidationError = validate$K(obj_siteInfo, path_siteInfo);
|
|
5688
5688
|
if (referencepath_siteInfoValidationError !== null) {
|
|
5689
5689
|
let message = 'Object doesn\'t match ManagedContentSiteInfoRepresentation (at "' + path_siteInfo + '")\n';
|
|
5690
5690
|
message += referencepath_siteInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5702,7 +5702,7 @@ function validate$I(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
5702
5702
|
|
|
5703
5703
|
const TTL$o = 100;
|
|
5704
5704
|
const VERSION$q = "18db9d7c38416e3034a59bcb15dd1f2b";
|
|
5705
|
-
function validate$
|
|
5705
|
+
function validate$I(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
5706
5706
|
const v_error = (() => {
|
|
5707
5707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5708
5708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5711,7 +5711,7 @@ function validate$H(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5711
5711
|
const path_associatedRecord = path + '.associatedRecord';
|
|
5712
5712
|
let obj_associatedRecord_union0 = null;
|
|
5713
5713
|
const obj_associatedRecord_union0_error = (() => {
|
|
5714
|
-
const referencepath_associatedRecordValidationError = validate$
|
|
5714
|
+
const referencepath_associatedRecordValidationError = validate$M(obj_associatedRecord, path_associatedRecord);
|
|
5715
5715
|
if (referencepath_associatedRecordValidationError !== null) {
|
|
5716
5716
|
let message = 'Object doesn\'t match ManagedContentAssociatedRecordRepresentation (at "' + path_associatedRecord + '")\n';
|
|
5717
5717
|
message += referencepath_associatedRecordValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5748,7 +5748,7 @@ function validate$H(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5748
5748
|
}
|
|
5749
5749
|
const obj_redirectInfo = obj.redirectInfo;
|
|
5750
5750
|
const path_redirectInfo = path + '.redirectInfo';
|
|
5751
|
-
const referencepath_redirectInfoValidationError = validate$
|
|
5751
|
+
const referencepath_redirectInfoValidationError = validate$L(obj_redirectInfo, path_redirectInfo);
|
|
5752
5752
|
if (referencepath_redirectInfoValidationError !== null) {
|
|
5753
5753
|
let message = 'Object doesn\'t match ManagedContentWebUrlRedirectInfoOutputRepresentation (at "' + path_redirectInfo + '")\n';
|
|
5754
5754
|
message += referencepath_redirectInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5772,7 +5772,7 @@ function validate$H(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5772
5772
|
for (let i = 0; i < obj_urls.length; i++) {
|
|
5773
5773
|
const obj_urls_item = obj_urls[i];
|
|
5774
5774
|
const path_urls_item = path_urls + '[' + i + ']';
|
|
5775
|
-
const referencepath_urls_itemValidationError = validate$
|
|
5775
|
+
const referencepath_urls_itemValidationError = validate$J(obj_urls_item, path_urls_item);
|
|
5776
5776
|
if (referencepath_urls_itemValidationError !== null) {
|
|
5777
5777
|
let message = 'Object doesn\'t match ManagedContentWebUrlInfoRepresentation (at "' + path_urls_item + '")\n';
|
|
5778
5778
|
message += referencepath_urls_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5811,7 +5811,7 @@ function equals$q(existing, incoming) {
|
|
|
5811
5811
|
}
|
|
5812
5812
|
const ingest$o = function ManagedContentWebUrlRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5813
5813
|
if (process.env.NODE_ENV !== 'production') {
|
|
5814
|
-
const validateError = validate$
|
|
5814
|
+
const validateError = validate$I(input);
|
|
5815
5815
|
if (validateError !== null) {
|
|
5816
5816
|
throw validateError;
|
|
5817
5817
|
}
|
|
@@ -5882,7 +5882,7 @@ function typeCheckConfig$w(untrustedConfig) {
|
|
|
5882
5882
|
const config = {};
|
|
5883
5883
|
typeCheckConfig$N(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
|
|
5884
5884
|
const untrustedConfig_redirectInfo = untrustedConfig.redirectInfo;
|
|
5885
|
-
const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$
|
|
5885
|
+
const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$N(untrustedConfig_redirectInfo);
|
|
5886
5886
|
if (referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError === null) {
|
|
5887
5887
|
config.redirectInfo = untrustedConfig_redirectInfo;
|
|
5888
5888
|
}
|
|
@@ -6126,7 +6126,7 @@ const getManagedContentAdapterFactory = (luvio) => function CMSAuthoring__getMan
|
|
|
6126
6126
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
6127
6127
|
};
|
|
6128
6128
|
|
|
6129
|
-
function validate$
|
|
6129
|
+
function validate$H(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
6130
6130
|
const v_error = (() => {
|
|
6131
6131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6132
6132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6145,7 +6145,7 @@ function validate$G(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
|
6145
6145
|
return v_error === undefined ? null : v_error;
|
|
6146
6146
|
}
|
|
6147
6147
|
|
|
6148
|
-
function validate$
|
|
6148
|
+
function validate$G(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
6149
6149
|
const v_error = (() => {
|
|
6150
6150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6151
6151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6169,7 +6169,7 @@ function validate$F(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
|
6169
6169
|
return v_error === undefined ? null : v_error;
|
|
6170
6170
|
}
|
|
6171
6171
|
|
|
6172
|
-
function validate$
|
|
6172
|
+
function validate$F(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
6173
6173
|
const v_error = (() => {
|
|
6174
6174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6175
6175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6216,7 +6216,7 @@ function validate$E(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
6216
6216
|
|
|
6217
6217
|
const TTL$n = 100;
|
|
6218
6218
|
const VERSION$p = "7066162a0da609712a7a7b3fa365ed68";
|
|
6219
|
-
function validate$
|
|
6219
|
+
function validate$E(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
6220
6220
|
const v_error = (() => {
|
|
6221
6221
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6222
6222
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6251,7 +6251,7 @@ function validate$D(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6251
6251
|
}
|
|
6252
6252
|
const obj_cloneStatus = obj.cloneStatus;
|
|
6253
6253
|
const path_cloneStatus = path + '.cloneStatus';
|
|
6254
|
-
const referencepath_cloneStatusValidationError = validate$
|
|
6254
|
+
const referencepath_cloneStatusValidationError = validate$H(obj_cloneStatus, path_cloneStatus);
|
|
6255
6255
|
if (referencepath_cloneStatusValidationError !== null) {
|
|
6256
6256
|
let message = 'Object doesn\'t match ManagedContentCloneStatusRepresentation (at "' + path_cloneStatus + '")\n';
|
|
6257
6257
|
message += referencepath_cloneStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6298,7 +6298,7 @@ function validate$D(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6298
6298
|
for (let i = 0; i < obj_failedVariants.length; i++) {
|
|
6299
6299
|
const obj_failedVariants_item = obj_failedVariants[i];
|
|
6300
6300
|
const path_failedVariants_item = path_failedVariants + '[' + i + ']';
|
|
6301
|
-
const referencepath_failedVariants_itemValidationError = validate$
|
|
6301
|
+
const referencepath_failedVariants_itemValidationError = validate$G(obj_failedVariants_item, path_failedVariants_item);
|
|
6302
6302
|
if (referencepath_failedVariants_itemValidationError !== null) {
|
|
6303
6303
|
let message = 'Object doesn\'t match ManagedContentFailedVariantsRepresentation (at "' + path_failedVariants_item + '")\n';
|
|
6304
6304
|
message += referencepath_failedVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6308,7 +6308,7 @@ function validate$D(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6308
6308
|
if (obj.folder !== undefined) {
|
|
6309
6309
|
const obj_folder = obj.folder;
|
|
6310
6310
|
const path_folder = path + '.folder';
|
|
6311
|
-
const referencepath_folderValidationError = validate$
|
|
6311
|
+
const referencepath_folderValidationError = validate$X(obj_folder, path_folder);
|
|
6312
6312
|
if (referencepath_folderValidationError !== null) {
|
|
6313
6313
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
6314
6314
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6412,7 +6412,7 @@ function validate$D(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6412
6412
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
6413
6413
|
const obj_variants_item = obj_variants[i];
|
|
6414
6414
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
6415
|
-
const referencepath_variants_itemValidationError = validate$
|
|
6415
|
+
const referencepath_variants_itemValidationError = validate$F(obj_variants_item, path_variants_item);
|
|
6416
6416
|
if (referencepath_variants_itemValidationError !== null) {
|
|
6417
6417
|
let message = 'Object doesn\'t match ManagedContentClonedVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
6418
6418
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6451,7 +6451,7 @@ function equals$p(existing, incoming) {
|
|
|
6451
6451
|
}
|
|
6452
6452
|
const ingest$n = function ManagedContentDocumentCloneRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6453
6453
|
if (process.env.NODE_ENV !== 'production') {
|
|
6454
|
-
const validateError = validate$
|
|
6454
|
+
const validateError = validate$E(input);
|
|
6455
6455
|
if (validateError !== null) {
|
|
6456
6456
|
throw validateError;
|
|
6457
6457
|
}
|
|
@@ -6567,7 +6567,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
6567
6567
|
|
|
6568
6568
|
const TTL$m = 1000;
|
|
6569
6569
|
const VERSION$o = "98edee4f058ced93570a7b0ce2293672";
|
|
6570
|
-
function validate$
|
|
6570
|
+
function validate$D(obj, path = 'ManagedContentRenditionRepresentation') {
|
|
6571
6571
|
const v_error = (() => {
|
|
6572
6572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6573
6573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6638,7 +6638,7 @@ function equals$o(existing, incoming) {
|
|
|
6638
6638
|
}
|
|
6639
6639
|
const ingest$m = function ManagedContentRenditionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6640
6640
|
if (process.env.NODE_ENV !== 'production') {
|
|
6641
|
-
const validateError = validate$
|
|
6641
|
+
const validateError = validate$D(input);
|
|
6642
6642
|
if (validateError !== null) {
|
|
6643
6643
|
throw validateError;
|
|
6644
6644
|
}
|
|
@@ -6800,7 +6800,7 @@ const getManagedContentVariantRenditionAdapterFactory = (luvio) => function CMSA
|
|
|
6800
6800
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
6801
6801
|
};
|
|
6802
6802
|
|
|
6803
|
-
function validate$
|
|
6803
|
+
function validate$C(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentation') {
|
|
6804
6804
|
const v_error = (() => {
|
|
6805
6805
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6806
6806
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6821,7 +6821,7 @@ function validate$B(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentatio
|
|
|
6821
6821
|
|
|
6822
6822
|
const TTL$l = 100;
|
|
6823
6823
|
const VERSION$n = "861a01549e9c8877564cf9109fe8af72";
|
|
6824
|
-
function validate$
|
|
6824
|
+
function validate$B(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
6825
6825
|
const v_error = (() => {
|
|
6826
6826
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6827
6827
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6833,7 +6833,7 @@ function validate$A(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
6833
6833
|
}
|
|
6834
6834
|
const obj_taxonomyFragment = obj.taxonomyFragment;
|
|
6835
6835
|
const path_taxonomyFragment = path + '.taxonomyFragment';
|
|
6836
|
-
const referencepath_taxonomyFragmentValidationError = validate$
|
|
6836
|
+
const referencepath_taxonomyFragmentValidationError = validate$C(obj_taxonomyFragment, path_taxonomyFragment);
|
|
6837
6837
|
if (referencepath_taxonomyFragmentValidationError !== null) {
|
|
6838
6838
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_taxonomyFragment + '")\n';
|
|
6839
6839
|
message += referencepath_taxonomyFragmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6847,7 +6847,7 @@ function validate$A(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
6847
6847
|
for (let i = 0; i < obj_termFragments.length; i++) {
|
|
6848
6848
|
const obj_termFragments_item = obj_termFragments[i];
|
|
6849
6849
|
const path_termFragments_item = path_termFragments + '[' + i + ']';
|
|
6850
|
-
const referencepath_termFragments_itemValidationError = validate$
|
|
6850
|
+
const referencepath_termFragments_itemValidationError = validate$C(obj_termFragments_item, path_termFragments_item);
|
|
6851
6851
|
if (referencepath_termFragments_itemValidationError !== null) {
|
|
6852
6852
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_termFragments_item + '")\n';
|
|
6853
6853
|
message += referencepath_termFragments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6877,7 +6877,7 @@ function equals$n(existing, incoming) {
|
|
|
6877
6877
|
}
|
|
6878
6878
|
const ingest$l = function ManagedContentTaxonomyPathRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6879
6879
|
if (process.env.NODE_ENV !== 'production') {
|
|
6880
|
-
const validateError = validate$
|
|
6880
|
+
const validateError = validate$B(input);
|
|
6881
6881
|
if (validateError !== null) {
|
|
6882
6882
|
throw validateError;
|
|
6883
6883
|
}
|
|
@@ -6899,7 +6899,7 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6899
6899
|
|
|
6900
6900
|
const TTL$k = 100;
|
|
6901
6901
|
const VERSION$m = "ac799a7cee04dda27b43cff95ee1aee5";
|
|
6902
|
-
function validate$
|
|
6902
|
+
function validate$A(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
6903
6903
|
const v_error = (() => {
|
|
6904
6904
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6905
6905
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7006,7 +7006,7 @@ function equals$m(existing, incoming) {
|
|
|
7006
7006
|
}
|
|
7007
7007
|
const ingest$k = function ManagedContentTaxonomyTermRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7008
7008
|
if (process.env.NODE_ENV !== 'production') {
|
|
7009
|
-
const validateError = validate$
|
|
7009
|
+
const validateError = validate$A(input);
|
|
7010
7010
|
if (validateError !== null) {
|
|
7011
7011
|
throw validateError;
|
|
7012
7012
|
}
|
|
@@ -7032,7 +7032,7 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7032
7032
|
|
|
7033
7033
|
const TTL$j = 100;
|
|
7034
7034
|
const VERSION$l = "8ab64b2a71caa7cbdb25a65e8081196c";
|
|
7035
|
-
function validate$
|
|
7035
|
+
function validate$z(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentation') {
|
|
7036
7036
|
const v_error = (() => {
|
|
7037
7037
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7038
7038
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7181,7 +7181,7 @@ function equals$l(existing, incoming) {
|
|
|
7181
7181
|
}
|
|
7182
7182
|
const ingest$j = function ManagedContentTaxonomyTermCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7183
7183
|
if (process.env.NODE_ENV !== 'production') {
|
|
7184
|
-
const validateError = validate$
|
|
7184
|
+
const validateError = validate$z(input);
|
|
7185
7185
|
if (validateError !== null) {
|
|
7186
7186
|
throw validateError;
|
|
7187
7187
|
}
|
|
@@ -7440,7 +7440,7 @@ const updateManagedContentTaxonomyTermsAdapterFactory = (luvio) => {
|
|
|
7440
7440
|
|
|
7441
7441
|
const TTL$i = 100;
|
|
7442
7442
|
const VERSION$k = "2671ddf8ce03873a61079e99f376e1b6";
|
|
7443
|
-
function validate$
|
|
7443
|
+
function validate$y(obj, path = 'ManagedContentVariantCollectionRepresentation') {
|
|
7444
7444
|
const v_error = (() => {
|
|
7445
7445
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7446
7446
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7519,7 +7519,7 @@ function validate$x(obj, path = 'ManagedContentVariantCollectionRepresentation')
|
|
|
7519
7519
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
7520
7520
|
const obj_variants_item = obj_variants[i];
|
|
7521
7521
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
7522
|
-
const referencepath_variants_itemValidationError = validate$
|
|
7522
|
+
const referencepath_variants_itemValidationError = validate$R(obj_variants_item, path_variants_item);
|
|
7523
7523
|
if (referencepath_variants_itemValidationError !== null) {
|
|
7524
7524
|
let message = 'Object doesn\'t match ManagedContentVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
7525
7525
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7558,7 +7558,7 @@ function equals$k(existing, incoming) {
|
|
|
7558
7558
|
}
|
|
7559
7559
|
const ingest$i = function ManagedContentVariantCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7560
7560
|
if (process.env.NODE_ENV !== 'production') {
|
|
7561
|
-
const validateError = validate$
|
|
7561
|
+
const validateError = validate$y(input);
|
|
7562
7562
|
if (validateError !== null) {
|
|
7563
7563
|
throw validateError;
|
|
7564
7564
|
}
|
|
@@ -7677,7 +7677,7 @@ const createManagedContentTranslationVariantsAdapterFactory = (luvio) => {
|
|
|
7677
7677
|
|
|
7678
7678
|
const TTL$h = 100;
|
|
7679
7679
|
const VERSION$j = "361f66b21b2d3b6832c42c67fac4f448";
|
|
7680
|
-
function validate$
|
|
7680
|
+
function validate$x(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
7681
7681
|
const v_error = (() => {
|
|
7682
7682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7683
7683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7690,7 +7690,7 @@ function validate$w(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
|
7690
7690
|
for (let i = 0; i < obj_urlAliases.length; i++) {
|
|
7691
7691
|
const obj_urlAliases_item = obj_urlAliases[i];
|
|
7692
7692
|
const path_urlAliases_item = path_urlAliases + '[' + i + ']';
|
|
7693
|
-
const referencepath_urlAliases_itemValidationError = validate$
|
|
7693
|
+
const referencepath_urlAliases_itemValidationError = validate$I(obj_urlAliases_item, path_urlAliases_item);
|
|
7694
7694
|
if (referencepath_urlAliases_itemValidationError !== null) {
|
|
7695
7695
|
let message = 'Object doesn\'t match ManagedContentWebUrlRepresentation (at "' + path_urlAliases_item + '")\n';
|
|
7696
7696
|
message += referencepath_urlAliases_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7720,7 +7720,7 @@ function equals$j(existing, incoming) {
|
|
|
7720
7720
|
}
|
|
7721
7721
|
const ingest$h = function ManagedContentWebUrlsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7722
7722
|
if (process.env.NODE_ENV !== 'production') {
|
|
7723
|
-
const validateError = validate$
|
|
7723
|
+
const validateError = validate$x(input);
|
|
7724
7724
|
if (validateError !== null) {
|
|
7725
7725
|
throw validateError;
|
|
7726
7726
|
}
|
|
@@ -7880,7 +7880,7 @@ const getWebUrlsAdapterFactory = (luvio) => function CMSAuthoring__getWebUrls(un
|
|
|
7880
7880
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
7881
7881
|
};
|
|
7882
7882
|
|
|
7883
|
-
function validate$
|
|
7883
|
+
function validate$w(obj, path = 'AbstractManagedContentReferencedByItemRepresentation') {
|
|
7884
7884
|
const v_error = (() => {
|
|
7885
7885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7886
7886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7890,7 +7890,7 @@ function validate$v(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
7890
7890
|
const path_contentType = path + '.contentType';
|
|
7891
7891
|
let obj_contentType_union0 = null;
|
|
7892
7892
|
const obj_contentType_union0_error = (() => {
|
|
7893
|
-
const referencepath_contentTypeValidationError = validate$
|
|
7893
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
7894
7894
|
if (referencepath_contentTypeValidationError !== null) {
|
|
7895
7895
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
7896
7896
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7993,7 +7993,7 @@ function validate$v(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
7993
7993
|
|
|
7994
7994
|
const TTL$g = 100;
|
|
7995
7995
|
const VERSION$i = "c297f5edbe1b51eadd89e68f176520ba";
|
|
7996
|
-
function validate$
|
|
7996
|
+
function validate$v(obj, path = 'ManagedContentReferencedByCollectionRepresentation') {
|
|
7997
7997
|
const v_error = (() => {
|
|
7998
7998
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7999
7999
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8037,7 +8037,7 @@ function validate$u(obj, path = 'ManagedContentReferencedByCollectionRepresentat
|
|
|
8037
8037
|
for (let i = 0; i < obj_referencedBy.length; i++) {
|
|
8038
8038
|
const obj_referencedBy_item = obj_referencedBy[i];
|
|
8039
8039
|
const path_referencedBy_item = path_referencedBy + '[' + i + ']';
|
|
8040
|
-
const referencepath_referencedBy_itemValidationError = validate$
|
|
8040
|
+
const referencepath_referencedBy_itemValidationError = validate$w(obj_referencedBy_item, path_referencedBy_item);
|
|
8041
8041
|
if (referencepath_referencedBy_itemValidationError !== null) {
|
|
8042
8042
|
let message = 'Object doesn\'t match AbstractManagedContentReferencedByItemRepresentation (at "' + path_referencedBy_item + '")\n';
|
|
8043
8043
|
message += referencepath_referencedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8072,7 +8072,7 @@ function equals$i(existing, incoming) {
|
|
|
8072
8072
|
}
|
|
8073
8073
|
const ingest$g = function ManagedContentReferencedByCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8074
8074
|
if (process.env.NODE_ENV !== 'production') {
|
|
8075
|
-
const validateError = validate$
|
|
8075
|
+
const validateError = validate$v(input);
|
|
8076
8076
|
if (validateError !== null) {
|
|
8077
8077
|
throw validateError;
|
|
8078
8078
|
}
|
|
@@ -8234,7 +8234,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
|
|
|
8234
8234
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
|
|
8235
8235
|
};
|
|
8236
8236
|
|
|
8237
|
-
function validate$
|
|
8237
|
+
function validate$u(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
8238
8238
|
const v_error = (() => {
|
|
8239
8239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8240
8240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8253,7 +8253,7 @@ function validate$t(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
|
8253
8253
|
return v_error === undefined ? null : v_error;
|
|
8254
8254
|
}
|
|
8255
8255
|
|
|
8256
|
-
function validate$
|
|
8256
|
+
function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
|
|
8257
8257
|
const v_error = (() => {
|
|
8258
8258
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8259
8259
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8270,7 +8270,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8270
8270
|
}
|
|
8271
8271
|
const obj_contentType = obj.contentType;
|
|
8272
8272
|
const path_contentType = path + '.contentType';
|
|
8273
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8273
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
8274
8274
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8275
8275
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8276
8276
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8278,7 +8278,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8278
8278
|
}
|
|
8279
8279
|
const obj_createdBy = obj.createdBy;
|
|
8280
8280
|
const path_createdBy = path + '.createdBy';
|
|
8281
|
-
const referencepath_createdByValidationError = validate$
|
|
8281
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
8282
8282
|
if (referencepath_createdByValidationError !== null) {
|
|
8283
8283
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8284
8284
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8296,7 +8296,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8296
8296
|
}
|
|
8297
8297
|
const obj_language = obj.language;
|
|
8298
8298
|
const path_language = path + '.language';
|
|
8299
|
-
const referencepath_languageValidationError = validate$
|
|
8299
|
+
const referencepath_languageValidationError = validate$u(obj_language, path_language);
|
|
8300
8300
|
if (referencepath_languageValidationError !== null) {
|
|
8301
8301
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
8302
8302
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8304,7 +8304,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8304
8304
|
}
|
|
8305
8305
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8306
8306
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8307
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8307
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8308
8308
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8309
8309
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8310
8310
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8337,7 +8337,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8337
8337
|
}
|
|
8338
8338
|
const obj_status = obj.status;
|
|
8339
8339
|
const path_status = path + '.status';
|
|
8340
|
-
const referencepath_statusValidationError = validate$
|
|
8340
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
8341
8341
|
if (referencepath_statusValidationError !== null) {
|
|
8342
8342
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
8343
8343
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8354,7 +8354,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8354
8354
|
|
|
8355
8355
|
const TTL$f = 100;
|
|
8356
8356
|
const VERSION$h = "944ebf1d8e72c74b2d0a208b3dfa8326";
|
|
8357
|
-
function validate$
|
|
8357
|
+
function validate$s(obj, path = 'ManagedContentVariantReferencesCollectionRepresentation') {
|
|
8358
8358
|
const v_error = (() => {
|
|
8359
8359
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8360
8360
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8375,7 +8375,7 @@ function validate$r(obj, path = 'ManagedContentVariantReferencesCollectionRepres
|
|
|
8375
8375
|
for (let i = 0; i < obj_referenceVariants_prop.length; i++) {
|
|
8376
8376
|
const obj_referenceVariants_prop_item = obj_referenceVariants_prop[i];
|
|
8377
8377
|
const path_referenceVariants_prop_item = path_referenceVariants_prop + '[' + i + ']';
|
|
8378
|
-
const referencepath_referenceVariants_prop_itemValidationError = validate$
|
|
8378
|
+
const referencepath_referenceVariants_prop_itemValidationError = validate$t(obj_referenceVariants_prop_item, path_referenceVariants_prop_item);
|
|
8379
8379
|
if (referencepath_referenceVariants_prop_itemValidationError !== null) {
|
|
8380
8380
|
let message = 'Object doesn\'t match ManagedContentVariantReferenceDetailsRepresentation (at "' + path_referenceVariants_prop_item + '")\n';
|
|
8381
8381
|
message += referencepath_referenceVariants_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8406,7 +8406,7 @@ function equals$h(existing, incoming) {
|
|
|
8406
8406
|
}
|
|
8407
8407
|
const ingest$f = function ManagedContentVariantReferencesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8408
8408
|
if (process.env.NODE_ENV !== 'production') {
|
|
8409
|
-
const validateError = validate$
|
|
8409
|
+
const validateError = validate$s(input);
|
|
8410
8410
|
if (validateError !== null) {
|
|
8411
8411
|
throw validateError;
|
|
8412
8412
|
}
|
|
@@ -8567,7 +8567,7 @@ const getManagedContentVariantReferencesAdapterFactory = (luvio) => function CMS
|
|
|
8567
8567
|
|
|
8568
8568
|
const TTL$e = 100;
|
|
8569
8569
|
const VERSION$g = "6cb5e79d281317772f97d55182ce890e";
|
|
8570
|
-
function validate$
|
|
8570
|
+
function validate$r(obj, path = 'ManagedContentSpaceFolderRepresentation') {
|
|
8571
8571
|
const v_error = (() => {
|
|
8572
8572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8573
8573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8640,7 +8640,7 @@ function equals$g(existing, incoming) {
|
|
|
8640
8640
|
}
|
|
8641
8641
|
const ingest$e = function ManagedContentSpaceFolderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8642
8642
|
if (process.env.NODE_ENV !== 'production') {
|
|
8643
|
-
const validateError = validate$
|
|
8643
|
+
const validateError = validate$r(input);
|
|
8644
8644
|
if (validateError !== null) {
|
|
8645
8645
|
throw validateError;
|
|
8646
8646
|
}
|
|
@@ -8753,7 +8753,7 @@ const postManagedContentSpaceFolderAdapterFactory = (luvio) => {
|
|
|
8753
8753
|
|
|
8754
8754
|
const TTL$d = 30000;
|
|
8755
8755
|
const VERSION$f = "19a2e59df42998b6d30d4dee5c5a293b";
|
|
8756
|
-
function validate$
|
|
8756
|
+
function validate$q(obj, path = 'ManagedContentSpaceFolderDetailRepresentation') {
|
|
8757
8757
|
const v_error = (() => {
|
|
8758
8758
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8759
8759
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8776,7 +8776,7 @@ function validate$p(obj, path = 'ManagedContentSpaceFolderDetailRepresentation')
|
|
|
8776
8776
|
for (let i = 0; i < obj_folderHierarchy.length; i++) {
|
|
8777
8777
|
const obj_folderHierarchy_item = obj_folderHierarchy[i];
|
|
8778
8778
|
const path_folderHierarchy_item = path_folderHierarchy + '[' + i + ']';
|
|
8779
|
-
const referencepath_folderHierarchy_itemValidationError = validate$
|
|
8779
|
+
const referencepath_folderHierarchy_itemValidationError = validate$r(obj_folderHierarchy_item, path_folderHierarchy_item);
|
|
8780
8780
|
if (referencepath_folderHierarchy_itemValidationError !== null) {
|
|
8781
8781
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderRepresentation (at "' + path_folderHierarchy_item + '")\n';
|
|
8782
8782
|
message += referencepath_folderHierarchy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8821,7 +8821,7 @@ function equals$f(existing, incoming) {
|
|
|
8821
8821
|
}
|
|
8822
8822
|
const ingest$d = function ManagedContentSpaceFolderDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8823
8823
|
if (process.env.NODE_ENV !== 'production') {
|
|
8824
|
-
const validateError = validate$
|
|
8824
|
+
const validateError = validate$q(input);
|
|
8825
8825
|
if (validateError !== null) {
|
|
8826
8826
|
throw validateError;
|
|
8827
8827
|
}
|
|
@@ -8980,7 +8980,7 @@ const getManagedContentSpaceFolderAdapterFactory = (luvio) => function CMSAuthor
|
|
|
8980
8980
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
|
|
8981
8981
|
};
|
|
8982
8982
|
|
|
8983
|
-
function validate$
|
|
8983
|
+
function validate$p(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
8984
8984
|
const v_error = (() => {
|
|
8985
8985
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8986
8986
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8995,7 +8995,7 @@ function validate$o(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
8995
8995
|
if (obj.contentType !== undefined) {
|
|
8996
8996
|
const obj_contentType = obj.contentType;
|
|
8997
8997
|
const path_contentType = path + '.contentType';
|
|
8998
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8998
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
8999
8999
|
if (referencepath_contentTypeValidationError !== null) {
|
|
9000
9000
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
9001
9001
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9048,7 +9048,7 @@ function validate$o(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9048
9048
|
if (obj.language !== undefined) {
|
|
9049
9049
|
const obj_language = obj.language;
|
|
9050
9050
|
const path_language = path + '.language';
|
|
9051
|
-
const referencepath_languageValidationError = validate$
|
|
9051
|
+
const referencepath_languageValidationError = validate$u(obj_language, path_language);
|
|
9052
9052
|
if (referencepath_languageValidationError !== null) {
|
|
9053
9053
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
9054
9054
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9105,7 +9105,7 @@ function validate$o(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9105
9105
|
|
|
9106
9106
|
const TTL$c = 100;
|
|
9107
9107
|
const VERSION$e = "e85b8f02eca0f2e88859e6f3a061e56b";
|
|
9108
|
-
function validate$
|
|
9108
|
+
function validate$o(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresentation') {
|
|
9109
9109
|
const v_error = (() => {
|
|
9110
9110
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9111
9111
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9123,7 +9123,7 @@ function validate$n(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresen
|
|
|
9123
9123
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
9124
9124
|
const obj_folderItems_item = obj_folderItems[i];
|
|
9125
9125
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
9126
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
9126
|
+
const referencepath_folderItems_itemValidationError = validate$p(obj_folderItems_item, path_folderItems_item);
|
|
9127
9127
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
9128
9128
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemRepresentation (at "' + path_folderItems_item + '")\n';
|
|
9129
9129
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9179,7 +9179,7 @@ function equals$e(existing, incoming) {
|
|
|
9179
9179
|
}
|
|
9180
9180
|
const ingest$c = function ManagedContentSpaceFolderItemCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9181
9181
|
if (process.env.NODE_ENV !== 'production') {
|
|
9182
|
-
const validateError = validate$
|
|
9182
|
+
const validateError = validate$o(input);
|
|
9183
9183
|
if (validateError !== null) {
|
|
9184
9184
|
throw validateError;
|
|
9185
9185
|
}
|
|
@@ -9345,7 +9345,7 @@ const getManagedContentByFolderIdAdapterFactory = (luvio) => function CMSAuthori
|
|
|
9345
9345
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
9346
9346
|
};
|
|
9347
9347
|
|
|
9348
|
-
function validate$
|
|
9348
|
+
function validate$n(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
9349
9349
|
const v_error = (() => {
|
|
9350
9350
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9351
9351
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9371,7 +9371,7 @@ function validate$m(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
|
9371
9371
|
|
|
9372
9372
|
const TTL$b = 1000;
|
|
9373
9373
|
const VERSION$d = "c0ff97bb4eb8268055467aedb9fff9d4";
|
|
9374
|
-
function validate$
|
|
9374
|
+
function validate$m(obj, path = 'MCSFolderShareTargetCollectionRepresentation') {
|
|
9375
9375
|
const v_error = (() => {
|
|
9376
9376
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9377
9377
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9384,7 +9384,7 @@ function validate$l(obj, path = 'MCSFolderShareTargetCollectionRepresentation')
|
|
|
9384
9384
|
for (let i = 0; i < obj_shareTargets.length; i++) {
|
|
9385
9385
|
const obj_shareTargets_item = obj_shareTargets[i];
|
|
9386
9386
|
const path_shareTargets_item = path_shareTargets + '[' + i + ']';
|
|
9387
|
-
const referencepath_shareTargets_itemValidationError = validate$
|
|
9387
|
+
const referencepath_shareTargets_itemValidationError = validate$n(obj_shareTargets_item, path_shareTargets_item);
|
|
9388
9388
|
if (referencepath_shareTargets_itemValidationError !== null) {
|
|
9389
9389
|
let message = 'Object doesn\'t match MCSFolderShareTargetRepresentation (at "' + path_shareTargets_item + '")\n';
|
|
9390
9390
|
message += referencepath_shareTargets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9414,7 +9414,7 @@ function equals$d(existing, incoming) {
|
|
|
9414
9414
|
}
|
|
9415
9415
|
const ingest$b = function MCSFolderShareTargetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9416
9416
|
if (process.env.NODE_ENV !== 'production') {
|
|
9417
|
-
const validateError = validate$
|
|
9417
|
+
const validateError = validate$m(input);
|
|
9418
9418
|
if (validateError !== null) {
|
|
9419
9419
|
throw validateError;
|
|
9420
9420
|
}
|
|
@@ -9572,7 +9572,7 @@ const getMCSFolderShareTargetsAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
9572
9572
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
|
|
9573
9573
|
};
|
|
9574
9574
|
|
|
9575
|
-
function validate$
|
|
9575
|
+
function validate$l(obj, path = 'MCSFolderShareRepresentation') {
|
|
9576
9576
|
const v_error = (() => {
|
|
9577
9577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9578
9578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9605,7 +9605,7 @@ function validate$k(obj, path = 'MCSFolderShareRepresentation') {
|
|
|
9605
9605
|
|
|
9606
9606
|
const TTL$a = 1000;
|
|
9607
9607
|
const VERSION$c = "fd0d4ff311a83d25ce2992ff58ca6d41";
|
|
9608
|
-
function validate$
|
|
9608
|
+
function validate$k(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
9609
9609
|
const v_error = (() => {
|
|
9610
9610
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9611
9611
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9623,7 +9623,7 @@ function validate$j(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
|
9623
9623
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
9624
9624
|
const obj_shares_item = obj_shares[i];
|
|
9625
9625
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
9626
|
-
const referencepath_shares_itemValidationError = validate$
|
|
9626
|
+
const referencepath_shares_itemValidationError = validate$l(obj_shares_item, path_shares_item);
|
|
9627
9627
|
if (referencepath_shares_itemValidationError !== null) {
|
|
9628
9628
|
let message = 'Object doesn\'t match MCSFolderShareRepresentation (at "' + path_shares_item + '")\n';
|
|
9629
9629
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9662,7 +9662,7 @@ function equals$c(existing, incoming) {
|
|
|
9662
9662
|
}
|
|
9663
9663
|
const ingest$a = function MCSFolderShareCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9664
9664
|
if (process.env.NODE_ENV !== 'production') {
|
|
9665
|
-
const validateError = validate$
|
|
9665
|
+
const validateError = validate$k(input);
|
|
9666
9666
|
if (validateError !== null) {
|
|
9667
9667
|
throw validateError;
|
|
9668
9668
|
}
|
|
@@ -9822,7 +9822,7 @@ const getMCSFolderSharesAdapterFactory = (luvio) => function CMSAuthoring__getMC
|
|
|
9822
9822
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
9823
9823
|
};
|
|
9824
9824
|
|
|
9825
|
-
function validate$
|
|
9825
|
+
function validate$j(obj, path = 'MCSFolderShareInputRepresentation') {
|
|
9826
9826
|
const v_error = (() => {
|
|
9827
9827
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9828
9828
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9889,7 +9889,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
9889
9889
|
const untrustedConfig_shareWith_array = [];
|
|
9890
9890
|
for (let i = 0, arrayLength = untrustedConfig_shareWith.length; i < arrayLength; i++) {
|
|
9891
9891
|
const untrustedConfig_shareWith_item = untrustedConfig_shareWith[i];
|
|
9892
|
-
const referenceMCSFolderShareInputRepresentationValidationError = validate$
|
|
9892
|
+
const referenceMCSFolderShareInputRepresentationValidationError = validate$j(untrustedConfig_shareWith_item);
|
|
9893
9893
|
if (referenceMCSFolderShareInputRepresentationValidationError === null) {
|
|
9894
9894
|
untrustedConfig_shareWith_array.push(untrustedConfig_shareWith_item);
|
|
9895
9895
|
}
|
|
@@ -9940,14 +9940,14 @@ const updateMCSFolderSharesAdapterFactory = (luvio) => {
|
|
|
9940
9940
|
};
|
|
9941
9941
|
};
|
|
9942
9942
|
|
|
9943
|
-
function validate$
|
|
9943
|
+
function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentation') {
|
|
9944
9944
|
const v_error = (() => {
|
|
9945
9945
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9946
9946
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9947
9947
|
}
|
|
9948
9948
|
const obj_createdBy = obj.createdBy;
|
|
9949
9949
|
const path_createdBy = path + '.createdBy';
|
|
9950
|
-
const referencepath_createdByValidationError = validate$
|
|
9950
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
9951
9951
|
if (referencepath_createdByValidationError !== null) {
|
|
9952
9952
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
9953
9953
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9960,7 +9960,7 @@ function validate$h(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
9960
9960
|
}
|
|
9961
9961
|
const obj_folder = obj.folder;
|
|
9962
9962
|
const path_folder = path + '.folder';
|
|
9963
|
-
const referencepath_folderValidationError = validate$
|
|
9963
|
+
const referencepath_folderValidationError = validate$X(obj_folder, path_folder);
|
|
9964
9964
|
if (referencepath_folderValidationError !== null) {
|
|
9965
9965
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
9966
9966
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9973,7 +9973,7 @@ function validate$h(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
9973
9973
|
}
|
|
9974
9974
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9975
9975
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9976
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
9976
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
9977
9977
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
9978
9978
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
9979
9979
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10000,7 +10000,7 @@ function validate$h(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10000
10000
|
|
|
10001
10001
|
const TTL$9 = 100;
|
|
10002
10002
|
const VERSION$b = "bbcdc04e5d094f6f8048bc2863d86527";
|
|
10003
|
-
function validate$
|
|
10003
|
+
function validate$h(obj, path = 'ManagedContentSearchResultItemsCollectionRepresentation') {
|
|
10004
10004
|
const v_error = (() => {
|
|
10005
10005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10006
10006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10023,7 +10023,7 @@ function validate$g(obj, path = 'ManagedContentSearchResultItemsCollectionRepres
|
|
|
10023
10023
|
for (let i = 0; i < obj_items.length; i++) {
|
|
10024
10024
|
const obj_items_item = obj_items[i];
|
|
10025
10025
|
const path_items_item = path_items + '[' + i + ']';
|
|
10026
|
-
const referencepath_items_itemValidationError = validate$
|
|
10026
|
+
const referencepath_items_itemValidationError = validate$i(obj_items_item, path_items_item);
|
|
10027
10027
|
if (referencepath_items_itemValidationError !== null) {
|
|
10028
10028
|
let message = 'Object doesn\'t match AbstractManagedContentSearchResultRepresentation (at "' + path_items_item + '")\n';
|
|
10029
10029
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10058,7 +10058,7 @@ function equals$b(existing, incoming) {
|
|
|
10058
10058
|
}
|
|
10059
10059
|
const ingest$9 = function ManagedContentSearchResultItemsCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10060
10060
|
if (process.env.NODE_ENV !== 'production') {
|
|
10061
|
-
const validateError = validate$
|
|
10061
|
+
const validateError = validate$h(input);
|
|
10062
10062
|
if (validateError !== null) {
|
|
10063
10063
|
throw validateError;
|
|
10064
10064
|
}
|
|
@@ -10413,7 +10413,7 @@ const updateDeploymentAdapterFactory = (luvio) => {
|
|
|
10413
10413
|
};
|
|
10414
10414
|
|
|
10415
10415
|
const VERSION$a = "f7501252637637dd58083f1d93351ca5";
|
|
10416
|
-
function validate$
|
|
10416
|
+
function validate$g(obj, path = 'ManagedContentSpaceBaseTypeRepresentation') {
|
|
10417
10417
|
const v_error = (() => {
|
|
10418
10418
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10419
10419
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10470,8 +10470,8 @@ function equals$a(existing, incoming) {
|
|
|
10470
10470
|
}
|
|
10471
10471
|
|
|
10472
10472
|
const TTL$8 = 100;
|
|
10473
|
-
const VERSION$9 = "
|
|
10474
|
-
function validate$
|
|
10473
|
+
const VERSION$9 = "e0277f35413fb8307a45df81656ed066";
|
|
10474
|
+
function validate$f(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
10475
10475
|
const v_error = (() => {
|
|
10476
10476
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10477
10477
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10504,37 +10504,6 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
10504
10504
|
return new TypeError(message);
|
|
10505
10505
|
}
|
|
10506
10506
|
}
|
|
10507
|
-
if (obj.baseType !== undefined) {
|
|
10508
|
-
const obj_baseType = obj.baseType;
|
|
10509
|
-
const path_baseType = path + '.baseType';
|
|
10510
|
-
let obj_baseType_union0 = null;
|
|
10511
|
-
const obj_baseType_union0_error = (() => {
|
|
10512
|
-
const referencepath_baseTypeValidationError = validate$f(obj_baseType, path_baseType);
|
|
10513
|
-
if (referencepath_baseTypeValidationError !== null) {
|
|
10514
|
-
let message = 'Object doesn\'t match ManagedContentSpaceBaseTypeRepresentation (at "' + path_baseType + '")\n';
|
|
10515
|
-
message += referencepath_baseTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10516
|
-
return new TypeError(message);
|
|
10517
|
-
}
|
|
10518
|
-
})();
|
|
10519
|
-
if (obj_baseType_union0_error != null) {
|
|
10520
|
-
obj_baseType_union0 = obj_baseType_union0_error.message;
|
|
10521
|
-
}
|
|
10522
|
-
let obj_baseType_union1 = null;
|
|
10523
|
-
const obj_baseType_union1_error = (() => {
|
|
10524
|
-
if (obj_baseType !== null) {
|
|
10525
|
-
return new TypeError('Expected "null" but received "' + typeof obj_baseType + '" (at "' + path_baseType + '")');
|
|
10526
|
-
}
|
|
10527
|
-
})();
|
|
10528
|
-
if (obj_baseType_union1_error != null) {
|
|
10529
|
-
obj_baseType_union1 = obj_baseType_union1_error.message;
|
|
10530
|
-
}
|
|
10531
|
-
if (obj_baseType_union0 && obj_baseType_union1) {
|
|
10532
|
-
let message = 'Object doesn\'t match union (at "' + path_baseType + '")';
|
|
10533
|
-
message += '\n' + obj_baseType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10534
|
-
message += '\n' + obj_baseType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10535
|
-
return new TypeError(message);
|
|
10536
|
-
}
|
|
10537
|
-
}
|
|
10538
10507
|
const obj_createdBy = obj.createdBy;
|
|
10539
10508
|
const path_createdBy = path + '.createdBy';
|
|
10540
10509
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -10669,6 +10638,37 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
10669
10638
|
if (typeof obj_rootFolderId !== 'string') {
|
|
10670
10639
|
return new TypeError('Expected "string" but received "' + typeof obj_rootFolderId + '" (at "' + path_rootFolderId + '")');
|
|
10671
10640
|
}
|
|
10641
|
+
if (obj.spaceType !== undefined) {
|
|
10642
|
+
const obj_spaceType = obj.spaceType;
|
|
10643
|
+
const path_spaceType = path + '.spaceType';
|
|
10644
|
+
let obj_spaceType_union0 = null;
|
|
10645
|
+
const obj_spaceType_union0_error = (() => {
|
|
10646
|
+
const referencepath_spaceTypeValidationError = validate$g(obj_spaceType, path_spaceType);
|
|
10647
|
+
if (referencepath_spaceTypeValidationError !== null) {
|
|
10648
|
+
let message = 'Object doesn\'t match ManagedContentSpaceBaseTypeRepresentation (at "' + path_spaceType + '")\n';
|
|
10649
|
+
message += referencepath_spaceTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10650
|
+
return new TypeError(message);
|
|
10651
|
+
}
|
|
10652
|
+
})();
|
|
10653
|
+
if (obj_spaceType_union0_error != null) {
|
|
10654
|
+
obj_spaceType_union0 = obj_spaceType_union0_error.message;
|
|
10655
|
+
}
|
|
10656
|
+
let obj_spaceType_union1 = null;
|
|
10657
|
+
const obj_spaceType_union1_error = (() => {
|
|
10658
|
+
if (obj_spaceType !== null) {
|
|
10659
|
+
return new TypeError('Expected "null" but received "' + typeof obj_spaceType + '" (at "' + path_spaceType + '")');
|
|
10660
|
+
}
|
|
10661
|
+
})();
|
|
10662
|
+
if (obj_spaceType_union1_error != null) {
|
|
10663
|
+
obj_spaceType_union1 = obj_spaceType_union1_error.message;
|
|
10664
|
+
}
|
|
10665
|
+
if (obj_spaceType_union0 && obj_spaceType_union1) {
|
|
10666
|
+
let message = 'Object doesn\'t match union (at "' + path_spaceType + '")';
|
|
10667
|
+
message += '\n' + obj_spaceType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10668
|
+
message += '\n' + obj_spaceType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10669
|
+
return new TypeError(message);
|
|
10670
|
+
}
|
|
10671
|
+
}
|
|
10672
10672
|
if (obj.supportedLanguages !== undefined) {
|
|
10673
10673
|
const obj_supportedLanguages = obj.supportedLanguages;
|
|
10674
10674
|
const path_supportedLanguages = path + '.supportedLanguages';
|
|
@@ -10715,7 +10715,7 @@ function equals$9(existing, incoming) {
|
|
|
10715
10715
|
}
|
|
10716
10716
|
const ingest$8 = function ManagedContentSpaceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10717
10717
|
if (process.env.NODE_ENV !== 'production') {
|
|
10718
|
-
const validateError = validate$
|
|
10718
|
+
const validateError = validate$f(input);
|
|
10719
10719
|
if (validateError !== null) {
|
|
10720
10720
|
throw validateError;
|
|
10721
10721
|
}
|
|
@@ -10737,7 +10737,7 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
10737
10737
|
|
|
10738
10738
|
const TTL$7 = 100;
|
|
10739
10739
|
const VERSION$8 = "292efba3a426b62d2af39a38fd3464b0";
|
|
10740
|
-
function validate$
|
|
10740
|
+
function validate$e(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
|
|
10741
10741
|
const v_error = (() => {
|
|
10742
10742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10743
10743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10750,7 +10750,7 @@ function validate$d(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
|
|
|
10750
10750
|
for (let i = 0; i < obj_spaces.length; i++) {
|
|
10751
10751
|
const obj_spaces_item = obj_spaces[i];
|
|
10752
10752
|
const path_spaces_item = path_spaces + '[' + i + ']';
|
|
10753
|
-
const referencepath_spaces_itemValidationError = validate$
|
|
10753
|
+
const referencepath_spaces_itemValidationError = validate$f(obj_spaces_item, path_spaces_item);
|
|
10754
10754
|
if (referencepath_spaces_itemValidationError !== null) {
|
|
10755
10755
|
let message = 'Object doesn\'t match ManagedContentSpaceRepresentation (at "' + path_spaces_item + '")\n';
|
|
10756
10756
|
message += referencepath_spaces_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10780,7 +10780,7 @@ function equals$8(existing, incoming) {
|
|
|
10780
10780
|
}
|
|
10781
10781
|
const ingest$7 = function ManagedContentSpaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10782
10782
|
if (process.env.NODE_ENV !== 'production') {
|
|
10783
|
-
const validateError = validate$
|
|
10783
|
+
const validateError = validate$e(input);
|
|
10784
10784
|
if (validateError !== null) {
|
|
10785
10785
|
throw validateError;
|
|
10786
10786
|
}
|
|
@@ -10940,6 +10940,25 @@ const getManagedContentSpacesAdapterFactory = (luvio) => function CMSAuthoring__
|
|
|
10940
10940
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
10941
10941
|
};
|
|
10942
10942
|
|
|
10943
|
+
function validate$d(obj, path = 'ManagedContentSpaceMemberInputRepresentation') {
|
|
10944
|
+
const v_error = (() => {
|
|
10945
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10946
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10947
|
+
}
|
|
10948
|
+
const obj_memberId = obj.memberId;
|
|
10949
|
+
const path_memberId = path + '.memberId';
|
|
10950
|
+
if (typeof obj_memberId !== 'string') {
|
|
10951
|
+
return new TypeError('Expected "string" but received "' + typeof obj_memberId + '" (at "' + path_memberId + '")');
|
|
10952
|
+
}
|
|
10953
|
+
const obj_roleId = obj.roleId;
|
|
10954
|
+
const path_roleId = path + '.roleId';
|
|
10955
|
+
if (typeof obj_roleId !== 'string') {
|
|
10956
|
+
return new TypeError('Expected "string" but received "' + typeof obj_roleId + '" (at "' + path_roleId + '")');
|
|
10957
|
+
}
|
|
10958
|
+
})();
|
|
10959
|
+
return v_error === undefined ? null : v_error;
|
|
10960
|
+
}
|
|
10961
|
+
|
|
10943
10962
|
function select$k(luvio, params) {
|
|
10944
10963
|
return select$n();
|
|
10945
10964
|
}
|
|
@@ -10980,30 +10999,33 @@ function createResourceRequest$c(config) {
|
|
|
10980
10999
|
const adapterName$c = 'postManagedContentSpace';
|
|
10981
11000
|
const postManagedContentSpace_ConfigPropertyMetadata = [
|
|
10982
11001
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
10983
|
-
generateParamConfigMetadata('
|
|
10984
|
-
generateParamConfigMetadata('
|
|
10985
|
-
generateParamConfigMetadata('collaborators', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11002
|
+
generateParamConfigMetadata('channelsList', false, 2 /* Body */, 0 /* String */, true),
|
|
11003
|
+
generateParamConfigMetadata('collaboratorsList', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
10986
11004
|
generateParamConfigMetadata('defaultLanguage', false, 2 /* Body */, 0 /* String */),
|
|
10987
11005
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
10988
11006
|
generateParamConfigMetadata('isFlowOrchestrationEnabled', false, 2 /* Body */, 1 /* Boolean */),
|
|
10989
11007
|
generateParamConfigMetadata('isSpaceV2', false, 2 /* Body */, 1 /* Boolean */),
|
|
10990
11008
|
generateParamConfigMetadata('isUndeletable', false, 2 /* Body */, 1 /* Boolean */),
|
|
10991
11009
|
generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
|
|
10992
|
-
generateParamConfigMetadata('
|
|
11010
|
+
generateParamConfigMetadata('spaceType', false, 2 /* Body */, 0 /* String */),
|
|
11011
|
+
generateParamConfigMetadata('supportedLanguagesList', false, 2 /* Body */, 0 /* String */, true),
|
|
10993
11012
|
];
|
|
10994
11013
|
const postManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, postManagedContentSpace_ConfigPropertyMetadata);
|
|
10995
11014
|
const createResourceParams$c = /*#__PURE__*/ createResourceParams$N(postManagedContentSpace_ConfigPropertyMetadata);
|
|
10996
11015
|
function typeCheckConfig$c(untrustedConfig) {
|
|
10997
11016
|
const config = {};
|
|
10998
11017
|
typeCheckConfig$N(untrustedConfig, config, postManagedContentSpace_ConfigPropertyMetadata);
|
|
10999
|
-
const
|
|
11000
|
-
if (ArrayIsArray$1(
|
|
11001
|
-
const
|
|
11002
|
-
for (let i = 0, arrayLength =
|
|
11003
|
-
const
|
|
11004
|
-
|
|
11018
|
+
const untrustedConfig_collaboratorsList = untrustedConfig.collaboratorsList;
|
|
11019
|
+
if (ArrayIsArray$1(untrustedConfig_collaboratorsList)) {
|
|
11020
|
+
const untrustedConfig_collaboratorsList_array = [];
|
|
11021
|
+
for (let i = 0, arrayLength = untrustedConfig_collaboratorsList.length; i < arrayLength; i++) {
|
|
11022
|
+
const untrustedConfig_collaboratorsList_item = untrustedConfig_collaboratorsList[i];
|
|
11023
|
+
const referenceManagedContentSpaceMemberInputRepresentationValidationError = validate$d(untrustedConfig_collaboratorsList_item);
|
|
11024
|
+
if (referenceManagedContentSpaceMemberInputRepresentationValidationError === null) {
|
|
11025
|
+
untrustedConfig_collaboratorsList_array.push(untrustedConfig_collaboratorsList_item);
|
|
11026
|
+
}
|
|
11005
11027
|
}
|
|
11006
|
-
config.
|
|
11028
|
+
config.collaboratorsList = untrustedConfig_collaboratorsList_array;
|
|
11007
11029
|
}
|
|
11008
11030
|
return config;
|
|
11009
11031
|
}
|
|
@@ -11189,7 +11211,7 @@ const getManagedContentSpaceAdapterFactory = (luvio) => function CMSAuthoring__g
|
|
|
11189
11211
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
11190
11212
|
};
|
|
11191
11213
|
|
|
11192
|
-
function validate$c(obj, path = '
|
|
11214
|
+
function validate$c(obj, path = 'ManagedContentSpaceUpdateInputRepresentation') {
|
|
11193
11215
|
const v_error = (() => {
|
|
11194
11216
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11195
11217
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11201,48 +11223,37 @@ function validate$c(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
|
11201
11223
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
11202
11224
|
}
|
|
11203
11225
|
}
|
|
11204
|
-
if (obj.
|
|
11205
|
-
const
|
|
11206
|
-
const
|
|
11207
|
-
if (
|
|
11208
|
-
return new TypeError('Expected "
|
|
11209
|
-
}
|
|
11210
|
-
}
|
|
11211
|
-
if (obj.channels !== undefined) {
|
|
11212
|
-
const obj_channels = obj.channels;
|
|
11213
|
-
const path_channels = path + '.channels';
|
|
11214
|
-
if (!ArrayIsArray(obj_channels)) {
|
|
11215
|
-
return new TypeError('Expected "array" but received "' + typeof obj_channels + '" (at "' + path_channels + '")');
|
|
11226
|
+
if (obj.channelsList !== undefined) {
|
|
11227
|
+
const obj_channelsList = obj.channelsList;
|
|
11228
|
+
const path_channelsList = path + '.channelsList';
|
|
11229
|
+
if (!ArrayIsArray(obj_channelsList)) {
|
|
11230
|
+
return new TypeError('Expected "array" but received "' + typeof obj_channelsList + '" (at "' + path_channelsList + '")');
|
|
11216
11231
|
}
|
|
11217
|
-
for (let i = 0; i <
|
|
11218
|
-
const
|
|
11219
|
-
const
|
|
11220
|
-
if (typeof
|
|
11221
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
11232
|
+
for (let i = 0; i < obj_channelsList.length; i++) {
|
|
11233
|
+
const obj_channelsList_item = obj_channelsList[i];
|
|
11234
|
+
const path_channelsList_item = path_channelsList + '[' + i + ']';
|
|
11235
|
+
if (typeof obj_channelsList_item !== 'string') {
|
|
11236
|
+
return new TypeError('Expected "string" but received "' + typeof obj_channelsList_item + '" (at "' + path_channelsList_item + '")');
|
|
11222
11237
|
}
|
|
11223
11238
|
}
|
|
11224
11239
|
}
|
|
11225
|
-
if (obj.
|
|
11226
|
-
const
|
|
11227
|
-
const
|
|
11228
|
-
if (!ArrayIsArray(
|
|
11229
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
11240
|
+
if (obj.collaboratorsList !== undefined) {
|
|
11241
|
+
const obj_collaboratorsList = obj.collaboratorsList;
|
|
11242
|
+
const path_collaboratorsList = path + '.collaboratorsList';
|
|
11243
|
+
if (!ArrayIsArray(obj_collaboratorsList)) {
|
|
11244
|
+
return new TypeError('Expected "array" but received "' + typeof obj_collaboratorsList + '" (at "' + path_collaboratorsList + '")');
|
|
11230
11245
|
}
|
|
11231
|
-
for (let i = 0; i <
|
|
11232
|
-
const
|
|
11233
|
-
const
|
|
11234
|
-
|
|
11235
|
-
|
|
11246
|
+
for (let i = 0; i < obj_collaboratorsList.length; i++) {
|
|
11247
|
+
const obj_collaboratorsList_item = obj_collaboratorsList[i];
|
|
11248
|
+
const path_collaboratorsList_item = path_collaboratorsList + '[' + i + ']';
|
|
11249
|
+
const referencepath_collaboratorsList_itemValidationError = validate$d(obj_collaboratorsList_item, path_collaboratorsList_item);
|
|
11250
|
+
if (referencepath_collaboratorsList_itemValidationError !== null) {
|
|
11251
|
+
let message = 'Object doesn\'t match ManagedContentSpaceMemberInputRepresentation (at "' + path_collaboratorsList_item + '")\n';
|
|
11252
|
+
message += referencepath_collaboratorsList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11253
|
+
return new TypeError(message);
|
|
11236
11254
|
}
|
|
11237
11255
|
}
|
|
11238
11256
|
}
|
|
11239
|
-
if (obj.defaultLanguage !== undefined) {
|
|
11240
|
-
const obj_defaultLanguage = obj.defaultLanguage;
|
|
11241
|
-
const path_defaultLanguage = path + '.defaultLanguage';
|
|
11242
|
-
if (typeof obj_defaultLanguage !== 'string') {
|
|
11243
|
-
return new TypeError('Expected "string" but received "' + typeof obj_defaultLanguage + '" (at "' + path_defaultLanguage + '")');
|
|
11244
|
-
}
|
|
11245
|
-
}
|
|
11246
11257
|
if (obj.description !== undefined) {
|
|
11247
11258
|
const obj_description = obj.description;
|
|
11248
11259
|
const path_description = path + '.description';
|
|
@@ -11264,13 +11275,6 @@ function validate$c(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
|
11264
11275
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSpaceV2 + '" (at "' + path_isSpaceV2 + '")');
|
|
11265
11276
|
}
|
|
11266
11277
|
}
|
|
11267
|
-
if (obj.isUndeletable !== undefined) {
|
|
11268
|
-
const obj_isUndeletable = obj.isUndeletable;
|
|
11269
|
-
const path_isUndeletable = path + '.isUndeletable';
|
|
11270
|
-
if (typeof obj_isUndeletable !== 'boolean') {
|
|
11271
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_isUndeletable + '" (at "' + path_isUndeletable + '")');
|
|
11272
|
-
}
|
|
11273
|
-
}
|
|
11274
11278
|
if (obj.name !== undefined) {
|
|
11275
11279
|
const obj_name = obj.name;
|
|
11276
11280
|
const path_name = path + '.name';
|
|
@@ -11278,17 +11282,17 @@ function validate$c(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
|
11278
11282
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
11279
11283
|
}
|
|
11280
11284
|
}
|
|
11281
|
-
if (obj.
|
|
11282
|
-
const
|
|
11283
|
-
const
|
|
11284
|
-
if (!ArrayIsArray(
|
|
11285
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
11285
|
+
if (obj.supportedLanguagesList !== undefined) {
|
|
11286
|
+
const obj_supportedLanguagesList = obj.supportedLanguagesList;
|
|
11287
|
+
const path_supportedLanguagesList = path + '.supportedLanguagesList';
|
|
11288
|
+
if (!ArrayIsArray(obj_supportedLanguagesList)) {
|
|
11289
|
+
return new TypeError('Expected "array" but received "' + typeof obj_supportedLanguagesList + '" (at "' + path_supportedLanguagesList + '")');
|
|
11286
11290
|
}
|
|
11287
|
-
for (let i = 0; i <
|
|
11288
|
-
const
|
|
11289
|
-
const
|
|
11290
|
-
if (typeof
|
|
11291
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
11291
|
+
for (let i = 0; i < obj_supportedLanguagesList.length; i++) {
|
|
11292
|
+
const obj_supportedLanguagesList_item = obj_supportedLanguagesList[i];
|
|
11293
|
+
const path_supportedLanguagesList_item = path_supportedLanguagesList + '[' + i + ']';
|
|
11294
|
+
if (typeof obj_supportedLanguagesList_item !== 'string') {
|
|
11295
|
+
return new TypeError('Expected "string" but received "' + typeof obj_supportedLanguagesList_item + '" (at "' + path_supportedLanguagesList_item + '")');
|
|
11292
11296
|
}
|
|
11293
11297
|
}
|
|
11294
11298
|
}
|
|
@@ -11336,17 +11340,17 @@ function createResourceRequest$a(config) {
|
|
|
11336
11340
|
const adapterName$a = 'patchManagedContentSpace';
|
|
11337
11341
|
const patchManagedContentSpace_ConfigPropertyMetadata = [
|
|
11338
11342
|
generateParamConfigMetadata('contentSpaceId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
11339
|
-
generateParamConfigMetadata('
|
|
11343
|
+
generateParamConfigMetadata('ManagedContentSpaceUpdateInput', true, 2 /* Body */, 4 /* Unsupported */),
|
|
11340
11344
|
];
|
|
11341
11345
|
const patchManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, patchManagedContentSpace_ConfigPropertyMetadata);
|
|
11342
11346
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$N(patchManagedContentSpace_ConfigPropertyMetadata);
|
|
11343
11347
|
function typeCheckConfig$a(untrustedConfig) {
|
|
11344
11348
|
const config = {};
|
|
11345
11349
|
typeCheckConfig$N(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
|
|
11346
|
-
const
|
|
11347
|
-
const
|
|
11348
|
-
if (
|
|
11349
|
-
config.
|
|
11350
|
+
const untrustedConfig_ManagedContentSpaceUpdateInput = untrustedConfig.ManagedContentSpaceUpdateInput;
|
|
11351
|
+
const referenceManagedContentSpaceUpdateInputRepresentationValidationError = validate$c(untrustedConfig_ManagedContentSpaceUpdateInput);
|
|
11352
|
+
if (referenceManagedContentSpaceUpdateInputRepresentationValidationError === null) {
|
|
11353
|
+
config.ManagedContentSpaceUpdateInput = untrustedConfig_ManagedContentSpaceUpdateInput;
|
|
11350
11354
|
}
|
|
11351
11355
|
return config;
|
|
11352
11356
|
}
|
|
@@ -11448,7 +11452,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11448
11452
|
}
|
|
11449
11453
|
const obj_contentSpace = obj.contentSpace;
|
|
11450
11454
|
const path_contentSpace = path + '.contentSpace';
|
|
11451
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
11455
|
+
const referencepath_contentSpaceValidationError = validate$Y(obj_contentSpace, path_contentSpace);
|
|
11452
11456
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
11453
11457
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
11454
11458
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11456,7 +11460,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11456
11460
|
}
|
|
11457
11461
|
const obj_contentType = obj.contentType;
|
|
11458
11462
|
const path_contentType = path + '.contentType';
|
|
11459
|
-
const referencepath_contentTypeValidationError = validate$
|
|
11463
|
+
const referencepath_contentTypeValidationError = validate$1h(obj_contentType, path_contentType);
|
|
11460
11464
|
if (referencepath_contentTypeValidationError !== null) {
|
|
11461
11465
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
11462
11466
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11464,7 +11468,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11464
11468
|
}
|
|
11465
11469
|
const obj_createdBy = obj.createdBy;
|
|
11466
11470
|
const path_createdBy = path + '.createdBy';
|
|
11467
|
-
const referencepath_createdByValidationError = validate$
|
|
11471
|
+
const referencepath_createdByValidationError = validate$1e(obj_createdBy, path_createdBy);
|
|
11468
11472
|
if (referencepath_createdByValidationError !== null) {
|
|
11469
11473
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
11470
11474
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11479,7 +11483,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11479
11483
|
const path_folder = path + '.folder';
|
|
11480
11484
|
let obj_folder_union0 = null;
|
|
11481
11485
|
const obj_folder_union0_error = (() => {
|
|
11482
|
-
const referencepath_folderValidationError = validate$
|
|
11486
|
+
const referencepath_folderValidationError = validate$X(obj_folder, path_folder);
|
|
11483
11487
|
if (referencepath_folderValidationError !== null) {
|
|
11484
11488
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
11485
11489
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11516,7 +11520,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11516
11520
|
}
|
|
11517
11521
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11518
11522
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11519
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
11523
|
+
const referencepath_lastModifiedByValidationError = validate$1e(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11520
11524
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11521
11525
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11522
11526
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11547,7 +11551,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11547
11551
|
const path_status = path + '.status';
|
|
11548
11552
|
let obj_status_union0 = null;
|
|
11549
11553
|
const obj_status_union0_error = (() => {
|
|
11550
|
-
const referencepath_statusValidationError = validate$
|
|
11554
|
+
const referencepath_statusValidationError = validate$W(obj_status, path_status);
|
|
11551
11555
|
if (referencepath_statusValidationError !== null) {
|
|
11552
11556
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
11553
11557
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12178,7 +12182,7 @@ function validate$7(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12178
12182
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12179
12183
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12180
12184
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12181
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12185
|
+
const referencepath_contentTypes_itemValidationError = validate$1h(obj_contentTypes_item, path_contentTypes_item);
|
|
12182
12186
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12183
12187
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12184
12188
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13260,7 +13264,7 @@ function validate$1(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
13260
13264
|
const path_baseType = path + '.baseType';
|
|
13261
13265
|
let obj_baseType_union0 = null;
|
|
13262
13266
|
const obj_baseType_union0_error = (() => {
|
|
13263
|
-
const referencepath_baseTypeValidationError = validate$
|
|
13267
|
+
const referencepath_baseTypeValidationError = validate$g(obj_baseType, path_baseType);
|
|
13264
13268
|
if (referencepath_baseTypeValidationError !== null) {
|
|
13265
13269
|
let message = 'Object doesn\'t match ManagedContentSpaceBaseTypeRepresentation (at "' + path_baseType + '")\n';
|
|
13266
13270
|
message += referencepath_baseTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|