@salesforce/lds-adapters-cms-authoring 1.418.0 → 1.419.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 +66 -178
- package/dist/es/es2018/types/src/generated/adapters/createManagedContent.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/adapters/replaceManagedContentVariant.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsContents.d.ts +0 -3
- package/dist/es/es2018/types/src/generated/resources/putConnectCmsContentsVariantsByVariantId.d.ts +0 -3
- package/dist/es/es2018/types/src/generated/types/ManagedContentDocumentRepresentation.d.ts +1 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantRepresentation.d.ts +1 -8
- package/package.json +4 -4
- package/sfdc/index.js +57 -169
- package/src/raml/api.raml +0 -70
- package/src/raml/luvio.raml +6 -12
- package/dist/es/es2018/types/src/generated/types/ManagedContentErrorRepresentation.d.ts +0 -32
- package/dist/es/es2018/types/src/generated/types/ManagedContentSchemaValidationErrorBlockSummaryRepresentation.d.ts +0 -31
- package/dist/es/es2018/types/src/generated/types/ManagedContentSchemaValidationErrorRepresentation.d.ts +0 -35
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1q(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -122,7 +122,7 @@ function validate$1t(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
|
122
122
|
return v_error === undefined ? null : v_error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$
|
|
125
|
+
function validate$1p(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
126
126
|
const v_error = (() => {
|
|
127
127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -146,7 +146,7 @@ function validate$1s(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
|
146
146
|
return v_error === undefined ? null : v_error;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
function validate$
|
|
149
|
+
function validate$1o(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
150
150
|
const v_error = (() => {
|
|
151
151
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
152
152
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -165,7 +165,7 @@ function validate$1r(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
|
165
165
|
return v_error === undefined ? null : v_error;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
function validate$
|
|
168
|
+
function validate$1n(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
169
169
|
const v_error = (() => {
|
|
170
170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
171
171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -212,7 +212,7 @@ function validate$1q(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
212
212
|
|
|
213
213
|
const TTL$E = 100;
|
|
214
214
|
const VERSION$O = "7066162a0da609712a7a7b3fa365ed68";
|
|
215
|
-
function validate$
|
|
215
|
+
function validate$1m(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
216
216
|
const v_error = (() => {
|
|
217
217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
218
218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -247,7 +247,7 @@ function validate$1p(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
247
247
|
}
|
|
248
248
|
const obj_cloneStatus = obj.cloneStatus;
|
|
249
249
|
const path_cloneStatus = path + '.cloneStatus';
|
|
250
|
-
const referencepath_cloneStatusValidationError = validate$
|
|
250
|
+
const referencepath_cloneStatusValidationError = validate$1q(obj_cloneStatus, path_cloneStatus);
|
|
251
251
|
if (referencepath_cloneStatusValidationError !== null) {
|
|
252
252
|
let message = 'Object doesn\'t match ManagedContentCloneStatusRepresentation (at "' + path_cloneStatus + '")\n';
|
|
253
253
|
message += referencepath_cloneStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -294,7 +294,7 @@ function validate$1p(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
294
294
|
for (let i = 0; i < obj_failedVariants.length; i++) {
|
|
295
295
|
const obj_failedVariants_item = obj_failedVariants[i];
|
|
296
296
|
const path_failedVariants_item = path_failedVariants + '[' + i + ']';
|
|
297
|
-
const referencepath_failedVariants_itemValidationError = validate$
|
|
297
|
+
const referencepath_failedVariants_itemValidationError = validate$1p(obj_failedVariants_item, path_failedVariants_item);
|
|
298
298
|
if (referencepath_failedVariants_itemValidationError !== null) {
|
|
299
299
|
let message = 'Object doesn\'t match ManagedContentFailedVariantsRepresentation (at "' + path_failedVariants_item + '")\n';
|
|
300
300
|
message += referencepath_failedVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -304,7 +304,7 @@ function validate$1p(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
304
304
|
if (obj.folder !== undefined) {
|
|
305
305
|
const obj_folder = obj.folder;
|
|
306
306
|
const path_folder = path + '.folder';
|
|
307
|
-
const referencepath_folderValidationError = validate$
|
|
307
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
308
308
|
if (referencepath_folderValidationError !== null) {
|
|
309
309
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
310
310
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -408,7 +408,7 @@ function validate$1p(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
408
408
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
409
409
|
const obj_variants_item = obj_variants[i];
|
|
410
410
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
411
|
-
const referencepath_variants_itemValidationError = validate$
|
|
411
|
+
const referencepath_variants_itemValidationError = validate$1n(obj_variants_item, path_variants_item);
|
|
412
412
|
if (referencepath_variants_itemValidationError !== null) {
|
|
413
413
|
let message = 'Object doesn\'t match ManagedContentClonedVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
414
414
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -447,7 +447,7 @@ function equals$O(existing, incoming) {
|
|
|
447
447
|
}
|
|
448
448
|
const ingest$E = function ManagedContentDocumentCloneRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
449
449
|
if (process.env.NODE_ENV !== 'production') {
|
|
450
|
-
const validateError = validate$
|
|
450
|
+
const validateError = validate$1m(input);
|
|
451
451
|
if (validateError !== null) {
|
|
452
452
|
throw validateError;
|
|
453
453
|
}
|
|
@@ -562,7 +562,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
564
|
|
|
565
|
-
function validate$
|
|
565
|
+
function validate$1l(obj, path = 'ManagedContentDeploymentInputRepresentation') {
|
|
566
566
|
const v_error = (() => {
|
|
567
567
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
568
568
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -647,7 +647,7 @@ function validate$1o(obj, path = 'ManagedContentDeploymentInputRepresentation')
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
const VERSION$N = "7297fb0dbfe8f664d76179a65037c290";
|
|
650
|
-
function validate$
|
|
650
|
+
function validate$1k(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
651
651
|
const v_error = (() => {
|
|
652
652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
653
653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -708,7 +708,7 @@ function equals$N(existing, incoming) {
|
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
const VERSION$M = "c30d880a3dba684a405d1cf961af2b76";
|
|
711
|
-
function validate$
|
|
711
|
+
function validate$1j(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
|
|
712
712
|
const v_error = (() => {
|
|
713
713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
714
714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -717,7 +717,7 @@ function validate$1m(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
717
717
|
const path_contentType = path + '.contentType';
|
|
718
718
|
let obj_contentType_union0 = null;
|
|
719
719
|
const obj_contentType_union0_error = (() => {
|
|
720
|
-
const referencepath_contentTypeValidationError = validate$
|
|
720
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
721
721
|
if (referencepath_contentTypeValidationError !== null) {
|
|
722
722
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
723
723
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -949,7 +949,7 @@ function equals$M(existing, incoming) {
|
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
const VERSION$L = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
952
|
-
function validate$
|
|
952
|
+
function validate$1i(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
953
953
|
const v_error = (() => {
|
|
954
954
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
955
955
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -976,7 +976,7 @@ function validate$1l(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
976
976
|
}
|
|
977
977
|
const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
|
|
978
978
|
const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
|
|
979
|
-
const referencepath_mcvSnapshotSummaryValidationError = validate$
|
|
979
|
+
const referencepath_mcvSnapshotSummaryValidationError = validate$1j(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
|
|
980
980
|
if (referencepath_mcvSnapshotSummaryValidationError !== null) {
|
|
981
981
|
let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
|
|
982
982
|
message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1130,7 +1130,7 @@ function equals$L(existing, incoming) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
1132
|
const VERSION$K = "4b75ed6ff448da86412b605f7e775a62";
|
|
1133
|
-
function validate$
|
|
1133
|
+
function validate$1h(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
1134
1134
|
const v_error = (() => {
|
|
1135
1135
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1136
1136
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1206,7 +1206,7 @@ function equals$K(existing, incoming) {
|
|
|
1206
1206
|
|
|
1207
1207
|
const TTL$D = 100;
|
|
1208
1208
|
const VERSION$J = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
1209
|
-
function validate$
|
|
1209
|
+
function validate$1g(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
1210
1210
|
const v_error = (() => {
|
|
1211
1211
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1212
1212
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1276,7 +1276,7 @@ function validate$1j(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1276
1276
|
for (let i = 0; i < obj_deploymentItems.length; i++) {
|
|
1277
1277
|
const obj_deploymentItems_item = obj_deploymentItems[i];
|
|
1278
1278
|
const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
|
|
1279
|
-
const referencepath_deploymentItems_itemValidationError = validate$
|
|
1279
|
+
const referencepath_deploymentItems_itemValidationError = validate$1i(obj_deploymentItems_item, path_deploymentItems_item);
|
|
1280
1280
|
if (referencepath_deploymentItems_itemValidationError !== null) {
|
|
1281
1281
|
let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
|
|
1282
1282
|
message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1339,7 +1339,7 @@ function validate$1j(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1339
1339
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1340
1340
|
let obj_lastModifiedBy_union0 = null;
|
|
1341
1341
|
const obj_lastModifiedBy_union0_error = (() => {
|
|
1342
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1342
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1343
1343
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1344
1344
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1345
1345
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1506,7 +1506,7 @@ function equals$J(existing, incoming) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
const ingest$D = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1508
1508
|
if (process.env.NODE_ENV !== 'production') {
|
|
1509
|
-
const validateError = validate$
|
|
1509
|
+
const validateError = validate$1g(input);
|
|
1510
1510
|
if (validateError !== null) {
|
|
1511
1511
|
throw validateError;
|
|
1512
1512
|
}
|
|
@@ -1572,7 +1572,7 @@ const createResourceParams$O = /*#__PURE__*/ createResourceParams$Q(createDeploy
|
|
|
1572
1572
|
function typeCheckConfig$O(untrustedConfig) {
|
|
1573
1573
|
const config = {};
|
|
1574
1574
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1575
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1575
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$1l(untrustedConfig_DeploymentInput);
|
|
1576
1576
|
if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
|
|
1577
1577
|
config.DeploymentInput = untrustedConfig_DeploymentInput;
|
|
1578
1578
|
}
|
|
@@ -1620,7 +1620,7 @@ const createDeploymentAdapterFactory = (luvio) => {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
};
|
|
1622
1622
|
|
|
1623
|
-
function validate$
|
|
1623
|
+
function validate$1f(obj, path = 'ManagedContentInputRepresentation') {
|
|
1624
1624
|
const v_error = (() => {
|
|
1625
1625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1626
1626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1681,7 +1681,7 @@ function validate$1i(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
1681
1681
|
return v_error === undefined ? null : v_error;
|
|
1682
1682
|
}
|
|
1683
1683
|
|
|
1684
|
-
function validate$
|
|
1684
|
+
function validate$1e(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
1685
1685
|
const v_error = (() => {
|
|
1686
1686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1687
1687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1700,74 +1700,6 @@ function validate$1h(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
|
1700
1700
|
return v_error === undefined ? null : v_error;
|
|
1701
1701
|
}
|
|
1702
1702
|
|
|
1703
|
-
function validate$1g(obj, path = 'ManagedContentSchemaValidationErrorBlockSummaryRepresentation') {
|
|
1704
|
-
const v_error = (() => {
|
|
1705
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1706
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1707
|
-
}
|
|
1708
|
-
const obj_blockId = obj.blockId;
|
|
1709
|
-
const path_blockId = path + '.blockId';
|
|
1710
|
-
if (typeof obj_blockId !== 'string') {
|
|
1711
|
-
return new TypeError('Expected "string" but received "' + typeof obj_blockId + '" (at "' + path_blockId + '")');
|
|
1712
|
-
}
|
|
1713
|
-
const obj_blockLabel = obj.blockLabel;
|
|
1714
|
-
const path_blockLabel = path + '.blockLabel';
|
|
1715
|
-
if (typeof obj_blockLabel !== 'string') {
|
|
1716
|
-
return new TypeError('Expected "string" but received "' + typeof obj_blockLabel + '" (at "' + path_blockLabel + '")');
|
|
1717
|
-
}
|
|
1718
|
-
})();
|
|
1719
|
-
return v_error === undefined ? null : v_error;
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
function validate$1f(obj, path = 'ManagedContentSchemaValidationErrorRepresentation') {
|
|
1723
|
-
const v_error = (() => {
|
|
1724
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1725
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1726
|
-
}
|
|
1727
|
-
const obj_block = obj.block;
|
|
1728
|
-
const path_block = path + '.block';
|
|
1729
|
-
const referencepath_blockValidationError = validate$1g(obj_block, path_block);
|
|
1730
|
-
if (referencepath_blockValidationError !== null) {
|
|
1731
|
-
let message = 'Object doesn\'t match ManagedContentSchemaValidationErrorBlockSummaryRepresentation (at "' + path_block + '")\n';
|
|
1732
|
-
message += referencepath_blockValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1733
|
-
return new TypeError(message);
|
|
1734
|
-
}
|
|
1735
|
-
const obj_message = obj.message;
|
|
1736
|
-
const path_message = path + '.message';
|
|
1737
|
-
if (typeof obj_message !== 'string') {
|
|
1738
|
-
return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
|
|
1739
|
-
}
|
|
1740
|
-
const obj_propertyPath = obj.propertyPath;
|
|
1741
|
-
const path_propertyPath = path + '.propertyPath';
|
|
1742
|
-
if (typeof obj_propertyPath !== 'string') {
|
|
1743
|
-
return new TypeError('Expected "string" but received "' + typeof obj_propertyPath + '" (at "' + path_propertyPath + '")');
|
|
1744
|
-
}
|
|
1745
|
-
})();
|
|
1746
|
-
return v_error === undefined ? null : v_error;
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
function validate$1e(obj, path = 'ManagedContentErrorRepresentation') {
|
|
1750
|
-
const v_error = (() => {
|
|
1751
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1752
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1753
|
-
}
|
|
1754
|
-
const obj_errorCode = obj.errorCode;
|
|
1755
|
-
const path_errorCode = path + '.errorCode';
|
|
1756
|
-
if (typeof obj_errorCode !== 'string') {
|
|
1757
|
-
return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
|
|
1758
|
-
}
|
|
1759
|
-
const obj_errorMessage = obj.errorMessage;
|
|
1760
|
-
const path_errorMessage = path + '.errorMessage';
|
|
1761
|
-
const referencepath_errorMessageValidationError = validate$1f(obj_errorMessage, path_errorMessage);
|
|
1762
|
-
if (referencepath_errorMessageValidationError !== null) {
|
|
1763
|
-
let message = 'Object doesn\'t match ManagedContentSchemaValidationErrorRepresentation (at "' + path_errorMessage + '")\n';
|
|
1764
|
-
message += referencepath_errorMessageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1765
|
-
return new TypeError(message);
|
|
1766
|
-
}
|
|
1767
|
-
})();
|
|
1768
|
-
return v_error === undefined ? null : v_error;
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
1703
|
function validate$1d(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
1772
1704
|
const v_error = (() => {
|
|
1773
1705
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1788,7 +1720,7 @@ function validate$1d(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
|
1788
1720
|
}
|
|
1789
1721
|
|
|
1790
1722
|
const TTL$C = 100;
|
|
1791
|
-
const VERSION$I = "
|
|
1723
|
+
const VERSION$I = "6a11daeb9fe5ea23da2a7b4eb368581a";
|
|
1792
1724
|
function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
1793
1725
|
const v_error = (() => {
|
|
1794
1726
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1843,7 +1775,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1843
1775
|
}
|
|
1844
1776
|
const obj_contentSpace = obj.contentSpace;
|
|
1845
1777
|
const path_contentSpace = path + '.contentSpace';
|
|
1846
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
1778
|
+
const referencepath_contentSpaceValidationError = validate$1e(obj_contentSpace, path_contentSpace);
|
|
1847
1779
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
1848
1780
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
1849
1781
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1851,7 +1783,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1851
1783
|
}
|
|
1852
1784
|
const obj_contentType = obj.contentType;
|
|
1853
1785
|
const path_contentType = path + '.contentType';
|
|
1854
|
-
const referencepath_contentTypeValidationError = validate$
|
|
1786
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
1855
1787
|
if (referencepath_contentTypeValidationError !== null) {
|
|
1856
1788
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
1857
1789
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1885,7 +1817,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1885
1817
|
}
|
|
1886
1818
|
const obj_createdBy = obj.createdBy;
|
|
1887
1819
|
const path_createdBy = path + '.createdBy';
|
|
1888
|
-
const referencepath_createdByValidationError = validate$
|
|
1820
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
1889
1821
|
if (referencepath_createdByValidationError !== null) {
|
|
1890
1822
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
1891
1823
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1896,26 +1828,9 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1896
1828
|
if (typeof obj_createdDate !== 'string') {
|
|
1897
1829
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
1898
1830
|
}
|
|
1899
|
-
if (obj.errors !== undefined) {
|
|
1900
|
-
const obj_errors = obj.errors;
|
|
1901
|
-
const path_errors = path + '.errors';
|
|
1902
|
-
if (!ArrayIsArray(obj_errors)) {
|
|
1903
|
-
return new TypeError('Expected "array" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
|
|
1904
|
-
}
|
|
1905
|
-
for (let i = 0; i < obj_errors.length; i++) {
|
|
1906
|
-
const obj_errors_item = obj_errors[i];
|
|
1907
|
-
const path_errors_item = path_errors + '[' + i + ']';
|
|
1908
|
-
const referencepath_errors_itemValidationError = validate$1e(obj_errors_item, path_errors_item);
|
|
1909
|
-
if (referencepath_errors_itemValidationError !== null) {
|
|
1910
|
-
let message = 'Object doesn\'t match ManagedContentErrorRepresentation (at "' + path_errors_item + '")\n';
|
|
1911
|
-
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1912
|
-
return new TypeError(message);
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
1831
|
const obj_folder = obj.folder;
|
|
1917
1832
|
const path_folder = path + '.folder';
|
|
1918
|
-
const referencepath_folderValidationError = validate$
|
|
1833
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
1919
1834
|
if (referencepath_folderValidationError !== null) {
|
|
1920
1835
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
1921
1836
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1933,7 +1848,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1933
1848
|
}
|
|
1934
1849
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1935
1850
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1936
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1851
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1937
1852
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1938
1853
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1939
1854
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2111,7 +2026,7 @@ function createResourceRequest$N(config) {
|
|
|
2111
2026
|
method: 'post',
|
|
2112
2027
|
body: config.body,
|
|
2113
2028
|
urlParams: {},
|
|
2114
|
-
queryParams:
|
|
2029
|
+
queryParams: {},
|
|
2115
2030
|
headers,
|
|
2116
2031
|
priority: 'normal',
|
|
2117
2032
|
};
|
|
@@ -2123,16 +2038,14 @@ function ingestSuccess$N(luvio, resourceParams, response) {
|
|
|
2123
2038
|
|
|
2124
2039
|
const adapterName$N = 'createManagedContent';
|
|
2125
2040
|
const createManagedContent_ConfigPropertyMetadata = [
|
|
2126
|
-
generateParamConfigMetadata('saveMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2127
2041
|
generateParamConfigMetadata('ManagedContentInputParam', true, 2 /* Body */, 4 /* Unsupported */),
|
|
2128
2042
|
];
|
|
2129
2043
|
const createManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$N, createManagedContent_ConfigPropertyMetadata);
|
|
2130
2044
|
const createResourceParams$N = /*#__PURE__*/ createResourceParams$Q(createManagedContent_ConfigPropertyMetadata);
|
|
2131
2045
|
function typeCheckConfig$N(untrustedConfig) {
|
|
2132
2046
|
const config = {};
|
|
2133
|
-
typeCheckConfig$Q(untrustedConfig, config, createManagedContent_ConfigPropertyMetadata);
|
|
2134
2047
|
const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
|
|
2135
|
-
const referenceManagedContentInputRepresentationValidationError = validate$
|
|
2048
|
+
const referenceManagedContentInputRepresentationValidationError = validate$1f(untrustedConfig_ManagedContentInputParam);
|
|
2136
2049
|
if (referenceManagedContentInputRepresentationValidationError === null) {
|
|
2137
2050
|
config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
|
|
2138
2051
|
}
|
|
@@ -2658,7 +2571,7 @@ const createManagedContentImportV2JobAdapterFactory = (luvio) => {
|
|
|
2658
2571
|
};
|
|
2659
2572
|
|
|
2660
2573
|
const TTL$A = 3600000;
|
|
2661
|
-
const VERSION$G = "
|
|
2574
|
+
const VERSION$G = "7752c6a8bb6b113a02bfde83f39e5957";
|
|
2662
2575
|
function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
2663
2576
|
const v_error = (() => {
|
|
2664
2577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2685,7 +2598,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2685
2598
|
}
|
|
2686
2599
|
const obj_contentSpace = obj.contentSpace;
|
|
2687
2600
|
const path_contentSpace = path + '.contentSpace';
|
|
2688
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
2601
|
+
const referencepath_contentSpaceValidationError = validate$1e(obj_contentSpace, path_contentSpace);
|
|
2689
2602
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
2690
2603
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
2691
2604
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2693,7 +2606,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2693
2606
|
}
|
|
2694
2607
|
const obj_contentType = obj.contentType;
|
|
2695
2608
|
const path_contentType = path + '.contentType';
|
|
2696
|
-
const referencepath_contentTypeValidationError = validate$
|
|
2609
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
2697
2610
|
if (referencepath_contentTypeValidationError !== null) {
|
|
2698
2611
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
2699
2612
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2701,7 +2614,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2701
2614
|
}
|
|
2702
2615
|
const obj_createdBy = obj.createdBy;
|
|
2703
2616
|
const path_createdBy = path + '.createdBy';
|
|
2704
|
-
const referencepath_createdByValidationError = validate$
|
|
2617
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
2705
2618
|
if (referencepath_createdByValidationError !== null) {
|
|
2706
2619
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
2707
2620
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2712,26 +2625,9 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2712
2625
|
if (typeof obj_createdDate !== 'string') {
|
|
2713
2626
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
2714
2627
|
}
|
|
2715
|
-
if (obj.errors !== undefined) {
|
|
2716
|
-
const obj_errors = obj.errors;
|
|
2717
|
-
const path_errors = path + '.errors';
|
|
2718
|
-
if (!ArrayIsArray(obj_errors)) {
|
|
2719
|
-
return new TypeError('Expected "array" but received "' + typeof obj_errors + '" (at "' + path_errors + '")');
|
|
2720
|
-
}
|
|
2721
|
-
for (let i = 0; i < obj_errors.length; i++) {
|
|
2722
|
-
const obj_errors_item = obj_errors[i];
|
|
2723
|
-
const path_errors_item = path_errors + '[' + i + ']';
|
|
2724
|
-
const referencepath_errors_itemValidationError = validate$1e(obj_errors_item, path_errors_item);
|
|
2725
|
-
if (referencepath_errors_itemValidationError !== null) {
|
|
2726
|
-
let message = 'Object doesn\'t match ManagedContentErrorRepresentation (at "' + path_errors_item + '")\n';
|
|
2727
|
-
message += referencepath_errors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2728
|
-
return new TypeError(message);
|
|
2729
|
-
}
|
|
2730
|
-
}
|
|
2731
|
-
}
|
|
2732
2628
|
const obj_folder = obj.folder;
|
|
2733
2629
|
const path_folder = path + '.folder';
|
|
2734
|
-
const referencepath_folderValidationError = validate$
|
|
2630
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
2735
2631
|
if (referencepath_folderValidationError !== null) {
|
|
2736
2632
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
2737
2633
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2749,7 +2645,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2749
2645
|
}
|
|
2750
2646
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2751
2647
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2752
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2648
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2753
2649
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2754
2650
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2755
2651
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2793,13 +2689,6 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2793
2689
|
if (typeof obj_urlName !== 'string') {
|
|
2794
2690
|
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
2795
2691
|
}
|
|
2796
|
-
if (obj.validationStatus !== undefined) {
|
|
2797
|
-
const obj_validationStatus = obj.validationStatus;
|
|
2798
|
-
const path_validationStatus = path + '.validationStatus';
|
|
2799
|
-
if (typeof obj_validationStatus !== 'string') {
|
|
2800
|
-
return new TypeError('Expected "string" but received "' + typeof obj_validationStatus + '" (at "' + path_validationStatus + '")');
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
2692
|
})();
|
|
2804
2693
|
return v_error === undefined ? null : v_error;
|
|
2805
2694
|
}
|
|
@@ -4743,7 +4632,7 @@ function validate$Z(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
4743
4632
|
}
|
|
4744
4633
|
const obj_collectionType = obj.collectionType;
|
|
4745
4634
|
const path_collectionType = path + '.collectionType';
|
|
4746
|
-
const referencepath_collectionTypeValidationError = validate$
|
|
4635
|
+
const referencepath_collectionTypeValidationError = validate$1k(obj_collectionType, path_collectionType);
|
|
4747
4636
|
if (referencepath_collectionTypeValidationError !== null) {
|
|
4748
4637
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
|
|
4749
4638
|
message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6504,7 +6393,7 @@ function validate$Q(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
6504
6393
|
if (obj.contentType !== undefined) {
|
|
6505
6394
|
const obj_contentType = obj.contentType;
|
|
6506
6395
|
const path_contentType = path + '.contentType';
|
|
6507
|
-
const referencepath_contentTypeValidationError = validate$
|
|
6396
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
6508
6397
|
if (referencepath_contentTypeValidationError !== null) {
|
|
6509
6398
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
6510
6399
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8525,7 +8414,7 @@ function validate$D(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
8525
8414
|
const path_contentType = path + '.contentType';
|
|
8526
8415
|
let obj_contentType_union0 = null;
|
|
8527
8416
|
const obj_contentType_union0_error = (() => {
|
|
8528
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8417
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
8529
8418
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8530
8419
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8531
8420
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8925,7 +8814,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8925
8814
|
}
|
|
8926
8815
|
const obj_contentSpace = obj.contentSpace;
|
|
8927
8816
|
const path_contentSpace = path + '.contentSpace';
|
|
8928
|
-
const referencepath_contentSpaceValidationError = validate$
|
|
8817
|
+
const referencepath_contentSpaceValidationError = validate$1e(obj_contentSpace, path_contentSpace);
|
|
8929
8818
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
8930
8819
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
8931
8820
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8933,7 +8822,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8933
8822
|
}
|
|
8934
8823
|
const obj_contentType = obj.contentType;
|
|
8935
8824
|
const path_contentType = path + '.contentType';
|
|
8936
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8825
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
8937
8826
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8938
8827
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8939
8828
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8967,7 +8856,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8967
8856
|
}
|
|
8968
8857
|
const obj_createdBy = obj.createdBy;
|
|
8969
8858
|
const path_createdBy = path + '.createdBy';
|
|
8970
|
-
const referencepath_createdByValidationError = validate$
|
|
8859
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
8971
8860
|
if (referencepath_createdByValidationError !== null) {
|
|
8972
8861
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8973
8862
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8982,7 +8871,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8982
8871
|
const path_folder = path + '.folder';
|
|
8983
8872
|
let obj_folder_union0 = null;
|
|
8984
8873
|
const obj_folder_union0_error = (() => {
|
|
8985
|
-
const referencepath_folderValidationError = validate$
|
|
8874
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
8986
8875
|
if (referencepath_folderValidationError !== null) {
|
|
8987
8876
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
8988
8877
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9019,7 +8908,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
9019
8908
|
}
|
|
9020
8909
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9021
8910
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9022
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8911
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
9023
8912
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
9024
8913
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
9025
8914
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12169,7 +12058,7 @@ function validate$l(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12169
12058
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12170
12059
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12171
12060
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12172
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12061
|
+
const referencepath_contentTypes_itemValidationError = validate$1k(obj_contentTypes_item, path_contentTypes_item);
|
|
12173
12062
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12174
12063
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12175
12064
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12585,7 +12474,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12585
12474
|
}
|
|
12586
12475
|
const obj_contentType = obj.contentType;
|
|
12587
12476
|
const path_contentType = path + '.contentType';
|
|
12588
|
-
const referencepath_contentTypeValidationError = validate$
|
|
12477
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
12589
12478
|
if (referencepath_contentTypeValidationError !== null) {
|
|
12590
12479
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
12591
12480
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12593,7 +12482,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12593
12482
|
}
|
|
12594
12483
|
const obj_createdBy = obj.createdBy;
|
|
12595
12484
|
const path_createdBy = path + '.createdBy';
|
|
12596
|
-
const referencepath_createdByValidationError = validate$
|
|
12485
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
12597
12486
|
if (referencepath_createdByValidationError !== null) {
|
|
12598
12487
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
12599
12488
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12619,7 +12508,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12619
12508
|
}
|
|
12620
12509
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
12621
12510
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
12622
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12511
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
12623
12512
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
12624
12513
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
12625
12514
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13122,7 +13011,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
13122
13011
|
}
|
|
13123
13012
|
const obj_createdBy = obj.createdBy;
|
|
13124
13013
|
const path_createdBy = path + '.createdBy';
|
|
13125
|
-
const referencepath_createdByValidationError = validate$
|
|
13014
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
13126
13015
|
if (referencepath_createdByValidationError !== null) {
|
|
13127
13016
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
13128
13017
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13135,7 +13024,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
13135
13024
|
}
|
|
13136
13025
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
13137
13026
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
13138
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
13027
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
13139
13028
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
13140
13029
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
13141
13030
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13456,7 +13345,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13456
13345
|
}
|
|
13457
13346
|
const obj_createdBy = obj.createdBy;
|
|
13458
13347
|
const path_createdBy = path + '.createdBy';
|
|
13459
|
-
const referencepath_createdByValidationError = validate$
|
|
13348
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
13460
13349
|
if (referencepath_createdByValidationError !== null) {
|
|
13461
13350
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
13462
13351
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13469,7 +13358,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13469
13358
|
}
|
|
13470
13359
|
const obj_folder = obj.folder;
|
|
13471
13360
|
const path_folder = path + '.folder';
|
|
13472
|
-
const referencepath_folderValidationError = validate$
|
|
13361
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
13473
13362
|
if (referencepath_folderValidationError !== null) {
|
|
13474
13363
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
13475
13364
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13482,7 +13371,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13482
13371
|
}
|
|
13483
13372
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
13484
13373
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
13485
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
13374
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
13486
13375
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
13487
13376
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
13488
13377
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14967,7 +14856,7 @@ function createResourceRequest$5(config) {
|
|
|
14967
14856
|
method: 'put',
|
|
14968
14857
|
body: config.body,
|
|
14969
14858
|
urlParams: config.urlParams,
|
|
14970
|
-
queryParams:
|
|
14859
|
+
queryParams: {},
|
|
14971
14860
|
headers,
|
|
14972
14861
|
priority: 'normal',
|
|
14973
14862
|
};
|
|
@@ -14976,7 +14865,6 @@ function createResourceRequest$5(config) {
|
|
|
14976
14865
|
const adapterName$5 = 'replaceManagedContentVariant';
|
|
14977
14866
|
const replaceManagedContentVariant_ConfigPropertyMetadata = [
|
|
14978
14867
|
generateParamConfigMetadata('variantId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
14979
|
-
generateParamConfigMetadata('saveMode', false, 1 /* QueryParameter */, 0 /* String */),
|
|
14980
14868
|
generateParamConfigMetadata('ManagedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
|
|
14981
14869
|
];
|
|
14982
14870
|
const replaceManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, replaceManagedContentVariant_ConfigPropertyMetadata);
|
|
@@ -16117,4 +16005,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16117
16005
|
});
|
|
16118
16006
|
|
|
16119
16007
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentTranslationVariants, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getFormEmbedScript, getFormEmbedScript_imperative, getFormHandlerEmbedScript, getFormHandlerEmbedScript_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentDocumentCollection, getManagedContentDocumentCollection_imperative, getManagedContentExtensions, getManagedContentExtensions_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProvidersForSpace, getManagedContentProvidersForSpace_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, getManagedContentSpaceByFullyQualifiedName, getManagedContentSpaceByFullyQualifiedName_imperative, getManagedContentSpaceFolder, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceFolder_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTaxonomyTerms, getManagedContentTaxonomyTerms_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, getWebUrls, getWebUrls_imperative, patchManagedContentSpace, postManagedContentSpace, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
16120
|
-
// version: 1.
|
|
16008
|
+
// version: 1.419.0-8232dcd0ab
|