@salesforce/lds-adapters-cms-authoring 1.364.0 → 1.365.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 +219 -169
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaces.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/postManagedContentSpace.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCmsSpaces.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsSpaces.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentBusinessUnitRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantReferenceDetailsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInputRep.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2InputRepresentation.d.ts +1 -1
- package/package.json +4 -4
- package/sfdc/index.js +179 -129
- package/src/raml/api.raml +28 -7
|
@@ -94,7 +94,7 @@ function createLink(ref) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
const VERSION$L = "7297fb0dbfe8f664d76179a65037c290";
|
|
97
|
-
function validate$
|
|
97
|
+
function validate$1j(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$L(existing, incoming) {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const VERSION$K = "c30d880a3dba684a405d1cf961af2b76";
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1i(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$1h(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$1j(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$K(existing, incoming) {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
const VERSION$J = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
399
|
-
function validate$
|
|
399
|
+
function validate$1h(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$1g(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$1i(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$J(existing, incoming) {
|
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
const VERSION$I = "4b75ed6ff448da86412b605f7e775a62";
|
|
580
|
-
function validate$
|
|
580
|
+
function validate$1g(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$I(existing, incoming) {
|
|
|
653
653
|
|
|
654
654
|
const TTL$B = 100;
|
|
655
655
|
const VERSION$H = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
656
|
-
function validate$
|
|
656
|
+
function validate$1f(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$1e(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$1h(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$1e(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$1g(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$H(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$1f(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$G = "b2c15aa80814ecd854e68bf635879e35";
|
|
978
|
-
function validate$
|
|
978
|
+
function validate$1e(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$G(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$1e(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$1d(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$1d(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$F = "7e57fd77c4503be9a8822f2603a04df3";
|
|
1492
|
-
function validate$
|
|
1492
|
+
function validate$1c(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$F(existing, incoming) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
const VERSION$E = "eba1876bba76cb05d9cbb8a968bd6796";
|
|
1570
|
-
function validate$
|
|
1570
|
+
function validate$1b(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$1a(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$1c(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$E(existing, incoming) {
|
|
|
1622
1622
|
|
|
1623
1623
|
const TTL$z = 100;
|
|
1624
1624
|
const VERSION$D = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
1625
|
-
function validate$
|
|
1625
|
+
function validate$1a(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$19(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$1b(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$D(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$1a(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$C = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
1873
|
-
function validate$
|
|
1873
|
+
function validate$19(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$C(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$19(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$18(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$17(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
|
|
|
2420
2420
|
|
|
2421
2421
|
const TTL$x = 100;
|
|
2422
2422
|
const VERSION$B = "df1370994ae2e57cdebc5f5125930e2d";
|
|
2423
|
-
function validate$
|
|
2423
|
+
function validate$17(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$16(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$18(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$B(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$17(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$16(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$15(obj, path = 'ManagedContentCollectionItemTypeSummaryReprese
|
|
|
2681
2681
|
return v_error === undefined ? null : v_error;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
function validate$
|
|
2684
|
+
function validate$15(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$14(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$16(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$14(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2724
2724
|
|
|
2725
2725
|
const TTL$w = 100;
|
|
2726
2726
|
const VERSION$A = "04fc59c4443f12c021c76e1603338c85";
|
|
2727
|
-
function validate$
|
|
2727
|
+
function validate$14(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$13(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$1j(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$13(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$15(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$A(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$14(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$z = "5371a5a2fd4e69439554e23684017c89";
|
|
3003
|
-
function validate$
|
|
3003
|
+
function validate$13(obj, path = 'ManagedContentProviderInstanceRepresentation') {
|
|
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 + '")');
|
|
@@ -3078,7 +3078,7 @@ function equals$z(existing, incoming) {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
|
|
3080
3080
|
const VERSION$y = "b89b54fc329ebfa6827fac717669e2bd";
|
|
3081
|
-
function validate$
|
|
3081
|
+
function validate$12(obj, path = 'ManagedContentProviderRepresentation') {
|
|
3082
3082
|
const v_error = (() => {
|
|
3083
3083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3084
3084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3111,7 +3111,7 @@ function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
|
3111
3111
|
for (let i = 0; i < obj_providerInstances.length; i++) {
|
|
3112
3112
|
const obj_providerInstances_item = obj_providerInstances[i];
|
|
3113
3113
|
const path_providerInstances_item = path_providerInstances + '[' + i + ']';
|
|
3114
|
-
const referencepath_providerInstances_itemValidationError = validate$
|
|
3114
|
+
const referencepath_providerInstances_itemValidationError = validate$13(obj_providerInstances_item, path_providerInstances_item);
|
|
3115
3115
|
if (referencepath_providerInstances_itemValidationError !== null) {
|
|
3116
3116
|
let message = 'Object doesn\'t match ManagedContentProviderInstanceRepresentation (at "' + path_providerInstances_item + '")\n';
|
|
3117
3117
|
message += referencepath_providerInstances_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3217,7 +3217,7 @@ function equals$y(existing, incoming) {
|
|
|
3217
3217
|
|
|
3218
3218
|
const TTL$v = 120000;
|
|
3219
3219
|
const VERSION$x = "cd77a988fa54277e0b7b7288f4c3f843";
|
|
3220
|
-
function validate$
|
|
3220
|
+
function validate$11(obj, path = 'ManagedContentProviderCollectionRepresentation') {
|
|
3221
3221
|
const v_error = (() => {
|
|
3222
3222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3223
3223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3282,7 +3282,7 @@ function validate$10(obj, path = 'ManagedContentProviderCollectionRepresentation
|
|
|
3282
3282
|
for (let i = 0; i < obj_providers.length; i++) {
|
|
3283
3283
|
const obj_providers_item = obj_providers[i];
|
|
3284
3284
|
const path_providers_item = path_providers + '[' + i + ']';
|
|
3285
|
-
const referencepath_providers_itemValidationError = validate$
|
|
3285
|
+
const referencepath_providers_itemValidationError = validate$12(obj_providers_item, path_providers_item);
|
|
3286
3286
|
if (referencepath_providers_itemValidationError !== null) {
|
|
3287
3287
|
let message = 'Object doesn\'t match ManagedContentProviderRepresentation (at "' + path_providers_item + '")\n';
|
|
3288
3288
|
message += referencepath_providers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3359,7 +3359,7 @@ function equals$x(existing, incoming) {
|
|
|
3359
3359
|
}
|
|
3360
3360
|
const ingest$v = function ManagedContentProviderCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3361
3361
|
if (process.env.NODE_ENV !== 'production') {
|
|
3362
|
-
const validateError = validate$
|
|
3362
|
+
const validateError = validate$11(input);
|
|
3363
3363
|
if (validateError !== null) {
|
|
3364
3364
|
throw validateError;
|
|
3365
3365
|
}
|
|
@@ -3514,7 +3514,7 @@ const getManagedContentProvidersAdapterFactory = (luvio) => function CMSAuthorin
|
|
|
3514
3514
|
buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
|
|
3515
3515
|
};
|
|
3516
3516
|
|
|
3517
|
-
function validate
|
|
3517
|
+
function validate$10(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
3518
3518
|
const v_error = (() => {
|
|
3519
3519
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3520
3520
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3586,7 +3586,7 @@ function validate$$(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
|
3586
3586
|
|
|
3587
3587
|
const TTL$u = 100;
|
|
3588
3588
|
const VERSION$w = "52e643b998d6763482c6d74542b38408";
|
|
3589
|
-
function validate
|
|
3589
|
+
function validate$$(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
3590
3590
|
const v_error = (() => {
|
|
3591
3591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3592
3592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3772,7 +3772,7 @@ function equals$w(existing, incoming) {
|
|
|
3772
3772
|
}
|
|
3773
3773
|
const ingest$u = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3774
3774
|
if (process.env.NODE_ENV !== 'production') {
|
|
3775
|
-
const validateError = validate
|
|
3775
|
+
const validateError = validate$$(input);
|
|
3776
3776
|
if (validateError !== null) {
|
|
3777
3777
|
throw validateError;
|
|
3778
3778
|
}
|
|
@@ -3840,7 +3840,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
3840
3840
|
const config = {};
|
|
3841
3841
|
typeCheckConfig$N(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
|
|
3842
3842
|
const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
|
|
3843
|
-
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate
|
|
3843
|
+
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$10(untrustedConfig_translationV2Request);
|
|
3844
3844
|
if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
|
|
3845
3845
|
config.translationV2Request = untrustedConfig_translationV2Request;
|
|
3846
3846
|
}
|
|
@@ -3888,7 +3888,7 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
|
|
|
3888
3888
|
};
|
|
3889
3889
|
};
|
|
3890
3890
|
|
|
3891
|
-
function validate$
|
|
3891
|
+
function validate$_(obj, path = 'ManagedContentInputRepresentation') {
|
|
3892
3892
|
const v_error = (() => {
|
|
3893
3893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3894
3894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3935,7 +3935,7 @@ function validate$Z(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
3935
3935
|
return v_error === undefined ? null : v_error;
|
|
3936
3936
|
}
|
|
3937
3937
|
|
|
3938
|
-
function validate$
|
|
3938
|
+
function validate$Z(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
3939
3939
|
const v_error = (() => {
|
|
3940
3940
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3941
3941
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3954,7 +3954,7 @@ function validate$Y(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
|
3954
3954
|
return v_error === undefined ? null : v_error;
|
|
3955
3955
|
}
|
|
3956
3956
|
|
|
3957
|
-
function validate$
|
|
3957
|
+
function validate$Y(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
3958
3958
|
const v_error = (() => {
|
|
3959
3959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3960
3960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3973,7 +3973,7 @@ function validate$X(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
|
3973
3973
|
return v_error === undefined ? null : v_error;
|
|
3974
3974
|
}
|
|
3975
3975
|
|
|
3976
|
-
function validate$
|
|
3976
|
+
function validate$X(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
3977
3977
|
const v_error = (() => {
|
|
3978
3978
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3979
3979
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3994,7 +3994,7 @@ function validate$W(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
|
3994
3994
|
|
|
3995
3995
|
const TTL$t = 100;
|
|
3996
3996
|
const VERSION$v = "32da7ab9bec2902e7f2b1d1e9aa618f1";
|
|
3997
|
-
function validate$
|
|
3997
|
+
function validate$W(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
3998
3998
|
const v_error = (() => {
|
|
3999
3999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4000
4000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4048,7 +4048,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4048
4048
|
}
|
|
4049
4049
|
const obj_contentSpace = obj.contentSpace;
|
|
4050
4050
|
const path_contentSpace = path + '.contentSpace';
|
|
4051
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
4051
|
+
const referencepath_contentSpaceValidationError = validate$Z(obj_contentSpace, path_contentSpace);
|
|
4052
4052
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
4053
4053
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
4054
4054
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4056,7 +4056,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4056
4056
|
}
|
|
4057
4057
|
const obj_contentType = obj.contentType;
|
|
4058
4058
|
const path_contentType = path + '.contentType';
|
|
4059
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4059
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
4060
4060
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4061
4061
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4062
4062
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4064,7 +4064,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
const obj_createdBy = obj.createdBy;
|
|
4066
4066
|
const path_createdBy = path + '.createdBy';
|
|
4067
|
-
const referencepath_createdByValidationError = validate$
|
|
4067
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
4068
4068
|
if (referencepath_createdByValidationError !== null) {
|
|
4069
4069
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
4070
4070
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4077,7 +4077,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4077
4077
|
}
|
|
4078
4078
|
const obj_folder = obj.folder;
|
|
4079
4079
|
const path_folder = path + '.folder';
|
|
4080
|
-
const referencepath_folderValidationError = validate$
|
|
4080
|
+
const referencepath_folderValidationError = validate$Y(obj_folder, path_folder);
|
|
4081
4081
|
if (referencepath_folderValidationError !== null) {
|
|
4082
4082
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
4083
4083
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4095,7 +4095,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4095
4095
|
}
|
|
4096
4096
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4097
4097
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4098
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4098
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4099
4099
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4100
4100
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4101
4101
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4126,7 +4126,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
4126
4126
|
const path_status = path + '.status';
|
|
4127
4127
|
let obj_status_union0 = null;
|
|
4128
4128
|
const obj_status_union0_error = (() => {
|
|
4129
|
-
const referencepath_statusValidationError = validate$
|
|
4129
|
+
const referencepath_statusValidationError = validate$X(obj_status, path_status);
|
|
4130
4130
|
if (referencepath_statusValidationError !== null) {
|
|
4131
4131
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
4132
4132
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4227,7 +4227,7 @@ function equals$v(existing, incoming) {
|
|
|
4227
4227
|
}
|
|
4228
4228
|
const ingest$t = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4229
4229
|
if (process.env.NODE_ENV !== 'production') {
|
|
4230
|
-
const validateError = validate$
|
|
4230
|
+
const validateError = validate$W(input);
|
|
4231
4231
|
if (validateError !== null) {
|
|
4232
4232
|
throw validateError;
|
|
4233
4233
|
}
|
|
@@ -4300,7 +4300,7 @@ const createResourceParams$E = /*#__PURE__*/ createResourceParams$N(createManage
|
|
|
4300
4300
|
function typeCheckConfig$E(untrustedConfig) {
|
|
4301
4301
|
const config = {};
|
|
4302
4302
|
const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
|
|
4303
|
-
const referenceManagedContentInputRepresentationValidationError = validate$
|
|
4303
|
+
const referenceManagedContentInputRepresentationValidationError = validate$_(untrustedConfig_ManagedContentInputParam);
|
|
4304
4304
|
if (referenceManagedContentInputRepresentationValidationError === null) {
|
|
4305
4305
|
config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
|
|
4306
4306
|
}
|
|
@@ -4350,7 +4350,7 @@ const createManagedContentAdapterFactory = (luvio) => {
|
|
|
4350
4350
|
|
|
4351
4351
|
const TTL$s = 100;
|
|
4352
4352
|
const VERSION$u = "789bce2e581ff7969982fbf2ffbfd9a5";
|
|
4353
|
-
function validate$
|
|
4353
|
+
function validate$V(obj, path = 'ManagedContentPublishOutputRepresentation') {
|
|
4354
4354
|
const v_error = (() => {
|
|
4355
4355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4356
4356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4444,7 +4444,7 @@ function equals$u(existing, incoming) {
|
|
|
4444
4444
|
}
|
|
4445
4445
|
const ingest$s = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4446
4446
|
if (process.env.NODE_ENV !== 'production') {
|
|
4447
|
-
const validateError = validate$
|
|
4447
|
+
const validateError = validate$V(input);
|
|
4448
4448
|
if (validateError !== null) {
|
|
4449
4449
|
throw validateError;
|
|
4450
4450
|
}
|
|
@@ -4560,7 +4560,7 @@ const publishManagedContentAdapterFactory = (luvio) => {
|
|
|
4560
4560
|
|
|
4561
4561
|
const TTL$r = 100;
|
|
4562
4562
|
const VERSION$t = "2f473ff12e87a4fc2336695104ab8567";
|
|
4563
|
-
function validate$
|
|
4563
|
+
function validate$U(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
|
|
4564
4564
|
const v_error = (() => {
|
|
4565
4565
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4566
4566
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4654,7 +4654,7 @@ function equals$t(existing, incoming) {
|
|
|
4654
4654
|
}
|
|
4655
4655
|
const ingest$r = function ManagedContentUnpublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4656
4656
|
if (process.env.NODE_ENV !== 'production') {
|
|
4657
|
-
const validateError = validate$
|
|
4657
|
+
const validateError = validate$U(input);
|
|
4658
4658
|
if (validateError !== null) {
|
|
4659
4659
|
throw validateError;
|
|
4660
4660
|
}
|
|
@@ -4766,7 +4766,7 @@ const unpublishManagedContentAdapterFactory = (luvio) => {
|
|
|
4766
4766
|
};
|
|
4767
4767
|
};
|
|
4768
4768
|
|
|
4769
|
-
function validate$
|
|
4769
|
+
function validate$T(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
4770
4770
|
const v_error = (() => {
|
|
4771
4771
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4772
4772
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4815,7 +4815,7 @@ function validate$S(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
|
4815
4815
|
|
|
4816
4816
|
const TTL$q = 3600000;
|
|
4817
4817
|
const VERSION$s = "7752c6a8bb6b113a02bfde83f39e5957";
|
|
4818
|
-
function validate$
|
|
4818
|
+
function validate$S(obj, path = 'ManagedContentVariantRepresentation') {
|
|
4819
4819
|
const v_error = (() => {
|
|
4820
4820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4821
4821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4841,7 +4841,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4841
4841
|
}
|
|
4842
4842
|
const obj_contentSpace = obj.contentSpace;
|
|
4843
4843
|
const path_contentSpace = path + '.contentSpace';
|
|
4844
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
4844
|
+
const referencepath_contentSpaceValidationError = validate$Z(obj_contentSpace, path_contentSpace);
|
|
4845
4845
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
4846
4846
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
4847
4847
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4849,7 +4849,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4849
4849
|
}
|
|
4850
4850
|
const obj_contentType = obj.contentType;
|
|
4851
4851
|
const path_contentType = path + '.contentType';
|
|
4852
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4852
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
4853
4853
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4854
4854
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4855
4855
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4857,7 +4857,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
const obj_createdBy = obj.createdBy;
|
|
4859
4859
|
const path_createdBy = path + '.createdBy';
|
|
4860
|
-
const referencepath_createdByValidationError = validate$
|
|
4860
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
4861
4861
|
if (referencepath_createdByValidationError !== null) {
|
|
4862
4862
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
4863
4863
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4870,7 +4870,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4870
4870
|
}
|
|
4871
4871
|
const obj_folder = obj.folder;
|
|
4872
4872
|
const path_folder = path + '.folder';
|
|
4873
|
-
const referencepath_folderValidationError = validate$
|
|
4873
|
+
const referencepath_folderValidationError = validate$Y(obj_folder, path_folder);
|
|
4874
4874
|
if (referencepath_folderValidationError !== null) {
|
|
4875
4875
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
4876
4876
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4888,7 +4888,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4888
4888
|
}
|
|
4889
4889
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4890
4890
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4891
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4891
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4892
4892
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4893
4893
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4894
4894
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4916,7 +4916,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4916
4916
|
}
|
|
4917
4917
|
const obj_status = obj.status;
|
|
4918
4918
|
const path_status = path + '.status';
|
|
4919
|
-
const referencepath_statusValidationError = validate$
|
|
4919
|
+
const referencepath_statusValidationError = validate$X(obj_status, path_status);
|
|
4920
4920
|
if (referencepath_statusValidationError !== null) {
|
|
4921
4921
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
4922
4922
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4964,7 +4964,7 @@ function equals$s(existing, incoming) {
|
|
|
4964
4964
|
}
|
|
4965
4965
|
const ingest$q = function ManagedContentVariantRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4966
4966
|
if (process.env.NODE_ENV !== 'production') {
|
|
4967
|
-
const validateError = validate$
|
|
4967
|
+
const validateError = validate$S(input);
|
|
4968
4968
|
if (validateError !== null) {
|
|
4969
4969
|
throw validateError;
|
|
4970
4970
|
}
|
|
@@ -5030,7 +5030,7 @@ const createResourceParams$B = /*#__PURE__*/ createResourceParams$N(createManage
|
|
|
5030
5030
|
function typeCheckConfig$B(untrustedConfig) {
|
|
5031
5031
|
const config = {};
|
|
5032
5032
|
const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
|
|
5033
|
-
const referenceManagedContentVariantInputRepresentationValidationError = validate$
|
|
5033
|
+
const referenceManagedContentVariantInputRepresentationValidationError = validate$T(untrustedConfig_managedContentVariantInputParam);
|
|
5034
5034
|
if (referenceManagedContentVariantInputRepresentationValidationError === null) {
|
|
5035
5035
|
config.managedContentVariantInputParam = untrustedConfig_managedContentVariantInputParam;
|
|
5036
5036
|
}
|
|
@@ -5302,7 +5302,7 @@ const getManagedContentVariantAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
5302
5302
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
|
|
5303
5303
|
};
|
|
5304
5304
|
|
|
5305
|
-
function validate$
|
|
5305
|
+
function validate$R(obj, path = 'ManagedContentVariantUpdateInputRepresentation') {
|
|
5306
5306
|
const v_error = (() => {
|
|
5307
5307
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5308
5308
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5387,7 +5387,7 @@ function typeCheckConfig$y(untrustedConfig) {
|
|
|
5387
5387
|
const config = {};
|
|
5388
5388
|
typeCheckConfig$N(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
|
|
5389
5389
|
const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
|
|
5390
|
-
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$
|
|
5390
|
+
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$R(untrustedConfig_ManagedContentVariantInputParam);
|
|
5391
5391
|
if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
|
|
5392
5392
|
config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
|
|
5393
5393
|
}
|
|
@@ -5435,14 +5435,14 @@ const replaceManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
5435
5435
|
};
|
|
5436
5436
|
};
|
|
5437
5437
|
|
|
5438
|
-
function validate$
|
|
5438
|
+
function validate$Q(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
5439
5439
|
const v_error = (() => {
|
|
5440
5440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5441
5441
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5442
5442
|
}
|
|
5443
5443
|
const obj_createdBy = obj.createdBy;
|
|
5444
5444
|
const path_createdBy = path + '.createdBy';
|
|
5445
|
-
const referencepath_createdByValidationError = validate$
|
|
5445
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
5446
5446
|
if (referencepath_createdByValidationError !== null) {
|
|
5447
5447
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
5448
5448
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5455,7 +5455,7 @@ function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5455
5455
|
}
|
|
5456
5456
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5457
5457
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5458
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5458
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5459
5459
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5460
5460
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5461
5461
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5473,7 +5473,7 @@ function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5473
5473
|
}
|
|
5474
5474
|
const obj_status = obj.status;
|
|
5475
5475
|
const path_status = path + '.status';
|
|
5476
|
-
const referencepath_statusValidationError = validate$
|
|
5476
|
+
const referencepath_statusValidationError = validate$X(obj_status, path_status);
|
|
5477
5477
|
if (referencepath_statusValidationError !== null) {
|
|
5478
5478
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
5479
5479
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5495,7 +5495,7 @@ function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5495
5495
|
|
|
5496
5496
|
const TTL$p = 100;
|
|
5497
5497
|
const VERSION$r = "993f4fe3a5b12699f037079dbe30610b";
|
|
5498
|
-
function validate$
|
|
5498
|
+
function validate$P(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
|
|
5499
5499
|
const v_error = (() => {
|
|
5500
5500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5501
5501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5525,7 +5525,7 @@ function validate$O(obj, path = 'ManagedContentVariantVersionCollectionRepresent
|
|
|
5525
5525
|
for (let i = 0; i < obj_versions.length; i++) {
|
|
5526
5526
|
const obj_versions_item = obj_versions[i];
|
|
5527
5527
|
const path_versions_item = path_versions + '[' + i + ']';
|
|
5528
|
-
const referencepath_versions_itemValidationError = validate$
|
|
5528
|
+
const referencepath_versions_itemValidationError = validate$Q(obj_versions_item, path_versions_item);
|
|
5529
5529
|
if (referencepath_versions_itemValidationError !== null) {
|
|
5530
5530
|
let message = 'Object doesn\'t match ManagedContentVariantVersionRepresentation (at "' + path_versions_item + '")\n';
|
|
5531
5531
|
message += referencepath_versions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5564,7 +5564,7 @@ function equals$r(existing, incoming) {
|
|
|
5564
5564
|
}
|
|
5565
5565
|
const ingest$p = function ManagedContentVariantVersionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5566
5566
|
if (process.env.NODE_ENV !== 'production') {
|
|
5567
|
-
const validateError = validate$
|
|
5567
|
+
const validateError = validate$P(input);
|
|
5568
5568
|
if (validateError !== null) {
|
|
5569
5569
|
throw validateError;
|
|
5570
5570
|
}
|
|
@@ -5727,7 +5727,7 @@ const getManagedContentVariantVersionsAdapterFactory = (luvio) => function CMSAu
|
|
|
5727
5727
|
buildCachedSnapshotCachePolicy$k, buildNetworkSnapshotCachePolicy$k);
|
|
5728
5728
|
};
|
|
5729
5729
|
|
|
5730
|
-
function validate$
|
|
5730
|
+
function validate$O(obj, path = 'ManagedContentWebUrlRedirectInfoInputRepresentation') {
|
|
5731
5731
|
const v_error = (() => {
|
|
5732
5732
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5733
5733
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5741,7 +5741,7 @@ function validate$N(obj, path = 'ManagedContentWebUrlRedirectInfoInputRepresenta
|
|
|
5741
5741
|
return v_error === undefined ? null : v_error;
|
|
5742
5742
|
}
|
|
5743
5743
|
|
|
5744
|
-
function validate$
|
|
5744
|
+
function validate$N(obj, path = 'ManagedContentAssociatedRecordRepresentation') {
|
|
5745
5745
|
const v_error = (() => {
|
|
5746
5746
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5747
5747
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5760,7 +5760,7 @@ function validate$M(obj, path = 'ManagedContentAssociatedRecordRepresentation')
|
|
|
5760
5760
|
return v_error === undefined ? null : v_error;
|
|
5761
5761
|
}
|
|
5762
5762
|
|
|
5763
|
-
function validate$
|
|
5763
|
+
function validate$M(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresentation') {
|
|
5764
5764
|
const v_error = (() => {
|
|
5765
5765
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5766
5766
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5795,7 +5795,7 @@ function validate$L(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresent
|
|
|
5795
5795
|
return v_error === undefined ? null : v_error;
|
|
5796
5796
|
}
|
|
5797
5797
|
|
|
5798
|
-
function validate$
|
|
5798
|
+
function validate$L(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
5799
5799
|
const v_error = (() => {
|
|
5800
5800
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5801
5801
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5814,7 +5814,7 @@ function validate$K(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
|
5814
5814
|
return v_error === undefined ? null : v_error;
|
|
5815
5815
|
}
|
|
5816
5816
|
|
|
5817
|
-
function validate$
|
|
5817
|
+
function validate$K(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
5818
5818
|
const v_error = (() => {
|
|
5819
5819
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5820
5820
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5822,7 +5822,7 @@ function validate$J(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
5822
5822
|
if (obj.siteInfo !== undefined) {
|
|
5823
5823
|
const obj_siteInfo = obj.siteInfo;
|
|
5824
5824
|
const path_siteInfo = path + '.siteInfo';
|
|
5825
|
-
const referencepath_siteInfoValidationError = validate$
|
|
5825
|
+
const referencepath_siteInfoValidationError = validate$L(obj_siteInfo, path_siteInfo);
|
|
5826
5826
|
if (referencepath_siteInfoValidationError !== null) {
|
|
5827
5827
|
let message = 'Object doesn\'t match ManagedContentSiteInfoRepresentation (at "' + path_siteInfo + '")\n';
|
|
5828
5828
|
message += referencepath_siteInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5840,7 +5840,7 @@ function validate$J(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
5840
5840
|
|
|
5841
5841
|
const TTL$o = 100;
|
|
5842
5842
|
const VERSION$q = "18db9d7c38416e3034a59bcb15dd1f2b";
|
|
5843
|
-
function validate$
|
|
5843
|
+
function validate$J(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
5844
5844
|
const v_error = (() => {
|
|
5845
5845
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5846
5846
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5849,7 +5849,7 @@ function validate$I(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5849
5849
|
const path_associatedRecord = path + '.associatedRecord';
|
|
5850
5850
|
let obj_associatedRecord_union0 = null;
|
|
5851
5851
|
const obj_associatedRecord_union0_error = (() => {
|
|
5852
|
-
const referencepath_associatedRecordValidationError = validate$
|
|
5852
|
+
const referencepath_associatedRecordValidationError = validate$N(obj_associatedRecord, path_associatedRecord);
|
|
5853
5853
|
if (referencepath_associatedRecordValidationError !== null) {
|
|
5854
5854
|
let message = 'Object doesn\'t match ManagedContentAssociatedRecordRepresentation (at "' + path_associatedRecord + '")\n';
|
|
5855
5855
|
message += referencepath_associatedRecordValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5886,7 +5886,7 @@ function validate$I(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5886
5886
|
}
|
|
5887
5887
|
const obj_redirectInfo = obj.redirectInfo;
|
|
5888
5888
|
const path_redirectInfo = path + '.redirectInfo';
|
|
5889
|
-
const referencepath_redirectInfoValidationError = validate$
|
|
5889
|
+
const referencepath_redirectInfoValidationError = validate$M(obj_redirectInfo, path_redirectInfo);
|
|
5890
5890
|
if (referencepath_redirectInfoValidationError !== null) {
|
|
5891
5891
|
let message = 'Object doesn\'t match ManagedContentWebUrlRedirectInfoOutputRepresentation (at "' + path_redirectInfo + '")\n';
|
|
5892
5892
|
message += referencepath_redirectInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5910,7 +5910,7 @@ function validate$I(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5910
5910
|
for (let i = 0; i < obj_urls.length; i++) {
|
|
5911
5911
|
const obj_urls_item = obj_urls[i];
|
|
5912
5912
|
const path_urls_item = path_urls + '[' + i + ']';
|
|
5913
|
-
const referencepath_urls_itemValidationError = validate$
|
|
5913
|
+
const referencepath_urls_itemValidationError = validate$K(obj_urls_item, path_urls_item);
|
|
5914
5914
|
if (referencepath_urls_itemValidationError !== null) {
|
|
5915
5915
|
let message = 'Object doesn\'t match ManagedContentWebUrlInfoRepresentation (at "' + path_urls_item + '")\n';
|
|
5916
5916
|
message += referencepath_urls_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5949,7 +5949,7 @@ function equals$q(existing, incoming) {
|
|
|
5949
5949
|
}
|
|
5950
5950
|
const ingest$o = function ManagedContentWebUrlRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5951
5951
|
if (process.env.NODE_ENV !== 'production') {
|
|
5952
|
-
const validateError = validate$
|
|
5952
|
+
const validateError = validate$J(input);
|
|
5953
5953
|
if (validateError !== null) {
|
|
5954
5954
|
throw validateError;
|
|
5955
5955
|
}
|
|
@@ -6020,7 +6020,7 @@ function typeCheckConfig$w(untrustedConfig) {
|
|
|
6020
6020
|
const config = {};
|
|
6021
6021
|
typeCheckConfig$N(untrustedConfig, config, updateManagedContentWebUrl_ConfigPropertyMetadata);
|
|
6022
6022
|
const untrustedConfig_redirectInfo = untrustedConfig.redirectInfo;
|
|
6023
|
-
const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$
|
|
6023
|
+
const referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError = validate$O(untrustedConfig_redirectInfo);
|
|
6024
6024
|
if (referenceManagedContentWebUrlRedirectInfoInputRepresentationValidationError === null) {
|
|
6025
6025
|
config.redirectInfo = untrustedConfig_redirectInfo;
|
|
6026
6026
|
}
|
|
@@ -6264,7 +6264,7 @@ const getManagedContentAdapterFactory = (luvio) => function CMSAuthoring__getMan
|
|
|
6264
6264
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
6265
6265
|
};
|
|
6266
6266
|
|
|
6267
|
-
function validate$
|
|
6267
|
+
function validate$I(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
6268
6268
|
const v_error = (() => {
|
|
6269
6269
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6270
6270
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6283,7 +6283,7 @@ function validate$H(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
|
6283
6283
|
return v_error === undefined ? null : v_error;
|
|
6284
6284
|
}
|
|
6285
6285
|
|
|
6286
|
-
function validate$
|
|
6286
|
+
function validate$H(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
6287
6287
|
const v_error = (() => {
|
|
6288
6288
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6289
6289
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6307,7 +6307,7 @@ function validate$G(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
|
6307
6307
|
return v_error === undefined ? null : v_error;
|
|
6308
6308
|
}
|
|
6309
6309
|
|
|
6310
|
-
function validate$
|
|
6310
|
+
function validate$G(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
6311
6311
|
const v_error = (() => {
|
|
6312
6312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6313
6313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6354,7 +6354,7 @@ function validate$F(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
6354
6354
|
|
|
6355
6355
|
const TTL$n = 100;
|
|
6356
6356
|
const VERSION$p = "7066162a0da609712a7a7b3fa365ed68";
|
|
6357
|
-
function validate$
|
|
6357
|
+
function validate$F(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
6358
6358
|
const v_error = (() => {
|
|
6359
6359
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6360
6360
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6389,7 +6389,7 @@ function validate$E(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6389
6389
|
}
|
|
6390
6390
|
const obj_cloneStatus = obj.cloneStatus;
|
|
6391
6391
|
const path_cloneStatus = path + '.cloneStatus';
|
|
6392
|
-
const referencepath_cloneStatusValidationError = validate$
|
|
6392
|
+
const referencepath_cloneStatusValidationError = validate$I(obj_cloneStatus, path_cloneStatus);
|
|
6393
6393
|
if (referencepath_cloneStatusValidationError !== null) {
|
|
6394
6394
|
let message = 'Object doesn\'t match ManagedContentCloneStatusRepresentation (at "' + path_cloneStatus + '")\n';
|
|
6395
6395
|
message += referencepath_cloneStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6436,7 +6436,7 @@ function validate$E(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6436
6436
|
for (let i = 0; i < obj_failedVariants.length; i++) {
|
|
6437
6437
|
const obj_failedVariants_item = obj_failedVariants[i];
|
|
6438
6438
|
const path_failedVariants_item = path_failedVariants + '[' + i + ']';
|
|
6439
|
-
const referencepath_failedVariants_itemValidationError = validate$
|
|
6439
|
+
const referencepath_failedVariants_itemValidationError = validate$H(obj_failedVariants_item, path_failedVariants_item);
|
|
6440
6440
|
if (referencepath_failedVariants_itemValidationError !== null) {
|
|
6441
6441
|
let message = 'Object doesn\'t match ManagedContentFailedVariantsRepresentation (at "' + path_failedVariants_item + '")\n';
|
|
6442
6442
|
message += referencepath_failedVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6446,7 +6446,7 @@ function validate$E(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6446
6446
|
if (obj.folder !== undefined) {
|
|
6447
6447
|
const obj_folder = obj.folder;
|
|
6448
6448
|
const path_folder = path + '.folder';
|
|
6449
|
-
const referencepath_folderValidationError = validate$
|
|
6449
|
+
const referencepath_folderValidationError = validate$Y(obj_folder, path_folder);
|
|
6450
6450
|
if (referencepath_folderValidationError !== null) {
|
|
6451
6451
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
6452
6452
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6550,7 +6550,7 @@ function validate$E(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6550
6550
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
6551
6551
|
const obj_variants_item = obj_variants[i];
|
|
6552
6552
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
6553
|
-
const referencepath_variants_itemValidationError = validate$
|
|
6553
|
+
const referencepath_variants_itemValidationError = validate$G(obj_variants_item, path_variants_item);
|
|
6554
6554
|
if (referencepath_variants_itemValidationError !== null) {
|
|
6555
6555
|
let message = 'Object doesn\'t match ManagedContentClonedVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
6556
6556
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6589,7 +6589,7 @@ function equals$p(existing, incoming) {
|
|
|
6589
6589
|
}
|
|
6590
6590
|
const ingest$n = function ManagedContentDocumentCloneRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6591
6591
|
if (process.env.NODE_ENV !== 'production') {
|
|
6592
|
-
const validateError = validate$
|
|
6592
|
+
const validateError = validate$F(input);
|
|
6593
6593
|
if (validateError !== null) {
|
|
6594
6594
|
throw validateError;
|
|
6595
6595
|
}
|
|
@@ -6705,7 +6705,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
6705
6705
|
|
|
6706
6706
|
const TTL$m = 1000;
|
|
6707
6707
|
const VERSION$o = "98edee4f058ced93570a7b0ce2293672";
|
|
6708
|
-
function validate$
|
|
6708
|
+
function validate$E(obj, path = 'ManagedContentRenditionRepresentation') {
|
|
6709
6709
|
const v_error = (() => {
|
|
6710
6710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6711
6711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6776,7 +6776,7 @@ function equals$o(existing, incoming) {
|
|
|
6776
6776
|
}
|
|
6777
6777
|
const ingest$m = function ManagedContentRenditionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6778
6778
|
if (process.env.NODE_ENV !== 'production') {
|
|
6779
|
-
const validateError = validate$
|
|
6779
|
+
const validateError = validate$E(input);
|
|
6780
6780
|
if (validateError !== null) {
|
|
6781
6781
|
throw validateError;
|
|
6782
6782
|
}
|
|
@@ -6938,7 +6938,7 @@ const getManagedContentVariantRenditionAdapterFactory = (luvio) => function CMSA
|
|
|
6938
6938
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
6939
6939
|
};
|
|
6940
6940
|
|
|
6941
|
-
function validate$
|
|
6941
|
+
function validate$D(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentation') {
|
|
6942
6942
|
const v_error = (() => {
|
|
6943
6943
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6944
6944
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6959,7 +6959,7 @@ function validate$C(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentatio
|
|
|
6959
6959
|
|
|
6960
6960
|
const TTL$l = 100;
|
|
6961
6961
|
const VERSION$n = "861a01549e9c8877564cf9109fe8af72";
|
|
6962
|
-
function validate$
|
|
6962
|
+
function validate$C(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
6963
6963
|
const v_error = (() => {
|
|
6964
6964
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6965
6965
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6971,7 +6971,7 @@ function validate$B(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
6971
6971
|
}
|
|
6972
6972
|
const obj_taxonomyFragment = obj.taxonomyFragment;
|
|
6973
6973
|
const path_taxonomyFragment = path + '.taxonomyFragment';
|
|
6974
|
-
const referencepath_taxonomyFragmentValidationError = validate$
|
|
6974
|
+
const referencepath_taxonomyFragmentValidationError = validate$D(obj_taxonomyFragment, path_taxonomyFragment);
|
|
6975
6975
|
if (referencepath_taxonomyFragmentValidationError !== null) {
|
|
6976
6976
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_taxonomyFragment + '")\n';
|
|
6977
6977
|
message += referencepath_taxonomyFragmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6985,7 +6985,7 @@ function validate$B(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
6985
6985
|
for (let i = 0; i < obj_termFragments.length; i++) {
|
|
6986
6986
|
const obj_termFragments_item = obj_termFragments[i];
|
|
6987
6987
|
const path_termFragments_item = path_termFragments + '[' + i + ']';
|
|
6988
|
-
const referencepath_termFragments_itemValidationError = validate$
|
|
6988
|
+
const referencepath_termFragments_itemValidationError = validate$D(obj_termFragments_item, path_termFragments_item);
|
|
6989
6989
|
if (referencepath_termFragments_itemValidationError !== null) {
|
|
6990
6990
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_termFragments_item + '")\n';
|
|
6991
6991
|
message += referencepath_termFragments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7015,7 +7015,7 @@ function equals$n(existing, incoming) {
|
|
|
7015
7015
|
}
|
|
7016
7016
|
const ingest$l = function ManagedContentTaxonomyPathRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7017
7017
|
if (process.env.NODE_ENV !== 'production') {
|
|
7018
|
-
const validateError = validate$
|
|
7018
|
+
const validateError = validate$C(input);
|
|
7019
7019
|
if (validateError !== null) {
|
|
7020
7020
|
throw validateError;
|
|
7021
7021
|
}
|
|
@@ -7037,7 +7037,7 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7037
7037
|
|
|
7038
7038
|
const TTL$k = 100;
|
|
7039
7039
|
const VERSION$m = "ac799a7cee04dda27b43cff95ee1aee5";
|
|
7040
|
-
function validate$
|
|
7040
|
+
function validate$B(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
7041
7041
|
const v_error = (() => {
|
|
7042
7042
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7043
7043
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7144,7 +7144,7 @@ function equals$m(existing, incoming) {
|
|
|
7144
7144
|
}
|
|
7145
7145
|
const ingest$k = function ManagedContentTaxonomyTermRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7146
7146
|
if (process.env.NODE_ENV !== 'production') {
|
|
7147
|
-
const validateError = validate$
|
|
7147
|
+
const validateError = validate$B(input);
|
|
7148
7148
|
if (validateError !== null) {
|
|
7149
7149
|
throw validateError;
|
|
7150
7150
|
}
|
|
@@ -7170,7 +7170,7 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7170
7170
|
|
|
7171
7171
|
const TTL$j = 100;
|
|
7172
7172
|
const VERSION$l = "8ab64b2a71caa7cbdb25a65e8081196c";
|
|
7173
|
-
function validate$
|
|
7173
|
+
function validate$A(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentation') {
|
|
7174
7174
|
const v_error = (() => {
|
|
7175
7175
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7176
7176
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7319,7 +7319,7 @@ function equals$l(existing, incoming) {
|
|
|
7319
7319
|
}
|
|
7320
7320
|
const ingest$j = function ManagedContentTaxonomyTermCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7321
7321
|
if (process.env.NODE_ENV !== 'production') {
|
|
7322
|
-
const validateError = validate$
|
|
7322
|
+
const validateError = validate$A(input);
|
|
7323
7323
|
if (validateError !== null) {
|
|
7324
7324
|
throw validateError;
|
|
7325
7325
|
}
|
|
@@ -7578,7 +7578,7 @@ const updateManagedContentTaxonomyTermsAdapterFactory = (luvio) => {
|
|
|
7578
7578
|
|
|
7579
7579
|
const TTL$i = 100;
|
|
7580
7580
|
const VERSION$k = "2671ddf8ce03873a61079e99f376e1b6";
|
|
7581
|
-
function validate$
|
|
7581
|
+
function validate$z(obj, path = 'ManagedContentVariantCollectionRepresentation') {
|
|
7582
7582
|
const v_error = (() => {
|
|
7583
7583
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7584
7584
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7657,7 +7657,7 @@ function validate$y(obj, path = 'ManagedContentVariantCollectionRepresentation')
|
|
|
7657
7657
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
7658
7658
|
const obj_variants_item = obj_variants[i];
|
|
7659
7659
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
7660
|
-
const referencepath_variants_itemValidationError = validate$
|
|
7660
|
+
const referencepath_variants_itemValidationError = validate$S(obj_variants_item, path_variants_item);
|
|
7661
7661
|
if (referencepath_variants_itemValidationError !== null) {
|
|
7662
7662
|
let message = 'Object doesn\'t match ManagedContentVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
7663
7663
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7696,7 +7696,7 @@ function equals$k(existing, incoming) {
|
|
|
7696
7696
|
}
|
|
7697
7697
|
const ingest$i = function ManagedContentVariantCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7698
7698
|
if (process.env.NODE_ENV !== 'production') {
|
|
7699
|
-
const validateError = validate$
|
|
7699
|
+
const validateError = validate$z(input);
|
|
7700
7700
|
if (validateError !== null) {
|
|
7701
7701
|
throw validateError;
|
|
7702
7702
|
}
|
|
@@ -7815,7 +7815,7 @@ const createManagedContentTranslationVariantsAdapterFactory = (luvio) => {
|
|
|
7815
7815
|
|
|
7816
7816
|
const TTL$h = 100;
|
|
7817
7817
|
const VERSION$j = "361f66b21b2d3b6832c42c67fac4f448";
|
|
7818
|
-
function validate$
|
|
7818
|
+
function validate$y(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
7819
7819
|
const v_error = (() => {
|
|
7820
7820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7821
7821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7828,7 +7828,7 @@ function validate$x(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
|
7828
7828
|
for (let i = 0; i < obj_urlAliases.length; i++) {
|
|
7829
7829
|
const obj_urlAliases_item = obj_urlAliases[i];
|
|
7830
7830
|
const path_urlAliases_item = path_urlAliases + '[' + i + ']';
|
|
7831
|
-
const referencepath_urlAliases_itemValidationError = validate$
|
|
7831
|
+
const referencepath_urlAliases_itemValidationError = validate$J(obj_urlAliases_item, path_urlAliases_item);
|
|
7832
7832
|
if (referencepath_urlAliases_itemValidationError !== null) {
|
|
7833
7833
|
let message = 'Object doesn\'t match ManagedContentWebUrlRepresentation (at "' + path_urlAliases_item + '")\n';
|
|
7834
7834
|
message += referencepath_urlAliases_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7858,7 +7858,7 @@ function equals$j(existing, incoming) {
|
|
|
7858
7858
|
}
|
|
7859
7859
|
const ingest$h = function ManagedContentWebUrlsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7860
7860
|
if (process.env.NODE_ENV !== 'production') {
|
|
7861
|
-
const validateError = validate$
|
|
7861
|
+
const validateError = validate$y(input);
|
|
7862
7862
|
if (validateError !== null) {
|
|
7863
7863
|
throw validateError;
|
|
7864
7864
|
}
|
|
@@ -8018,7 +8018,7 @@ const getWebUrlsAdapterFactory = (luvio) => function CMSAuthoring__getWebUrls(un
|
|
|
8018
8018
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$g);
|
|
8019
8019
|
};
|
|
8020
8020
|
|
|
8021
|
-
function validate$
|
|
8021
|
+
function validate$x(obj, path = 'AbstractManagedContentReferencedByItemRepresentation') {
|
|
8022
8022
|
const v_error = (() => {
|
|
8023
8023
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8024
8024
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8028,7 +8028,7 @@ function validate$w(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
8028
8028
|
const path_contentType = path + '.contentType';
|
|
8029
8029
|
let obj_contentType_union0 = null;
|
|
8030
8030
|
const obj_contentType_union0_error = (() => {
|
|
8031
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8031
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
8032
8032
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8033
8033
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8034
8034
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8131,7 +8131,7 @@ function validate$w(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
8131
8131
|
|
|
8132
8132
|
const TTL$g = 100;
|
|
8133
8133
|
const VERSION$i = "c297f5edbe1b51eadd89e68f176520ba";
|
|
8134
|
-
function validate$
|
|
8134
|
+
function validate$w(obj, path = 'ManagedContentReferencedByCollectionRepresentation') {
|
|
8135
8135
|
const v_error = (() => {
|
|
8136
8136
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8137
8137
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8175,7 +8175,7 @@ function validate$v(obj, path = 'ManagedContentReferencedByCollectionRepresentat
|
|
|
8175
8175
|
for (let i = 0; i < obj_referencedBy.length; i++) {
|
|
8176
8176
|
const obj_referencedBy_item = obj_referencedBy[i];
|
|
8177
8177
|
const path_referencedBy_item = path_referencedBy + '[' + i + ']';
|
|
8178
|
-
const referencepath_referencedBy_itemValidationError = validate$
|
|
8178
|
+
const referencepath_referencedBy_itemValidationError = validate$x(obj_referencedBy_item, path_referencedBy_item);
|
|
8179
8179
|
if (referencepath_referencedBy_itemValidationError !== null) {
|
|
8180
8180
|
let message = 'Object doesn\'t match AbstractManagedContentReferencedByItemRepresentation (at "' + path_referencedBy_item + '")\n';
|
|
8181
8181
|
message += referencepath_referencedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8210,7 +8210,7 @@ function equals$i(existing, incoming) {
|
|
|
8210
8210
|
}
|
|
8211
8211
|
const ingest$g = function ManagedContentReferencedByCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8212
8212
|
if (process.env.NODE_ENV !== 'production') {
|
|
8213
|
-
const validateError = validate$
|
|
8213
|
+
const validateError = validate$w(input);
|
|
8214
8214
|
if (validateError !== null) {
|
|
8215
8215
|
throw validateError;
|
|
8216
8216
|
}
|
|
@@ -8372,7 +8372,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
|
|
|
8372
8372
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
|
|
8373
8373
|
};
|
|
8374
8374
|
|
|
8375
|
-
function validate$
|
|
8375
|
+
function validate$v(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
8376
8376
|
const v_error = (() => {
|
|
8377
8377
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8378
8378
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8391,7 +8391,7 @@ function validate$u(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
|
8391
8391
|
return v_error === undefined ? null : v_error;
|
|
8392
8392
|
}
|
|
8393
8393
|
|
|
8394
|
-
function validate$
|
|
8394
|
+
function validate$u(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
|
|
8395
8395
|
const v_error = (() => {
|
|
8396
8396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8397
8397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8408,7 +8408,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8408
8408
|
}
|
|
8409
8409
|
const obj_contentType = obj.contentType;
|
|
8410
8410
|
const path_contentType = path + '.contentType';
|
|
8411
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8411
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
8412
8412
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8413
8413
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8414
8414
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8416,7 +8416,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8416
8416
|
}
|
|
8417
8417
|
const obj_createdBy = obj.createdBy;
|
|
8418
8418
|
const path_createdBy = path + '.createdBy';
|
|
8419
|
-
const referencepath_createdByValidationError = validate$
|
|
8419
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
8420
8420
|
if (referencepath_createdByValidationError !== null) {
|
|
8421
8421
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8422
8422
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8434,7 +8434,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8434
8434
|
}
|
|
8435
8435
|
const obj_language = obj.language;
|
|
8436
8436
|
const path_language = path + '.language';
|
|
8437
|
-
const referencepath_languageValidationError = validate$
|
|
8437
|
+
const referencepath_languageValidationError = validate$v(obj_language, path_language);
|
|
8438
8438
|
if (referencepath_languageValidationError !== null) {
|
|
8439
8439
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
8440
8440
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8442,7 +8442,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8442
8442
|
}
|
|
8443
8443
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8444
8444
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8445
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8445
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8446
8446
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8447
8447
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8448
8448
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8475,7 +8475,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8475
8475
|
}
|
|
8476
8476
|
const obj_status = obj.status;
|
|
8477
8477
|
const path_status = path + '.status';
|
|
8478
|
-
const referencepath_statusValidationError = validate$
|
|
8478
|
+
const referencepath_statusValidationError = validate$X(obj_status, path_status);
|
|
8479
8479
|
if (referencepath_statusValidationError !== null) {
|
|
8480
8480
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
8481
8481
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8492,7 +8492,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8492
8492
|
|
|
8493
8493
|
const TTL$f = 100;
|
|
8494
8494
|
const VERSION$h = "944ebf1d8e72c74b2d0a208b3dfa8326";
|
|
8495
|
-
function validate$
|
|
8495
|
+
function validate$t(obj, path = 'ManagedContentVariantReferencesCollectionRepresentation') {
|
|
8496
8496
|
const v_error = (() => {
|
|
8497
8497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8498
8498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8513,7 +8513,7 @@ function validate$s(obj, path = 'ManagedContentVariantReferencesCollectionRepres
|
|
|
8513
8513
|
for (let i = 0; i < obj_referenceVariants_prop.length; i++) {
|
|
8514
8514
|
const obj_referenceVariants_prop_item = obj_referenceVariants_prop[i];
|
|
8515
8515
|
const path_referenceVariants_prop_item = path_referenceVariants_prop + '[' + i + ']';
|
|
8516
|
-
const referencepath_referenceVariants_prop_itemValidationError = validate$
|
|
8516
|
+
const referencepath_referenceVariants_prop_itemValidationError = validate$u(obj_referenceVariants_prop_item, path_referenceVariants_prop_item);
|
|
8517
8517
|
if (referencepath_referenceVariants_prop_itemValidationError !== null) {
|
|
8518
8518
|
let message = 'Object doesn\'t match ManagedContentVariantReferenceDetailsRepresentation (at "' + path_referenceVariants_prop_item + '")\n';
|
|
8519
8519
|
message += referencepath_referenceVariants_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8544,7 +8544,7 @@ function equals$h(existing, incoming) {
|
|
|
8544
8544
|
}
|
|
8545
8545
|
const ingest$f = function ManagedContentVariantReferencesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8546
8546
|
if (process.env.NODE_ENV !== 'production') {
|
|
8547
|
-
const validateError = validate$
|
|
8547
|
+
const validateError = validate$t(input);
|
|
8548
8548
|
if (validateError !== null) {
|
|
8549
8549
|
throw validateError;
|
|
8550
8550
|
}
|
|
@@ -8705,7 +8705,7 @@ const getManagedContentVariantReferencesAdapterFactory = (luvio) => function CMS
|
|
|
8705
8705
|
|
|
8706
8706
|
const TTL$e = 100;
|
|
8707
8707
|
const VERSION$g = "6cb5e79d281317772f97d55182ce890e";
|
|
8708
|
-
function validate$
|
|
8708
|
+
function validate$s(obj, path = 'ManagedContentSpaceFolderRepresentation') {
|
|
8709
8709
|
const v_error = (() => {
|
|
8710
8710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8711
8711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8778,7 +8778,7 @@ function equals$g(existing, incoming) {
|
|
|
8778
8778
|
}
|
|
8779
8779
|
const ingest$e = function ManagedContentSpaceFolderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8780
8780
|
if (process.env.NODE_ENV !== 'production') {
|
|
8781
|
-
const validateError = validate$
|
|
8781
|
+
const validateError = validate$s(input);
|
|
8782
8782
|
if (validateError !== null) {
|
|
8783
8783
|
throw validateError;
|
|
8784
8784
|
}
|
|
@@ -8891,7 +8891,7 @@ const postManagedContentSpaceFolderAdapterFactory = (luvio) => {
|
|
|
8891
8891
|
|
|
8892
8892
|
const TTL$d = 30000;
|
|
8893
8893
|
const VERSION$f = "19a2e59df42998b6d30d4dee5c5a293b";
|
|
8894
|
-
function validate$
|
|
8894
|
+
function validate$r(obj, path = 'ManagedContentSpaceFolderDetailRepresentation') {
|
|
8895
8895
|
const v_error = (() => {
|
|
8896
8896
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8897
8897
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8914,7 +8914,7 @@ function validate$q(obj, path = 'ManagedContentSpaceFolderDetailRepresentation')
|
|
|
8914
8914
|
for (let i = 0; i < obj_folderHierarchy.length; i++) {
|
|
8915
8915
|
const obj_folderHierarchy_item = obj_folderHierarchy[i];
|
|
8916
8916
|
const path_folderHierarchy_item = path_folderHierarchy + '[' + i + ']';
|
|
8917
|
-
const referencepath_folderHierarchy_itemValidationError = validate$
|
|
8917
|
+
const referencepath_folderHierarchy_itemValidationError = validate$s(obj_folderHierarchy_item, path_folderHierarchy_item);
|
|
8918
8918
|
if (referencepath_folderHierarchy_itemValidationError !== null) {
|
|
8919
8919
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderRepresentation (at "' + path_folderHierarchy_item + '")\n';
|
|
8920
8920
|
message += referencepath_folderHierarchy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8959,7 +8959,7 @@ function equals$f(existing, incoming) {
|
|
|
8959
8959
|
}
|
|
8960
8960
|
const ingest$d = function ManagedContentSpaceFolderDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8961
8961
|
if (process.env.NODE_ENV !== 'production') {
|
|
8962
|
-
const validateError = validate$
|
|
8962
|
+
const validateError = validate$r(input);
|
|
8963
8963
|
if (validateError !== null) {
|
|
8964
8964
|
throw validateError;
|
|
8965
8965
|
}
|
|
@@ -9118,7 +9118,7 @@ const getManagedContentSpaceFolderAdapterFactory = (luvio) => function CMSAuthor
|
|
|
9118
9118
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
|
|
9119
9119
|
};
|
|
9120
9120
|
|
|
9121
|
-
function validate$
|
|
9121
|
+
function validate$q(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
9122
9122
|
const v_error = (() => {
|
|
9123
9123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9124
9124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9133,7 +9133,7 @@ function validate$p(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9133
9133
|
if (obj.contentType !== undefined) {
|
|
9134
9134
|
const obj_contentType = obj.contentType;
|
|
9135
9135
|
const path_contentType = path + '.contentType';
|
|
9136
|
-
const referencepath_contentTypeValidationError = validate$
|
|
9136
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
9137
9137
|
if (referencepath_contentTypeValidationError !== null) {
|
|
9138
9138
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
9139
9139
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9186,7 +9186,7 @@ function validate$p(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9186
9186
|
if (obj.language !== undefined) {
|
|
9187
9187
|
const obj_language = obj.language;
|
|
9188
9188
|
const path_language = path + '.language';
|
|
9189
|
-
const referencepath_languageValidationError = validate$
|
|
9189
|
+
const referencepath_languageValidationError = validate$v(obj_language, path_language);
|
|
9190
9190
|
if (referencepath_languageValidationError !== null) {
|
|
9191
9191
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
9192
9192
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9243,7 +9243,7 @@ function validate$p(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9243
9243
|
|
|
9244
9244
|
const TTL$c = 100;
|
|
9245
9245
|
const VERSION$e = "e85b8f02eca0f2e88859e6f3a061e56b";
|
|
9246
|
-
function validate$
|
|
9246
|
+
function validate$p(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresentation') {
|
|
9247
9247
|
const v_error = (() => {
|
|
9248
9248
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9249
9249
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9261,7 +9261,7 @@ function validate$o(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresen
|
|
|
9261
9261
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
9262
9262
|
const obj_folderItems_item = obj_folderItems[i];
|
|
9263
9263
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
9264
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
9264
|
+
const referencepath_folderItems_itemValidationError = validate$q(obj_folderItems_item, path_folderItems_item);
|
|
9265
9265
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
9266
9266
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemRepresentation (at "' + path_folderItems_item + '")\n';
|
|
9267
9267
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9317,7 +9317,7 @@ function equals$e(existing, incoming) {
|
|
|
9317
9317
|
}
|
|
9318
9318
|
const ingest$c = function ManagedContentSpaceFolderItemCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9319
9319
|
if (process.env.NODE_ENV !== 'production') {
|
|
9320
|
-
const validateError = validate$
|
|
9320
|
+
const validateError = validate$p(input);
|
|
9321
9321
|
if (validateError !== null) {
|
|
9322
9322
|
throw validateError;
|
|
9323
9323
|
}
|
|
@@ -9483,7 +9483,7 @@ const getManagedContentByFolderIdAdapterFactory = (luvio) => function CMSAuthori
|
|
|
9483
9483
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
9484
9484
|
};
|
|
9485
9485
|
|
|
9486
|
-
function validate$
|
|
9486
|
+
function validate$o(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
9487
9487
|
const v_error = (() => {
|
|
9488
9488
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9489
9489
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9509,7 +9509,7 @@ function validate$n(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
|
9509
9509
|
|
|
9510
9510
|
const TTL$b = 1000;
|
|
9511
9511
|
const VERSION$d = "c0ff97bb4eb8268055467aedb9fff9d4";
|
|
9512
|
-
function validate$
|
|
9512
|
+
function validate$n(obj, path = 'MCSFolderShareTargetCollectionRepresentation') {
|
|
9513
9513
|
const v_error = (() => {
|
|
9514
9514
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9515
9515
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9522,7 +9522,7 @@ function validate$m(obj, path = 'MCSFolderShareTargetCollectionRepresentation')
|
|
|
9522
9522
|
for (let i = 0; i < obj_shareTargets.length; i++) {
|
|
9523
9523
|
const obj_shareTargets_item = obj_shareTargets[i];
|
|
9524
9524
|
const path_shareTargets_item = path_shareTargets + '[' + i + ']';
|
|
9525
|
-
const referencepath_shareTargets_itemValidationError = validate$
|
|
9525
|
+
const referencepath_shareTargets_itemValidationError = validate$o(obj_shareTargets_item, path_shareTargets_item);
|
|
9526
9526
|
if (referencepath_shareTargets_itemValidationError !== null) {
|
|
9527
9527
|
let message = 'Object doesn\'t match MCSFolderShareTargetRepresentation (at "' + path_shareTargets_item + '")\n';
|
|
9528
9528
|
message += referencepath_shareTargets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9552,7 +9552,7 @@ function equals$d(existing, incoming) {
|
|
|
9552
9552
|
}
|
|
9553
9553
|
const ingest$b = function MCSFolderShareTargetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9554
9554
|
if (process.env.NODE_ENV !== 'production') {
|
|
9555
|
-
const validateError = validate$
|
|
9555
|
+
const validateError = validate$n(input);
|
|
9556
9556
|
if (validateError !== null) {
|
|
9557
9557
|
throw validateError;
|
|
9558
9558
|
}
|
|
@@ -9710,7 +9710,7 @@ const getMCSFolderShareTargetsAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
9710
9710
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
|
|
9711
9711
|
};
|
|
9712
9712
|
|
|
9713
|
-
function validate$
|
|
9713
|
+
function validate$m(obj, path = 'MCSFolderShareRepresentation') {
|
|
9714
9714
|
const v_error = (() => {
|
|
9715
9715
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9716
9716
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9743,7 +9743,7 @@ function validate$l(obj, path = 'MCSFolderShareRepresentation') {
|
|
|
9743
9743
|
|
|
9744
9744
|
const TTL$a = 1000;
|
|
9745
9745
|
const VERSION$c = "fd0d4ff311a83d25ce2992ff58ca6d41";
|
|
9746
|
-
function validate$
|
|
9746
|
+
function validate$l(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
9747
9747
|
const v_error = (() => {
|
|
9748
9748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9749
9749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9761,7 +9761,7 @@ function validate$k(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
|
9761
9761
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
9762
9762
|
const obj_shares_item = obj_shares[i];
|
|
9763
9763
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
9764
|
-
const referencepath_shares_itemValidationError = validate$
|
|
9764
|
+
const referencepath_shares_itemValidationError = validate$m(obj_shares_item, path_shares_item);
|
|
9765
9765
|
if (referencepath_shares_itemValidationError !== null) {
|
|
9766
9766
|
let message = 'Object doesn\'t match MCSFolderShareRepresentation (at "' + path_shares_item + '")\n';
|
|
9767
9767
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9800,7 +9800,7 @@ function equals$c(existing, incoming) {
|
|
|
9800
9800
|
}
|
|
9801
9801
|
const ingest$a = function MCSFolderShareCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9802
9802
|
if (process.env.NODE_ENV !== 'production') {
|
|
9803
|
-
const validateError = validate$
|
|
9803
|
+
const validateError = validate$l(input);
|
|
9804
9804
|
if (validateError !== null) {
|
|
9805
9805
|
throw validateError;
|
|
9806
9806
|
}
|
|
@@ -9960,7 +9960,7 @@ const getMCSFolderSharesAdapterFactory = (luvio) => function CMSAuthoring__getMC
|
|
|
9960
9960
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
9961
9961
|
};
|
|
9962
9962
|
|
|
9963
|
-
function validate$
|
|
9963
|
+
function validate$k(obj, path = 'MCSFolderShareInputRepresentation') {
|
|
9964
9964
|
const v_error = (() => {
|
|
9965
9965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9966
9966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10027,7 +10027,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
10027
10027
|
const untrustedConfig_shareWith_array = [];
|
|
10028
10028
|
for (let i = 0, arrayLength = untrustedConfig_shareWith.length; i < arrayLength; i++) {
|
|
10029
10029
|
const untrustedConfig_shareWith_item = untrustedConfig_shareWith[i];
|
|
10030
|
-
const referenceMCSFolderShareInputRepresentationValidationError = validate$
|
|
10030
|
+
const referenceMCSFolderShareInputRepresentationValidationError = validate$k(untrustedConfig_shareWith_item);
|
|
10031
10031
|
if (referenceMCSFolderShareInputRepresentationValidationError === null) {
|
|
10032
10032
|
untrustedConfig_shareWith_array.push(untrustedConfig_shareWith_item);
|
|
10033
10033
|
}
|
|
@@ -10078,14 +10078,14 @@ const updateMCSFolderSharesAdapterFactory = (luvio) => {
|
|
|
10078
10078
|
};
|
|
10079
10079
|
};
|
|
10080
10080
|
|
|
10081
|
-
function validate$
|
|
10081
|
+
function validate$j(obj, path = 'AbstractManagedContentSearchResultRepresentation') {
|
|
10082
10082
|
const v_error = (() => {
|
|
10083
10083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10084
10084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10085
10085
|
}
|
|
10086
10086
|
const obj_createdBy = obj.createdBy;
|
|
10087
10087
|
const path_createdBy = path + '.createdBy';
|
|
10088
|
-
const referencepath_createdByValidationError = validate$
|
|
10088
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
10089
10089
|
if (referencepath_createdByValidationError !== null) {
|
|
10090
10090
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
10091
10091
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10098,7 +10098,7 @@ function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10098
10098
|
}
|
|
10099
10099
|
const obj_folder = obj.folder;
|
|
10100
10100
|
const path_folder = path + '.folder';
|
|
10101
|
-
const referencepath_folderValidationError = validate$
|
|
10101
|
+
const referencepath_folderValidationError = validate$Y(obj_folder, path_folder);
|
|
10102
10102
|
if (referencepath_folderValidationError !== null) {
|
|
10103
10103
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
10104
10104
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10111,7 +10111,7 @@ function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10111
10111
|
}
|
|
10112
10112
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
10113
10113
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
10114
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
10114
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
10115
10115
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
10116
10116
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
10117
10117
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10138,7 +10138,7 @@ function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10138
10138
|
|
|
10139
10139
|
const TTL$9 = 100;
|
|
10140
10140
|
const VERSION$b = "bbcdc04e5d094f6f8048bc2863d86527";
|
|
10141
|
-
function validate$
|
|
10141
|
+
function validate$i(obj, path = 'ManagedContentSearchResultItemsCollectionRepresentation') {
|
|
10142
10142
|
const v_error = (() => {
|
|
10143
10143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10144
10144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10161,7 +10161,7 @@ function validate$h(obj, path = 'ManagedContentSearchResultItemsCollectionRepres
|
|
|
10161
10161
|
for (let i = 0; i < obj_items.length; i++) {
|
|
10162
10162
|
const obj_items_item = obj_items[i];
|
|
10163
10163
|
const path_items_item = path_items + '[' + i + ']';
|
|
10164
|
-
const referencepath_items_itemValidationError = validate$
|
|
10164
|
+
const referencepath_items_itemValidationError = validate$j(obj_items_item, path_items_item);
|
|
10165
10165
|
if (referencepath_items_itemValidationError !== null) {
|
|
10166
10166
|
let message = 'Object doesn\'t match AbstractManagedContentSearchResultRepresentation (at "' + path_items_item + '")\n';
|
|
10167
10167
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10196,7 +10196,7 @@ function equals$b(existing, incoming) {
|
|
|
10196
10196
|
}
|
|
10197
10197
|
const ingest$9 = function ManagedContentSearchResultItemsCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10198
10198
|
if (process.env.NODE_ENV !== 'production') {
|
|
10199
|
-
const validateError = validate$
|
|
10199
|
+
const validateError = validate$i(input);
|
|
10200
10200
|
if (validateError !== null) {
|
|
10201
10201
|
throw validateError;
|
|
10202
10202
|
}
|
|
@@ -10550,6 +10550,25 @@ const updateDeploymentAdapterFactory = (luvio) => {
|
|
|
10550
10550
|
};
|
|
10551
10551
|
};
|
|
10552
10552
|
|
|
10553
|
+
function validate$h(obj, path = 'ManagedContentBusinessUnitRepresentation') {
|
|
10554
|
+
const v_error = (() => {
|
|
10555
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10556
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10557
|
+
}
|
|
10558
|
+
const obj_id = obj.id;
|
|
10559
|
+
const path_id = path + '.id';
|
|
10560
|
+
if (typeof obj_id !== 'string') {
|
|
10561
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
10562
|
+
}
|
|
10563
|
+
const obj_name = obj.name;
|
|
10564
|
+
const path_name = path + '.name';
|
|
10565
|
+
if (typeof obj_name !== 'string') {
|
|
10566
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
10567
|
+
}
|
|
10568
|
+
})();
|
|
10569
|
+
return v_error === undefined ? null : v_error;
|
|
10570
|
+
}
|
|
10571
|
+
|
|
10553
10572
|
const VERSION$a = "f7501252637637dd58083f1d93351ca5";
|
|
10554
10573
|
function validate$g(obj, path = 'ManagedContentSpaceBaseTypeRepresentation') {
|
|
10555
10574
|
const v_error = (() => {
|
|
@@ -10608,7 +10627,7 @@ function equals$a(existing, incoming) {
|
|
|
10608
10627
|
}
|
|
10609
10628
|
|
|
10610
10629
|
const TTL$8 = 100;
|
|
10611
|
-
const VERSION$9 = "
|
|
10630
|
+
const VERSION$9 = "f7830b7686da64a5194c2069ff435a38";
|
|
10612
10631
|
function validate$f(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
10613
10632
|
const v_error = (() => {
|
|
10614
10633
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10642,6 +10661,35 @@ function validate$f(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
10642
10661
|
return new TypeError(message);
|
|
10643
10662
|
}
|
|
10644
10663
|
}
|
|
10664
|
+
const obj_businessUnit = obj.businessUnit;
|
|
10665
|
+
const path_businessUnit = path + '.businessUnit';
|
|
10666
|
+
let obj_businessUnit_union0 = null;
|
|
10667
|
+
const obj_businessUnit_union0_error = (() => {
|
|
10668
|
+
const referencepath_businessUnitValidationError = validate$h(obj_businessUnit, path_businessUnit);
|
|
10669
|
+
if (referencepath_businessUnitValidationError !== null) {
|
|
10670
|
+
let message = 'Object doesn\'t match ManagedContentBusinessUnitRepresentation (at "' + path_businessUnit + '")\n';
|
|
10671
|
+
message += referencepath_businessUnitValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10672
|
+
return new TypeError(message);
|
|
10673
|
+
}
|
|
10674
|
+
})();
|
|
10675
|
+
if (obj_businessUnit_union0_error != null) {
|
|
10676
|
+
obj_businessUnit_union0 = obj_businessUnit_union0_error.message;
|
|
10677
|
+
}
|
|
10678
|
+
let obj_businessUnit_union1 = null;
|
|
10679
|
+
const obj_businessUnit_union1_error = (() => {
|
|
10680
|
+
if (obj_businessUnit !== null) {
|
|
10681
|
+
return new TypeError('Expected "null" but received "' + typeof obj_businessUnit + '" (at "' + path_businessUnit + '")');
|
|
10682
|
+
}
|
|
10683
|
+
})();
|
|
10684
|
+
if (obj_businessUnit_union1_error != null) {
|
|
10685
|
+
obj_businessUnit_union1 = obj_businessUnit_union1_error.message;
|
|
10686
|
+
}
|
|
10687
|
+
if (obj_businessUnit_union0 && obj_businessUnit_union1) {
|
|
10688
|
+
let message = 'Object doesn\'t match union (at "' + path_businessUnit + '")';
|
|
10689
|
+
message += '\n' + obj_businessUnit_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10690
|
+
message += '\n' + obj_businessUnit_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10691
|
+
return new TypeError(message);
|
|
10692
|
+
}
|
|
10645
10693
|
const obj_createdBy = obj.createdBy;
|
|
10646
10694
|
const path_createdBy = path + '.createdBy';
|
|
10647
10695
|
if (typeof obj_createdBy !== 'string') {
|
|
@@ -10942,7 +10990,7 @@ function select$l(luvio, params) {
|
|
|
10942
10990
|
return select$m();
|
|
10943
10991
|
}
|
|
10944
10992
|
function keyBuilder$k(luvio, params) {
|
|
10945
|
-
return keyPrefix + '::ManagedContentSpaceCollectionRepresentation:(' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'nameFragment:' + params.queryParams.nameFragment + ')';
|
|
10993
|
+
return keyPrefix + '::ManagedContentSpaceCollectionRepresentation:(' + 'businessUnitId:' + params.queryParams.businessUnitId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'nameFragment:' + params.queryParams.nameFragment + ')';
|
|
10946
10994
|
}
|
|
10947
10995
|
function getResponseCacheKeys$d(storeKeyMap, luvio, resourceParams, response) {
|
|
10948
10996
|
getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$k(luvio, resourceParams));
|
|
@@ -10992,6 +11040,7 @@ function createResourceRequest$d(config) {
|
|
|
10992
11040
|
|
|
10993
11041
|
const adapterName$d = 'getManagedContentSpaces';
|
|
10994
11042
|
const getManagedContentSpaces_ConfigPropertyMetadata = [
|
|
11043
|
+
generateParamConfigMetadata('businessUnitId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
10995
11044
|
generateParamConfigMetadata('page', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
10996
11045
|
generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
10997
11046
|
generateParamConfigMetadata('nameFragment', false, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -11137,6 +11186,7 @@ function createResourceRequest$c(config) {
|
|
|
11137
11186
|
const adapterName$c = 'postManagedContentSpace';
|
|
11138
11187
|
const postManagedContentSpace_ConfigPropertyMetadata = [
|
|
11139
11188
|
generateParamConfigMetadata('apiName', false, 2 /* Body */, 0 /* String */),
|
|
11189
|
+
generateParamConfigMetadata('businessUnitId', false, 2 /* Body */, 0 /* String */),
|
|
11140
11190
|
generateParamConfigMetadata('channelsList', false, 2 /* Body */, 0 /* String */, true),
|
|
11141
11191
|
generateParamConfigMetadata('collaboratorsList', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
11142
11192
|
generateParamConfigMetadata('defaultLanguage', false, 2 /* Body */, 0 /* String */),
|
|
@@ -11590,7 +11640,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11590
11640
|
}
|
|
11591
11641
|
const obj_contentSpace = obj.contentSpace;
|
|
11592
11642
|
const path_contentSpace = path + '.contentSpace';
|
|
11593
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
11643
|
+
const referencepath_contentSpaceValidationError = validate$Z(obj_contentSpace, path_contentSpace);
|
|
11594
11644
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
11595
11645
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
11596
11646
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11598,7 +11648,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11598
11648
|
}
|
|
11599
11649
|
const obj_contentType = obj.contentType;
|
|
11600
11650
|
const path_contentType = path + '.contentType';
|
|
11601
|
-
const referencepath_contentTypeValidationError = validate$
|
|
11651
|
+
const referencepath_contentTypeValidationError = validate$1j(obj_contentType, path_contentType);
|
|
11602
11652
|
if (referencepath_contentTypeValidationError !== null) {
|
|
11603
11653
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
11604
11654
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11606,7 +11656,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11606
11656
|
}
|
|
11607
11657
|
const obj_createdBy = obj.createdBy;
|
|
11608
11658
|
const path_createdBy = path + '.createdBy';
|
|
11609
|
-
const referencepath_createdByValidationError = validate$
|
|
11659
|
+
const referencepath_createdByValidationError = validate$1g(obj_createdBy, path_createdBy);
|
|
11610
11660
|
if (referencepath_createdByValidationError !== null) {
|
|
11611
11661
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
11612
11662
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11621,7 +11671,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11621
11671
|
const path_folder = path + '.folder';
|
|
11622
11672
|
let obj_folder_union0 = null;
|
|
11623
11673
|
const obj_folder_union0_error = (() => {
|
|
11624
|
-
const referencepath_folderValidationError = validate$
|
|
11674
|
+
const referencepath_folderValidationError = validate$Y(obj_folder, path_folder);
|
|
11625
11675
|
if (referencepath_folderValidationError !== null) {
|
|
11626
11676
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
11627
11677
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11658,7 +11708,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11658
11708
|
}
|
|
11659
11709
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11660
11710
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11661
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
11711
|
+
const referencepath_lastModifiedByValidationError = validate$1g(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11662
11712
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11663
11713
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11664
11714
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11689,7 +11739,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11689
11739
|
const path_status = path + '.status';
|
|
11690
11740
|
let obj_status_union0 = null;
|
|
11691
11741
|
const obj_status_union0_error = (() => {
|
|
11692
|
-
const referencepath_statusValidationError = validate$
|
|
11742
|
+
const referencepath_statusValidationError = validate$X(obj_status, path_status);
|
|
11693
11743
|
if (referencepath_statusValidationError !== null) {
|
|
11694
11744
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
11695
11745
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12320,7 +12370,7 @@ function validate$7(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12320
12370
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12321
12371
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12322
12372
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12323
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12373
|
+
const referencepath_contentTypes_itemValidationError = validate$1j(obj_contentTypes_item, path_contentTypes_item);
|
|
12324
12374
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12325
12375
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12326
12376
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|