@salesforce/lds-adapters-cms-authoring 1.445.0 → 1.447.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 +60 -126
- package/dist/es/es2018/types/src/generated/adapters/createManagedContentVariant.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsContentsVariants.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentInputRepresentation.d.ts +1 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantInputWrapperRepresentation.d.ts +3 -3
- package/package.json +4 -4
- package/sfdc/index.js +51 -117
- package/src/raml/api.raml +1 -32
- package/src/raml/luvio.raml +7 -33
- package/dist/es/es2018/types/src/generated/types/ManagedContentAdditionalVariantInputRepresentation.d.ts +0 -44
|
@@ -94,7 +94,7 @@ function createLink(ref) {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
const VERSION$O = "7297fb0dbfe8f664d76179a65037c290";
|
|
97
|
-
function validate$
|
|
97
|
+
function validate$1q(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$O(existing, incoming) {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
const VERSION$N = "c30d880a3dba684a405d1cf961af2b76";
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$1p(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$1q(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$1q(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$N(existing, incoming) {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
const VERSION$M = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
399
|
-
function validate$
|
|
399
|
+
function validate$1o(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$1p(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$1p(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$M(existing, incoming) {
|
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
const VERSION$L = "4b75ed6ff448da86412b605f7e775a62";
|
|
580
|
-
function validate$
|
|
580
|
+
function validate$1n(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$L(existing, incoming) {
|
|
|
653
653
|
|
|
654
654
|
const TTL$E = 100;
|
|
655
655
|
const VERSION$K = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
656
|
-
function validate$
|
|
656
|
+
function validate$1m(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$1n(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$1o(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$1n(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$1n(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$K(existing, incoming) {
|
|
|
953
953
|
}
|
|
954
954
|
const ingest$E = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
955
955
|
if (process.env.NODE_ENV !== 'production') {
|
|
956
|
-
const validateError = validate$
|
|
956
|
+
const validateError = validate$1m(input);
|
|
957
957
|
if (validateError !== null) {
|
|
958
958
|
throw validateError;
|
|
959
959
|
}
|
|
@@ -975,7 +975,7 @@ function getTypeCacheKeys$E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
975
975
|
|
|
976
976
|
const TTL$D = 100;
|
|
977
977
|
const VERSION$J = "b2c15aa80814ecd854e68bf635879e35";
|
|
978
|
-
function validate$
|
|
978
|
+
function validate$1l(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$J(existing, incoming) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
const ingest$D = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1131
1131
|
if (process.env.NODE_ENV !== 'production') {
|
|
1132
|
-
const validateError = validate$
|
|
1132
|
+
const validateError = validate$1l(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$u, buildNetworkSnapshotCachePolicy$u);
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
-
function validate$
|
|
1313
|
+
function validate$1k(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$O = /*#__PURE__*/ createResourceParams$Q(createDeploy
|
|
|
1440
1440
|
function typeCheckConfig$O(untrustedConfig) {
|
|
1441
1441
|
const config = {};
|
|
1442
1442
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1443
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1443
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$1k(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$I = "7e57fd77c4503be9a8822f2603a04df3";
|
|
1492
|
-
function validate$
|
|
1492
|
+
function validate$1j(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$I(existing, incoming) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
const VERSION$H = "eba1876bba76cb05d9cbb8a968bd6796";
|
|
1570
|
-
function validate$
|
|
1570
|
+
function validate$1i(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$1j(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$1j(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$H(existing, incoming) {
|
|
|
1622
1622
|
|
|
1623
1623
|
const TTL$C = 100;
|
|
1624
1624
|
const VERSION$G = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
1625
|
-
function validate$
|
|
1625
|
+
function validate$1h(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$1i(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$1i(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$G(existing, incoming) {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
const ingest$C = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1850
1850
|
if (process.env.NODE_ENV !== 'production') {
|
|
1851
|
-
const validateError = validate$
|
|
1851
|
+
const validateError = validate$1h(input);
|
|
1852
1852
|
if (validateError !== null) {
|
|
1853
1853
|
throw validateError;
|
|
1854
1854
|
}
|
|
@@ -1870,7 +1870,7 @@ function getTypeCacheKeys$C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1870
1870
|
|
|
1871
1871
|
const TTL$B = 100;
|
|
1872
1872
|
const VERSION$F = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
1873
|
-
function validate$
|
|
1873
|
+
function validate$1g(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$F(existing, incoming) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
const ingest$B = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2026
2026
|
if (process.env.NODE_ENV !== 'production') {
|
|
2027
|
-
const validateError = validate$
|
|
2027
|
+
const validateError = validate$1g(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$s, buildNetworkSnapshotCachePolicy$s);
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
|
-
function validate$
|
|
2333
|
+
function validate$1f(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$1g(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
|
|
|
2420
2420
|
|
|
2421
2421
|
const TTL$A = 100;
|
|
2422
2422
|
const VERSION$E = "df1370994ae2e57cdebc5f5125930e2d";
|
|
2423
|
-
function validate$
|
|
2423
|
+
function validate$1e(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$1f(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$1f(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$E(existing, incoming) {
|
|
|
2494
2494
|
}
|
|
2495
2495
|
const ingest$A = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2496
2496
|
if (process.env.NODE_ENV !== 'production') {
|
|
2497
|
-
const validateError = validate$
|
|
2497
|
+
const validateError = validate$1e(input);
|
|
2498
2498
|
if (validateError !== null) {
|
|
2499
2499
|
throw validateError;
|
|
2500
2500
|
}
|
|
@@ -2662,7 +2662,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
|
|
|
2662
2662
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
|
|
2663
2663
|
};
|
|
2664
2664
|
|
|
2665
|
-
function validate$
|
|
2665
|
+
function validate$1d(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$1e(obj, path = 'ManagedContentCollectionItemTypeSummaryReprese
|
|
|
2681
2681
|
return v_error === undefined ? null : v_error;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
function validate$
|
|
2684
|
+
function validate$1c(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$1d(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$1d(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$1d(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2724
2724
|
|
|
2725
2725
|
const TTL$z = 100;
|
|
2726
2726
|
const VERSION$D = "04fc59c4443f12c021c76e1603338c85";
|
|
2727
|
-
function validate$
|
|
2727
|
+
function validate$1b(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$1c(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$1q(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$1c(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$1c(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$D(existing, incoming) {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
const ingest$z = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2838
2838
|
if (process.env.NODE_ENV !== 'production') {
|
|
2839
|
-
const validateError = validate$
|
|
2839
|
+
const validateError = validate$1b(input);
|
|
2840
2840
|
if (validateError !== null) {
|
|
2841
2841
|
throw validateError;
|
|
2842
2842
|
}
|
|
@@ -2999,7 +2999,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
|
|
|
2999
2999
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$q);
|
|
3000
3000
|
};
|
|
3001
3001
|
|
|
3002
|
-
function validate$
|
|
3002
|
+
function validate$1a(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
3003
3003
|
const v_error = (() => {
|
|
3004
3004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3005
3005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3071,7 +3071,7 @@ function validate$1b(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
|
3071
3071
|
|
|
3072
3072
|
const TTL$y = 100;
|
|
3073
3073
|
const VERSION$C = "52e643b998d6763482c6d74542b38408";
|
|
3074
|
-
function validate$
|
|
3074
|
+
function validate$19(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
3075
3075
|
const v_error = (() => {
|
|
3076
3076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3077
3077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3257,7 +3257,7 @@ function equals$C(existing, incoming) {
|
|
|
3257
3257
|
}
|
|
3258
3258
|
const ingest$y = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3259
3259
|
if (process.env.NODE_ENV !== 'production') {
|
|
3260
|
-
const validateError = validate$
|
|
3260
|
+
const validateError = validate$19(input);
|
|
3261
3261
|
if (validateError !== null) {
|
|
3262
3262
|
throw validateError;
|
|
3263
3263
|
}
|
|
@@ -3325,7 +3325,7 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
3325
3325
|
const config = {};
|
|
3326
3326
|
typeCheckConfig$Q(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
|
|
3327
3327
|
const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
|
|
3328
|
-
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$
|
|
3328
|
+
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$1a(untrustedConfig_translationV2Request);
|
|
3329
3329
|
if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
|
|
3330
3330
|
config.translationV2Request = untrustedConfig_translationV2Request;
|
|
3331
3331
|
}
|
|
@@ -3373,77 +3373,11 @@ const createTranslationV2JobAdapterFactory = (luvio) => {
|
|
|
3373
3373
|
};
|
|
3374
3374
|
};
|
|
3375
3375
|
|
|
3376
|
-
function validate$19(obj, path = 'ManagedContentAdditionalVariantInputRepresentation') {
|
|
3377
|
-
const v_error = (() => {
|
|
3378
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3379
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3380
|
-
}
|
|
3381
|
-
const obj_contentBody = obj.contentBody;
|
|
3382
|
-
const path_contentBody = path + '.contentBody';
|
|
3383
|
-
if (typeof obj_contentBody !== 'object' || ArrayIsArray(obj_contentBody) || obj_contentBody === null) {
|
|
3384
|
-
return new TypeError('Expected "object" but received "' + typeof obj_contentBody + '" (at "' + path_contentBody + '")');
|
|
3385
|
-
}
|
|
3386
|
-
const obj_contentBody_keys = ObjectKeys(obj_contentBody);
|
|
3387
|
-
for (let i = 0; i < obj_contentBody_keys.length; i++) {
|
|
3388
|
-
const key = obj_contentBody_keys[i];
|
|
3389
|
-
const obj_contentBody_prop = obj_contentBody[key];
|
|
3390
|
-
const path_contentBody_prop = path_contentBody + '["' + key + '"]';
|
|
3391
|
-
if (obj_contentBody_prop === undefined) {
|
|
3392
|
-
return new TypeError('Expected "defined" but received "' + typeof obj_contentBody_prop + '" (at "' + path_contentBody_prop + '")');
|
|
3393
|
-
}
|
|
3394
|
-
}
|
|
3395
|
-
const obj_language = obj.language;
|
|
3396
|
-
const path_language = path + '.language';
|
|
3397
|
-
if (typeof obj_language !== 'string') {
|
|
3398
|
-
return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
3399
|
-
}
|
|
3400
|
-
if (obj.title !== undefined) {
|
|
3401
|
-
const obj_title = obj.title;
|
|
3402
|
-
const path_title = path + '.title';
|
|
3403
|
-
if (typeof obj_title !== 'string') {
|
|
3404
|
-
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
3405
|
-
}
|
|
3406
|
-
}
|
|
3407
|
-
if (obj.urlName !== undefined) {
|
|
3408
|
-
const obj_urlName = obj.urlName;
|
|
3409
|
-
const path_urlName = path + '.urlName';
|
|
3410
|
-
if (typeof obj_urlName !== 'string') {
|
|
3411
|
-
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
3412
|
-
}
|
|
3413
|
-
}
|
|
3414
|
-
if (obj.variantType !== undefined) {
|
|
3415
|
-
const obj_variantType = obj.variantType;
|
|
3416
|
-
const path_variantType = path + '.variantType';
|
|
3417
|
-
if (typeof obj_variantType !== 'string') {
|
|
3418
|
-
return new TypeError('Expected "string" but received "' + typeof obj_variantType + '" (at "' + path_variantType + '")');
|
|
3419
|
-
}
|
|
3420
|
-
}
|
|
3421
|
-
})();
|
|
3422
|
-
return v_error === undefined ? null : v_error;
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
3376
|
function validate$18(obj, path = 'ManagedContentInputRepresentation') {
|
|
3426
3377
|
const v_error = (() => {
|
|
3427
3378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3428
3379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3429
3380
|
}
|
|
3430
|
-
if (obj.additionalVariants !== undefined) {
|
|
3431
|
-
const obj_additionalVariants = obj.additionalVariants;
|
|
3432
|
-
const path_additionalVariants = path + '.additionalVariants';
|
|
3433
|
-
if (!ArrayIsArray(obj_additionalVariants)) {
|
|
3434
|
-
return new TypeError('Expected "array" but received "' + typeof obj_additionalVariants + '" (at "' + path_additionalVariants + '")');
|
|
3435
|
-
}
|
|
3436
|
-
for (let i = 0; i < obj_additionalVariants.length; i++) {
|
|
3437
|
-
const obj_additionalVariants_item = obj_additionalVariants[i];
|
|
3438
|
-
const path_additionalVariants_item = path_additionalVariants + '[' + i + ']';
|
|
3439
|
-
const referencepath_additionalVariants_itemValidationError = validate$19(obj_additionalVariants_item, path_additionalVariants_item);
|
|
3440
|
-
if (referencepath_additionalVariants_itemValidationError !== null) {
|
|
3441
|
-
let message = 'Object doesn\'t match ManagedContentAdditionalVariantInputRepresentation (at "' + path_additionalVariants_item + '")\n';
|
|
3442
|
-
message += referencepath_additionalVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3443
|
-
return new TypeError(message);
|
|
3444
|
-
}
|
|
3445
|
-
}
|
|
3446
|
-
}
|
|
3447
3381
|
const obj_contentBody = obj.contentBody;
|
|
3448
3382
|
const path_contentBody = path + '.contentBody';
|
|
3449
3383
|
if (typeof obj_contentBody !== 'object' || ArrayIsArray(obj_contentBody) || obj_contentBody === null) {
|
|
@@ -3621,7 +3555,7 @@ function validate$14(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3621
3555
|
}
|
|
3622
3556
|
const obj_contentType = obj.contentType;
|
|
3623
3557
|
const path_contentType = path + '.contentType';
|
|
3624
|
-
const referencepath_contentTypeValidationError = validate$
|
|
3558
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
3625
3559
|
if (referencepath_contentTypeValidationError !== null) {
|
|
3626
3560
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
3627
3561
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3655,7 +3589,7 @@ function validate$14(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3655
3589
|
}
|
|
3656
3590
|
const obj_createdBy = obj.createdBy;
|
|
3657
3591
|
const path_createdBy = path + '.createdBy';
|
|
3658
|
-
const referencepath_createdByValidationError = validate$
|
|
3592
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
3659
3593
|
if (referencepath_createdByValidationError !== null) {
|
|
3660
3594
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
3661
3595
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3686,7 +3620,7 @@ function validate$14(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3686
3620
|
}
|
|
3687
3621
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3688
3622
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3689
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
3623
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3690
3624
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3691
3625
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3692
3626
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4432,7 +4366,7 @@ function validate$10(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4432
4366
|
}
|
|
4433
4367
|
const obj_contentType = obj.contentType;
|
|
4434
4368
|
const path_contentType = path + '.contentType';
|
|
4435
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4369
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
4436
4370
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4437
4371
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4438
4372
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4440,7 +4374,7 @@ function validate$10(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4440
4374
|
}
|
|
4441
4375
|
const obj_createdBy = obj.createdBy;
|
|
4442
4376
|
const path_createdBy = path + '.createdBy';
|
|
4443
|
-
const referencepath_createdByValidationError = validate$
|
|
4377
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
4444
4378
|
if (referencepath_createdByValidationError !== null) {
|
|
4445
4379
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
4446
4380
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4471,7 +4405,7 @@ function validate$10(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4471
4405
|
}
|
|
4472
4406
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4473
4407
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4474
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4408
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4475
4409
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4476
4410
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4477
4411
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4606,16 +4540,16 @@ function createResourceRequest$F(config) {
|
|
|
4606
4540
|
|
|
4607
4541
|
const adapterName$F = 'createManagedContentVariant';
|
|
4608
4542
|
const createManagedContentVariant_ConfigPropertyMetadata = [
|
|
4609
|
-
generateParamConfigMetadata('
|
|
4543
|
+
generateParamConfigMetadata('ManagedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
|
|
4610
4544
|
];
|
|
4611
4545
|
const createManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, createManagedContentVariant_ConfigPropertyMetadata);
|
|
4612
4546
|
const createResourceParams$F = /*#__PURE__*/ createResourceParams$Q(createManagedContentVariant_ConfigPropertyMetadata);
|
|
4613
4547
|
function typeCheckConfig$F(untrustedConfig) {
|
|
4614
4548
|
const config = {};
|
|
4615
|
-
const
|
|
4616
|
-
const referenceManagedContentVariantInputRepresentationValidationError = validate$11(
|
|
4549
|
+
const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
|
|
4550
|
+
const referenceManagedContentVariantInputRepresentationValidationError = validate$11(untrustedConfig_ManagedContentVariantInputParam);
|
|
4617
4551
|
if (referenceManagedContentVariantInputRepresentationValidationError === null) {
|
|
4618
|
-
config.
|
|
4552
|
+
config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
|
|
4619
4553
|
}
|
|
4620
4554
|
return config;
|
|
4621
4555
|
}
|
|
@@ -5025,7 +4959,7 @@ function validate$_(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5025
4959
|
}
|
|
5026
4960
|
const obj_createdBy = obj.createdBy;
|
|
5027
4961
|
const path_createdBy = path + '.createdBy';
|
|
5028
|
-
const referencepath_createdByValidationError = validate$
|
|
4962
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
5029
4963
|
if (referencepath_createdByValidationError !== null) {
|
|
5030
4964
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
5031
4965
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5038,7 +4972,7 @@ function validate$_(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5038
4972
|
}
|
|
5039
4973
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5040
4974
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5041
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4975
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5042
4976
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5043
4977
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5044
4978
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7611,7 +7545,7 @@ function validate$H(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
7611
7545
|
const path_contentType = path + '.contentType';
|
|
7612
7546
|
let obj_contentType_union0 = null;
|
|
7613
7547
|
const obj_contentType_union0_error = (() => {
|
|
7614
|
-
const referencepath_contentTypeValidationError = validate$
|
|
7548
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
7615
7549
|
if (referencepath_contentTypeValidationError !== null) {
|
|
7616
7550
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
7617
7551
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7991,7 +7925,7 @@ function validate$E(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
7991
7925
|
}
|
|
7992
7926
|
const obj_contentType = obj.contentType;
|
|
7993
7927
|
const path_contentType = path + '.contentType';
|
|
7994
|
-
const referencepath_contentTypeValidationError = validate$
|
|
7928
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
7995
7929
|
if (referencepath_contentTypeValidationError !== null) {
|
|
7996
7930
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
7997
7931
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7999,7 +7933,7 @@ function validate$E(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
7999
7933
|
}
|
|
8000
7934
|
const obj_createdBy = obj.createdBy;
|
|
8001
7935
|
const path_createdBy = path + '.createdBy';
|
|
8002
|
-
const referencepath_createdByValidationError = validate$
|
|
7936
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
8003
7937
|
if (referencepath_createdByValidationError !== null) {
|
|
8004
7938
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8005
7939
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8025,7 +7959,7 @@ function validate$E(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8025
7959
|
}
|
|
8026
7960
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8027
7961
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8028
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
7962
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8029
7963
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8030
7964
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8031
7965
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9528,7 +9462,7 @@ function validate$w(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
9528
9462
|
if (obj.contentType !== undefined) {
|
|
9529
9463
|
const obj_contentType = obj.contentType;
|
|
9530
9464
|
const path_contentType = path + '.contentType';
|
|
9531
|
-
const referencepath_contentTypeValidationError = validate$
|
|
9465
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
9532
9466
|
if (referencepath_contentTypeValidationError !== null) {
|
|
9533
9467
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
9534
9468
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10480,7 +10414,7 @@ function validate$p(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10480
10414
|
}
|
|
10481
10415
|
const obj_createdBy = obj.createdBy;
|
|
10482
10416
|
const path_createdBy = path + '.createdBy';
|
|
10483
|
-
const referencepath_createdByValidationError = validate$
|
|
10417
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
10484
10418
|
if (referencepath_createdByValidationError !== null) {
|
|
10485
10419
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
10486
10420
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10506,7 +10440,7 @@ function validate$p(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10506
10440
|
}
|
|
10507
10441
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
10508
10442
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
10509
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
10443
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
10510
10444
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
10511
10445
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
10512
10446
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12045,7 +11979,7 @@ function validate$h(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
12045
11979
|
}
|
|
12046
11980
|
const obj_contentType = obj.contentType;
|
|
12047
11981
|
const path_contentType = path + '.contentType';
|
|
12048
|
-
const referencepath_contentTypeValidationError = validate$
|
|
11982
|
+
const referencepath_contentTypeValidationError = validate$1q(obj_contentType, path_contentType);
|
|
12049
11983
|
if (referencepath_contentTypeValidationError !== null) {
|
|
12050
11984
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
12051
11985
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12079,7 +12013,7 @@ function validate$h(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
12079
12013
|
}
|
|
12080
12014
|
const obj_createdBy = obj.createdBy;
|
|
12081
12015
|
const path_createdBy = path + '.createdBy';
|
|
12082
|
-
const referencepath_createdByValidationError = validate$
|
|
12016
|
+
const referencepath_createdByValidationError = validate$1n(obj_createdBy, path_createdBy);
|
|
12083
12017
|
if (referencepath_createdByValidationError !== null) {
|
|
12084
12018
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
12085
12019
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12131,7 +12065,7 @@ function validate$h(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
12131
12065
|
}
|
|
12132
12066
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
12133
12067
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
12134
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12068
|
+
const referencepath_lastModifiedByValidationError = validate$1n(obj_lastModifiedBy, path_lastModifiedBy);
|
|
12135
12069
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
12136
12070
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
12137
12071
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12793,7 +12727,7 @@ function validate$d(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12793
12727
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12794
12728
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12795
12729
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12796
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12730
|
+
const referencepath_contentTypes_itemValidationError = validate$1q(obj_contentTypes_item, path_contentTypes_item);
|
|
12797
12731
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12798
12732
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12799
12733
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7,7 +7,7 @@ export declare const adapterName = "createManagedContentVariant";
|
|
|
7
7
|
export declare const createManagedContentVariant_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
8
|
export declare const createManagedContentVariant_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
9
|
export interface CreateManagedContentVariantConfig {
|
|
10
|
-
|
|
10
|
+
ManagedContentVariantInputParam: types_ManagedContentVariantInputRepresentation_ManagedContentVariantInputRepresentation;
|
|
11
11
|
}
|
|
12
12
|
export declare const createResourceParams: (config: CreateManagedContentVariantConfig) => resources_postConnectCmsContentsVariants_ResourceRequestConfig;
|
|
13
13
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateManagedContentVariantConfig>): adapter$45$utils_Untrusted<CreateManagedContentVariantConfig>;
|
|
@@ -3,7 +3,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
|
3
3
|
import { ManagedContentVariantRepresentation as types_ManagedContentVariantRepresentation_ManagedContentVariantRepresentation } from '../types/ManagedContentVariantRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
body: {
|
|
6
|
-
|
|
6
|
+
ManagedContentVariantInputParam: types_ManagedContentVariantInputRepresentation_ManagedContentVariantInputRepresentation;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|