@salesforce/lds-adapters-cms-authoring 1.293.0 → 1.294.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 +119 -195
- package/dist/es/es2018/types/src/generated/adapters/publishManagedContent.d.ts +5 -2
- package/dist/es/es2018/types/src/generated/adapters/unpublishManagedContent.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsContentsPublish.d.ts +5 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsContentsUnpublish.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/ManagedContentFileUploadRepresentation.d.ts +7 -1
- package/package.json +4 -4
- package/sfdc/index.js +221 -297
- package/src/raml/api.raml +8 -15
- package/src/raml/luvio.raml +23 -27
- package/dist/es/es2018/types/src/generated/types/ManagedContentPublishInputWrapperRepresentation.d.ts +0 -28
- package/dist/es/es2018/types/src/generated/types/ManagedContentUnpublishInputWrapperRepresentation.d.ts +0 -28
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1b(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$1d(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
|
122
122
|
return v_error === undefined ? null : v_error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$
|
|
125
|
+
function validate$1a(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$1c(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
|
146
146
|
return v_error === undefined ? null : v_error;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
function validate$
|
|
149
|
+
function validate$19(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$1b(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
|
165
165
|
return v_error === undefined ? null : v_error;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
function validate$
|
|
168
|
+
function validate$18(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$1a(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
212
212
|
|
|
213
213
|
const TTL$y = 100;
|
|
214
214
|
const VERSION$F = "7066162a0da609712a7a7b3fa365ed68";
|
|
215
|
-
function validate$
|
|
215
|
+
function validate$17(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$19(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$1b(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$19(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$1a(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$19(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$19(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$19(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$18(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$F(existing, incoming) {
|
|
|
447
447
|
}
|
|
448
448
|
const ingest$y = function ManagedContentDocumentCloneRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
449
449
|
if (process.env.NODE_ENV !== 'production') {
|
|
450
|
-
const validateError = validate$
|
|
450
|
+
const validateError = validate$17(input);
|
|
451
451
|
if (validateError !== null) {
|
|
452
452
|
throw validateError;
|
|
453
453
|
}
|
|
@@ -561,7 +561,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
|
|
564
|
-
function validate$
|
|
564
|
+
function validate$16(obj, path = 'ManagedContentDeploymentInputRepresentation') {
|
|
565
565
|
const v_error = (() => {
|
|
566
566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
567
567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -646,7 +646,7 @@ function validate$18(obj, path = 'ManagedContentDeploymentInputRepresentation')
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
const VERSION$E = "7297fb0dbfe8f664d76179a65037c290";
|
|
649
|
-
function validate$
|
|
649
|
+
function validate$15(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
650
650
|
const v_error = (() => {
|
|
651
651
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
652
652
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -707,7 +707,7 @@ function equals$E(existing, incoming) {
|
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
const VERSION$D = "c30d880a3dba684a405d1cf961af2b76";
|
|
710
|
-
function validate$
|
|
710
|
+
function validate$14(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
|
|
711
711
|
const v_error = (() => {
|
|
712
712
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
713
713
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -716,7 +716,7 @@ function validate$16(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
716
716
|
const path_contentType = path + '.contentType';
|
|
717
717
|
let obj_contentType_union0 = null;
|
|
718
718
|
const obj_contentType_union0_error = (() => {
|
|
719
|
-
const referencepath_contentTypeValidationError = validate$
|
|
719
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
720
720
|
if (referencepath_contentTypeValidationError !== null) {
|
|
721
721
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
722
722
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -948,7 +948,7 @@ function equals$D(existing, incoming) {
|
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
const VERSION$C = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
951
|
-
function validate$
|
|
951
|
+
function validate$13(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
952
952
|
const v_error = (() => {
|
|
953
953
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
954
954
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -975,7 +975,7 @@ function validate$15(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
975
975
|
}
|
|
976
976
|
const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
|
|
977
977
|
const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
|
|
978
|
-
const referencepath_mcvSnapshotSummaryValidationError = validate$
|
|
978
|
+
const referencepath_mcvSnapshotSummaryValidationError = validate$14(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
|
|
979
979
|
if (referencepath_mcvSnapshotSummaryValidationError !== null) {
|
|
980
980
|
let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
|
|
981
981
|
message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1129,7 +1129,7 @@ function equals$C(existing, incoming) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
const VERSION$B = "4b75ed6ff448da86412b605f7e775a62";
|
|
1132
|
-
function validate$
|
|
1132
|
+
function validate$12(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
1133
1133
|
const v_error = (() => {
|
|
1134
1134
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1135
1135
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1205,7 +1205,7 @@ function equals$B(existing, incoming) {
|
|
|
1205
1205
|
|
|
1206
1206
|
const TTL$x = 100;
|
|
1207
1207
|
const VERSION$A = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
1208
|
-
function validate$
|
|
1208
|
+
function validate$11(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
1209
1209
|
const v_error = (() => {
|
|
1210
1210
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1211
1211
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1275,7 +1275,7 @@ function validate$13(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1275
1275
|
for (let i = 0; i < obj_deploymentItems.length; i++) {
|
|
1276
1276
|
const obj_deploymentItems_item = obj_deploymentItems[i];
|
|
1277
1277
|
const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
|
|
1278
|
-
const referencepath_deploymentItems_itemValidationError = validate$
|
|
1278
|
+
const referencepath_deploymentItems_itemValidationError = validate$13(obj_deploymentItems_item, path_deploymentItems_item);
|
|
1279
1279
|
if (referencepath_deploymentItems_itemValidationError !== null) {
|
|
1280
1280
|
let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
|
|
1281
1281
|
message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1338,7 +1338,7 @@ function validate$13(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1338
1338
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1339
1339
|
let obj_lastModifiedBy_union0 = null;
|
|
1340
1340
|
const obj_lastModifiedBy_union0_error = (() => {
|
|
1341
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1341
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1342
1342
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1343
1343
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1344
1344
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1505,7 +1505,7 @@ function equals$A(existing, incoming) {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
const ingest$x = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1507
1507
|
if (process.env.NODE_ENV !== 'production') {
|
|
1508
|
-
const validateError = validate$
|
|
1508
|
+
const validateError = validate$11(input);
|
|
1509
1509
|
if (validateError !== null) {
|
|
1510
1510
|
throw validateError;
|
|
1511
1511
|
}
|
|
@@ -1571,7 +1571,7 @@ const createResourceParams$H = /*#__PURE__*/ createResourceParams$J(createDeploy
|
|
|
1571
1571
|
function typeCheckConfig$H(untrustedConfig) {
|
|
1572
1572
|
const config = {};
|
|
1573
1573
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1574
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1574
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$16(untrustedConfig_DeploymentInput);
|
|
1575
1575
|
if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
|
|
1576
1576
|
config.DeploymentInput = untrustedConfig_DeploymentInput;
|
|
1577
1577
|
}
|
|
@@ -1619,7 +1619,7 @@ const createDeploymentAdapterFactory = (luvio) => {
|
|
|
1619
1619
|
};
|
|
1620
1620
|
};
|
|
1621
1621
|
|
|
1622
|
-
function validate$
|
|
1622
|
+
function validate$10(obj, path = 'ManagedContentInputRepresentation') {
|
|
1623
1623
|
const v_error = (() => {
|
|
1624
1624
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1625
1625
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1666,7 +1666,7 @@ function validate$12(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
1666
1666
|
return v_error === undefined ? null : v_error;
|
|
1667
1667
|
}
|
|
1668
1668
|
|
|
1669
|
-
function validate
|
|
1669
|
+
function validate$$(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
1670
1670
|
const v_error = (() => {
|
|
1671
1671
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1672
1672
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1685,7 +1685,7 @@ function validate$11(obj, path = 'ManagedContentSpaceSummaryRepresentation') {
|
|
|
1685
1685
|
return v_error === undefined ? null : v_error;
|
|
1686
1686
|
}
|
|
1687
1687
|
|
|
1688
|
-
function validate$
|
|
1688
|
+
function validate$_(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
1689
1689
|
const v_error = (() => {
|
|
1690
1690
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1691
1691
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1706,7 +1706,7 @@ function validate$10(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
|
1706
1706
|
|
|
1707
1707
|
const TTL$w = 100;
|
|
1708
1708
|
const VERSION$z = "32da7ab9bec2902e7f2b1d1e9aa618f1";
|
|
1709
|
-
function validate
|
|
1709
|
+
function validate$Z(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
1710
1710
|
const v_error = (() => {
|
|
1711
1711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1712
1712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1760,7 +1760,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
const obj_contentSpace = obj.contentSpace;
|
|
1762
1762
|
const path_contentSpace = path + '.contentSpace';
|
|
1763
|
-
const referencepath_contentSpaceValidationError = validate
|
|
1763
|
+
const referencepath_contentSpaceValidationError = validate$$(obj_contentSpace, path_contentSpace);
|
|
1764
1764
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
1765
1765
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
1766
1766
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1768,7 +1768,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
const obj_contentType = obj.contentType;
|
|
1770
1770
|
const path_contentType = path + '.contentType';
|
|
1771
|
-
const referencepath_contentTypeValidationError = validate$
|
|
1771
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
1772
1772
|
if (referencepath_contentTypeValidationError !== null) {
|
|
1773
1773
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
1774
1774
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1776,7 +1776,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
const obj_createdBy = obj.createdBy;
|
|
1778
1778
|
const path_createdBy = path + '.createdBy';
|
|
1779
|
-
const referencepath_createdByValidationError = validate$
|
|
1779
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
1780
1780
|
if (referencepath_createdByValidationError !== null) {
|
|
1781
1781
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
1782
1782
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1789,7 +1789,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
const obj_folder = obj.folder;
|
|
1791
1791
|
const path_folder = path + '.folder';
|
|
1792
|
-
const referencepath_folderValidationError = validate$
|
|
1792
|
+
const referencepath_folderValidationError = validate$19(obj_folder, path_folder);
|
|
1793
1793
|
if (referencepath_folderValidationError !== null) {
|
|
1794
1794
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
1795
1795
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1807,7 +1807,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1809
1809
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1810
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1810
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1811
1811
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1812
1812
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1813
1813
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1838,7 +1838,7 @@ function validate$$(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1838
1838
|
const path_status = path + '.status';
|
|
1839
1839
|
let obj_status_union0 = null;
|
|
1840
1840
|
const obj_status_union0_error = (() => {
|
|
1841
|
-
const referencepath_statusValidationError = validate$
|
|
1841
|
+
const referencepath_statusValidationError = validate$_(obj_status, path_status);
|
|
1842
1842
|
if (referencepath_statusValidationError !== null) {
|
|
1843
1843
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
1844
1844
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1939,7 +1939,7 @@ function equals$z(existing, incoming) {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
const ingest$w = function ManagedContentDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1941
1941
|
if (process.env.NODE_ENV !== 'production') {
|
|
1942
|
-
const validateError = validate
|
|
1942
|
+
const validateError = validate$Z(input);
|
|
1943
1943
|
if (validateError !== null) {
|
|
1944
1944
|
throw validateError;
|
|
1945
1945
|
}
|
|
@@ -2012,7 +2012,7 @@ const createResourceParams$G = /*#__PURE__*/ createResourceParams$J(createManage
|
|
|
2012
2012
|
function typeCheckConfig$G(untrustedConfig) {
|
|
2013
2013
|
const config = {};
|
|
2014
2014
|
const untrustedConfig_ManagedContentInputParam = untrustedConfig.ManagedContentInputParam;
|
|
2015
|
-
const referenceManagedContentInputRepresentationValidationError = validate$
|
|
2015
|
+
const referenceManagedContentInputRepresentationValidationError = validate$10(untrustedConfig_ManagedContentInputParam);
|
|
2016
2016
|
if (referenceManagedContentInputRepresentationValidationError === null) {
|
|
2017
2017
|
config.ManagedContentInputParam = untrustedConfig_ManagedContentInputParam;
|
|
2018
2018
|
}
|
|
@@ -2060,7 +2060,7 @@ const createManagedContentAdapterFactory = (luvio) => {
|
|
|
2060
2060
|
};
|
|
2061
2061
|
};
|
|
2062
2062
|
|
|
2063
|
-
function validate$
|
|
2063
|
+
function validate$Y(obj, path = 'ManagedContentExportContentV2JobRequestInputRepresentation') {
|
|
2064
2064
|
const v_error = (() => {
|
|
2065
2065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2066
2066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2115,7 +2115,7 @@ function validate$_(obj, path = 'ManagedContentExportContentV2JobRequestInputRep
|
|
|
2115
2115
|
|
|
2116
2116
|
const TTL$v = 100;
|
|
2117
2117
|
const VERSION$y = "9ae4bb8336d074517f1c980f5f3f7d82";
|
|
2118
|
-
function validate$
|
|
2118
|
+
function validate$X(obj, path = 'ManagedContentV2JobRepresentation') {
|
|
2119
2119
|
const v_error = (() => {
|
|
2120
2120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2121
2121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2301,7 +2301,7 @@ function equals$y(existing, incoming) {
|
|
|
2301
2301
|
}
|
|
2302
2302
|
const ingest$v = function ManagedContentV2JobRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2303
2303
|
if (process.env.NODE_ENV !== 'production') {
|
|
2304
|
-
const validateError = validate$
|
|
2304
|
+
const validateError = validate$X(input);
|
|
2305
2305
|
if (validateError !== null) {
|
|
2306
2306
|
throw validateError;
|
|
2307
2307
|
}
|
|
@@ -2369,7 +2369,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
2369
2369
|
const config = {};
|
|
2370
2370
|
typeCheckConfig$J(untrustedConfig, config, createManagedContentExportV2Job_ConfigPropertyMetadata);
|
|
2371
2371
|
const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
|
|
2372
|
-
const referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError = validate$
|
|
2372
|
+
const referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError = validate$Y(untrustedConfig_managedContentV2JobRequest);
|
|
2373
2373
|
if (referenceManagedContentExportContentV2JobRequestInputRepresentationValidationError === null) {
|
|
2374
2374
|
config.managedContentV2JobRequest = untrustedConfig_managedContentV2JobRequest;
|
|
2375
2375
|
}
|
|
@@ -2417,7 +2417,7 @@ const createManagedContentExportV2JobAdapterFactory = (luvio) => {
|
|
|
2417
2417
|
};
|
|
2418
2418
|
};
|
|
2419
2419
|
|
|
2420
|
-
function validate$
|
|
2420
|
+
function validate$W(obj, path = 'ManagedContentV2JobRequestInputRepresentation') {
|
|
2421
2421
|
const v_error = (() => {
|
|
2422
2422
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2423
2423
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2489,7 +2489,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
2489
2489
|
const config = {};
|
|
2490
2490
|
typeCheckConfig$J(untrustedConfig, config, createManagedContentImportV2Job_ConfigPropertyMetadata);
|
|
2491
2491
|
const untrustedConfig_managedContentV2JobRequest = untrustedConfig.managedContentV2JobRequest;
|
|
2492
|
-
const referenceManagedContentV2JobRequestInputRepresentationValidationError = validate$
|
|
2492
|
+
const referenceManagedContentV2JobRequestInputRepresentationValidationError = validate$W(untrustedConfig_managedContentV2JobRequest);
|
|
2493
2493
|
if (referenceManagedContentV2JobRequestInputRepresentationValidationError === null) {
|
|
2494
2494
|
config.managedContentV2JobRequest = untrustedConfig_managedContentV2JobRequest;
|
|
2495
2495
|
}
|
|
@@ -2537,7 +2537,7 @@ const createManagedContentImportV2JobAdapterFactory = (luvio) => {
|
|
|
2537
2537
|
};
|
|
2538
2538
|
};
|
|
2539
2539
|
|
|
2540
|
-
function validate$
|
|
2540
|
+
function validate$V(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
2541
2541
|
const v_error = (() => {
|
|
2542
2542
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2543
2543
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2586,7 +2586,7 @@ function validate$X(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
|
2586
2586
|
|
|
2587
2587
|
const TTL$u = 3600000;
|
|
2588
2588
|
const VERSION$x = "7752c6a8bb6b113a02bfde83f39e5957";
|
|
2589
|
-
function validate$
|
|
2589
|
+
function validate$U(obj, path = 'ManagedContentVariantRepresentation') {
|
|
2590
2590
|
const v_error = (() => {
|
|
2591
2591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2592
2592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2612,7 +2612,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2612
2612
|
}
|
|
2613
2613
|
const obj_contentSpace = obj.contentSpace;
|
|
2614
2614
|
const path_contentSpace = path + '.contentSpace';
|
|
2615
|
-
const referencepath_contentSpaceValidationError = validate
|
|
2615
|
+
const referencepath_contentSpaceValidationError = validate$$(obj_contentSpace, path_contentSpace);
|
|
2616
2616
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
2617
2617
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
2618
2618
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2620,7 +2620,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2620
2620
|
}
|
|
2621
2621
|
const obj_contentType = obj.contentType;
|
|
2622
2622
|
const path_contentType = path + '.contentType';
|
|
2623
|
-
const referencepath_contentTypeValidationError = validate$
|
|
2623
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
2624
2624
|
if (referencepath_contentTypeValidationError !== null) {
|
|
2625
2625
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
2626
2626
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2628,7 +2628,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
const obj_createdBy = obj.createdBy;
|
|
2630
2630
|
const path_createdBy = path + '.createdBy';
|
|
2631
|
-
const referencepath_createdByValidationError = validate$
|
|
2631
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
2632
2632
|
if (referencepath_createdByValidationError !== null) {
|
|
2633
2633
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
2634
2634
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2641,7 +2641,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
const obj_folder = obj.folder;
|
|
2643
2643
|
const path_folder = path + '.folder';
|
|
2644
|
-
const referencepath_folderValidationError = validate$
|
|
2644
|
+
const referencepath_folderValidationError = validate$19(obj_folder, path_folder);
|
|
2645
2645
|
if (referencepath_folderValidationError !== null) {
|
|
2646
2646
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
2647
2647
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2659,7 +2659,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2661
2661
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2662
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2662
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2663
2663
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2664
2664
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2665
2665
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2687,7 +2687,7 @@ function validate$W(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2687
2687
|
}
|
|
2688
2688
|
const obj_status = obj.status;
|
|
2689
2689
|
const path_status = path + '.status';
|
|
2690
|
-
const referencepath_statusValidationError = validate$
|
|
2690
|
+
const referencepath_statusValidationError = validate$_(obj_status, path_status);
|
|
2691
2691
|
if (referencepath_statusValidationError !== null) {
|
|
2692
2692
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
2693
2693
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2735,7 +2735,7 @@ function equals$x(existing, incoming) {
|
|
|
2735
2735
|
}
|
|
2736
2736
|
const ingest$u = function ManagedContentVariantRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2737
2737
|
if (process.env.NODE_ENV !== 'production') {
|
|
2738
|
-
const validateError = validate$
|
|
2738
|
+
const validateError = validate$U(input);
|
|
2739
2739
|
if (validateError !== null) {
|
|
2740
2740
|
throw validateError;
|
|
2741
2741
|
}
|
|
@@ -2801,7 +2801,7 @@ const createResourceParams$D = /*#__PURE__*/ createResourceParams$J(createManage
|
|
|
2801
2801
|
function typeCheckConfig$D(untrustedConfig) {
|
|
2802
2802
|
const config = {};
|
|
2803
2803
|
const untrustedConfig_managedContentVariantInputParam = untrustedConfig.managedContentVariantInputParam;
|
|
2804
|
-
const referenceManagedContentVariantInputRepresentationValidationError = validate$
|
|
2804
|
+
const referenceManagedContentVariantInputRepresentationValidationError = validate$V(untrustedConfig_managedContentVariantInputParam);
|
|
2805
2805
|
if (referenceManagedContentVariantInputRepresentationValidationError === null) {
|
|
2806
2806
|
config.managedContentVariantInputParam = untrustedConfig_managedContentVariantInputParam;
|
|
2807
2807
|
}
|
|
@@ -2947,7 +2947,7 @@ const createScheduleAdapterFactory = (luvio) => {
|
|
|
2947
2947
|
};
|
|
2948
2948
|
};
|
|
2949
2949
|
|
|
2950
|
-
function validate$
|
|
2950
|
+
function validate$T(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
2951
2951
|
const v_error = (() => {
|
|
2952
2952
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2953
2953
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3019,7 +3019,7 @@ function validate$V(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
|
3019
3019
|
|
|
3020
3020
|
const TTL$t = 100;
|
|
3021
3021
|
const VERSION$w = "52e643b998d6763482c6d74542b38408";
|
|
3022
|
-
function validate$
|
|
3022
|
+
function validate$S(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
3023
3023
|
const v_error = (() => {
|
|
3024
3024
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3025
3025
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3205,7 +3205,7 @@ function equals$w(existing, incoming) {
|
|
|
3205
3205
|
}
|
|
3206
3206
|
const ingest$t = function ManagedContentTranslationV2RepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3207
3207
|
if (process.env.NODE_ENV !== 'production') {
|
|
3208
|
-
const validateError = validate$
|
|
3208
|
+
const validateError = validate$S(input);
|
|
3209
3209
|
if (validateError !== null) {
|
|
3210
3210
|
throw validateError;
|
|
3211
3211
|
}
|
|
@@ -3273,7 +3273,7 @@ function typeCheckConfig$B(untrustedConfig) {
|
|
|
3273
3273
|
const config = {};
|
|
3274
3274
|
typeCheckConfig$J(untrustedConfig, config, createTranslationV2Job_ConfigPropertyMetadata);
|
|
3275
3275
|
const untrustedConfig_translationV2Request = untrustedConfig.translationV2Request;
|
|
3276
|
-
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$
|
|
3276
|
+
const referenceManagedContentTranslationV2RequestInputRepValidationError = validate$T(untrustedConfig_translationV2Request);
|
|
3277
3277
|
if (referenceManagedContentTranslationV2RequestInputRepValidationError === null) {
|
|
3278
3278
|
config.translationV2Request = untrustedConfig_translationV2Request;
|
|
3279
3279
|
}
|
|
@@ -3406,7 +3406,7 @@ const deleteManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
3406
3406
|
};
|
|
3407
3407
|
|
|
3408
3408
|
const VERSION$v = "7e57fd77c4503be9a8822f2603a04df3";
|
|
3409
|
-
function validate$
|
|
3409
|
+
function validate$R(obj, path = 'ManagedContentJobBodyRepresentation') {
|
|
3410
3410
|
const v_error = (() => {
|
|
3411
3411
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3412
3412
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3484,7 +3484,7 @@ function equals$v(existing, incoming) {
|
|
|
3484
3484
|
}
|
|
3485
3485
|
|
|
3486
3486
|
const VERSION$u = "eba1876bba76cb05d9cbb8a968bd6796";
|
|
3487
|
-
function validate$
|
|
3487
|
+
function validate$Q(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
|
|
3488
3488
|
const v_error = (() => {
|
|
3489
3489
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3490
3490
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3497,7 +3497,7 @@ function validate$S(obj, path = 'ManagedContentJobBodyCollectionRepresentation')
|
|
|
3497
3497
|
for (let i = 0; i < obj_jobBodies.length; i++) {
|
|
3498
3498
|
const obj_jobBodies_item = obj_jobBodies[i];
|
|
3499
3499
|
const path_jobBodies_item = path_jobBodies + '[' + i + ']';
|
|
3500
|
-
const referencepath_jobBodies_itemValidationError = validate$
|
|
3500
|
+
const referencepath_jobBodies_itemValidationError = validate$R(obj_jobBodies_item, path_jobBodies_item);
|
|
3501
3501
|
if (referencepath_jobBodies_itemValidationError !== null) {
|
|
3502
3502
|
let message = 'Object doesn\'t match ManagedContentJobBodyRepresentation (at "' + path_jobBodies_item + '")\n';
|
|
3503
3503
|
message += referencepath_jobBodies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3539,7 +3539,7 @@ function equals$u(existing, incoming) {
|
|
|
3539
3539
|
|
|
3540
3540
|
const TTL$s = 100;
|
|
3541
3541
|
const VERSION$t = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
3542
|
-
function validate$
|
|
3542
|
+
function validate$P(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
3543
3543
|
const v_error = (() => {
|
|
3544
3544
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3545
3545
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3548,7 +3548,7 @@ function validate$R(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
|
3548
3548
|
const path_body = path + '.body';
|
|
3549
3549
|
let obj_body_union0 = null;
|
|
3550
3550
|
const obj_body_union0_error = (() => {
|
|
3551
|
-
const referencepath_bodyValidationError = validate$
|
|
3551
|
+
const referencepath_bodyValidationError = validate$Q(obj_body, path_body);
|
|
3552
3552
|
if (referencepath_bodyValidationError !== null) {
|
|
3553
3553
|
let message = 'Object doesn\'t match ManagedContentJobBodyCollectionRepresentation (at "' + path_body + '")\n';
|
|
3554
3554
|
message += referencepath_bodyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3765,7 +3765,7 @@ function equals$t(existing, incoming) {
|
|
|
3765
3765
|
}
|
|
3766
3766
|
const ingest$s = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3767
3767
|
if (process.env.NODE_ENV !== 'production') {
|
|
3768
|
-
const validateError = validate$
|
|
3768
|
+
const validateError = validate$P(input);
|
|
3769
3769
|
if (validateError !== null) {
|
|
3770
3770
|
throw validateError;
|
|
3771
3771
|
}
|
|
@@ -3787,7 +3787,7 @@ function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3787
3787
|
|
|
3788
3788
|
const TTL$r = 100;
|
|
3789
3789
|
const VERSION$s = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
3790
|
-
function validate$
|
|
3790
|
+
function validate$O(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
3791
3791
|
const v_error = (() => {
|
|
3792
3792
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3793
3793
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3941,7 +3941,7 @@ function equals$s(existing, incoming) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
const ingest$r = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3943
3943
|
if (process.env.NODE_ENV !== 'production') {
|
|
3944
|
-
const validateError = validate$
|
|
3944
|
+
const validateError = validate$O(input);
|
|
3945
3945
|
if (validateError !== null) {
|
|
3946
3946
|
throw validateError;
|
|
3947
3947
|
}
|
|
@@ -4288,7 +4288,7 @@ const notifyChangeFactory$5 = (luvio, options) => {
|
|
|
4288
4288
|
};
|
|
4289
4289
|
};
|
|
4290
4290
|
|
|
4291
|
-
function validate$
|
|
4291
|
+
function validate$N(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
|
|
4292
4292
|
const v_error = (() => {
|
|
4293
4293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4294
4294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4307,7 +4307,7 @@ function validate$P(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresen
|
|
|
4307
4307
|
return v_error === undefined ? null : v_error;
|
|
4308
4308
|
}
|
|
4309
4309
|
|
|
4310
|
-
function validate$
|
|
4310
|
+
function validate$M(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
4311
4311
|
const v_error = (() => {
|
|
4312
4312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4313
4313
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4328,7 +4328,7 @@ function validate$O(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
4328
4328
|
}
|
|
4329
4329
|
const obj_contentType = obj.contentType;
|
|
4330
4330
|
const path_contentType = path + '.contentType';
|
|
4331
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4331
|
+
const referencepath_contentTypeValidationError = validate$N(obj_contentType, path_contentType);
|
|
4332
4332
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4333
4333
|
let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4334
4334
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4350,7 +4350,7 @@ function validate$O(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
4350
4350
|
|
|
4351
4351
|
const TTL$q = 100;
|
|
4352
4352
|
const VERSION$r = "eeea454f1268ece5c3e24c986688b876";
|
|
4353
|
-
function validate$
|
|
4353
|
+
function validate$L(obj, path = 'ManagedContentCollectionDetailRepresentation') {
|
|
4354
4354
|
const v_error = (() => {
|
|
4355
4355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4356
4356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4362,7 +4362,7 @@ function validate$N(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
4362
4362
|
}
|
|
4363
4363
|
const obj_collectionType = obj.collectionType;
|
|
4364
4364
|
const path_collectionType = path + '.collectionType';
|
|
4365
|
-
const referencepath_collectionTypeValidationError = validate$
|
|
4365
|
+
const referencepath_collectionTypeValidationError = validate$15(obj_collectionType, path_collectionType);
|
|
4366
4366
|
if (referencepath_collectionTypeValidationError !== null) {
|
|
4367
4367
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
|
|
4368
4368
|
message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4386,7 +4386,7 @@ function validate$N(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
4386
4386
|
for (let i = 0; i < obj_items.length; i++) {
|
|
4387
4387
|
const obj_items_item = obj_items[i];
|
|
4388
4388
|
const path_items_item = path_items + '[' + i + ']';
|
|
4389
|
-
const referencepath_items_itemValidationError = validate$
|
|
4389
|
+
const referencepath_items_itemValidationError = validate$M(obj_items_item, path_items_item);
|
|
4390
4390
|
if (referencepath_items_itemValidationError !== null) {
|
|
4391
4391
|
let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
|
|
4392
4392
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4452,7 +4452,7 @@ function equals$r(existing, incoming) {
|
|
|
4452
4452
|
}
|
|
4453
4453
|
const ingest$q = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4454
4454
|
if (process.env.NODE_ENV !== 'production') {
|
|
4455
|
-
const validateError = validate$
|
|
4455
|
+
const validateError = validate$L(input);
|
|
4456
4456
|
if (validateError !== null) {
|
|
4457
4457
|
throw validateError;
|
|
4458
4458
|
}
|
|
@@ -4633,7 +4633,7 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
|
|
|
4633
4633
|
|
|
4634
4634
|
const TTL$p = 100;
|
|
4635
4635
|
const VERSION$q = "b2c15aa80814ecd854e68bf635879e35";
|
|
4636
|
-
function validate$
|
|
4636
|
+
function validate$K(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
|
|
4637
4637
|
const v_error = (() => {
|
|
4638
4638
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4639
4639
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4787,7 +4787,7 @@ function equals$q(existing, incoming) {
|
|
|
4787
4787
|
}
|
|
4788
4788
|
const ingest$p = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4789
4789
|
if (process.env.NODE_ENV !== 'production') {
|
|
4790
|
-
const validateError = validate$
|
|
4790
|
+
const validateError = validate$K(input);
|
|
4791
4791
|
if (validateError !== null) {
|
|
4792
4792
|
throw validateError;
|
|
4793
4793
|
}
|
|
@@ -4968,7 +4968,7 @@ const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeploy
|
|
|
4968
4968
|
buildCachedSnapshotCachePolicy$m, buildNetworkSnapshotCachePolicy$m);
|
|
4969
4969
|
};
|
|
4970
4970
|
|
|
4971
|
-
function validate$
|
|
4971
|
+
function validate$J(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
4972
4972
|
const v_error = (() => {
|
|
4973
4973
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4974
4974
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4994,7 +4994,7 @@ function validate$L(obj, path = 'MCSFolderShareTargetRepresentation') {
|
|
|
4994
4994
|
|
|
4995
4995
|
const TTL$o = 1000;
|
|
4996
4996
|
const VERSION$p = "c0ff97bb4eb8268055467aedb9fff9d4";
|
|
4997
|
-
function validate$
|
|
4997
|
+
function validate$I(obj, path = 'MCSFolderShareTargetCollectionRepresentation') {
|
|
4998
4998
|
const v_error = (() => {
|
|
4999
4999
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5000
5000
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5007,7 +5007,7 @@ function validate$K(obj, path = 'MCSFolderShareTargetCollectionRepresentation')
|
|
|
5007
5007
|
for (let i = 0; i < obj_shareTargets.length; i++) {
|
|
5008
5008
|
const obj_shareTargets_item = obj_shareTargets[i];
|
|
5009
5009
|
const path_shareTargets_item = path_shareTargets + '[' + i + ']';
|
|
5010
|
-
const referencepath_shareTargets_itemValidationError = validate$
|
|
5010
|
+
const referencepath_shareTargets_itemValidationError = validate$J(obj_shareTargets_item, path_shareTargets_item);
|
|
5011
5011
|
if (referencepath_shareTargets_itemValidationError !== null) {
|
|
5012
5012
|
let message = 'Object doesn\'t match MCSFolderShareTargetRepresentation (at "' + path_shareTargets_item + '")\n';
|
|
5013
5013
|
message += referencepath_shareTargets_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5037,7 +5037,7 @@ function equals$p(existing, incoming) {
|
|
|
5037
5037
|
}
|
|
5038
5038
|
const ingest$o = function MCSFolderShareTargetCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5039
5039
|
if (process.env.NODE_ENV !== 'production') {
|
|
5040
|
-
const validateError = validate$
|
|
5040
|
+
const validateError = validate$I(input);
|
|
5041
5041
|
if (validateError !== null) {
|
|
5042
5042
|
throw validateError;
|
|
5043
5043
|
}
|
|
@@ -5195,7 +5195,7 @@ const getMCSFolderShareTargetsAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
5195
5195
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$l);
|
|
5196
5196
|
};
|
|
5197
5197
|
|
|
5198
|
-
function validate$
|
|
5198
|
+
function validate$H(obj, path = 'MCSFolderShareRepresentation') {
|
|
5199
5199
|
const v_error = (() => {
|
|
5200
5200
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5201
5201
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5223,7 +5223,7 @@ function validate$J(obj, path = 'MCSFolderShareRepresentation') {
|
|
|
5223
5223
|
|
|
5224
5224
|
const TTL$n = 1000;
|
|
5225
5225
|
const VERSION$o = "fd0d4ff311a83d25ce2992ff58ca6d41";
|
|
5226
|
-
function validate$
|
|
5226
|
+
function validate$G(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
5227
5227
|
const v_error = (() => {
|
|
5228
5228
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5229
5229
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5241,7 +5241,7 @@ function validate$I(obj, path = 'MCSFolderShareCollectionRepresentation') {
|
|
|
5241
5241
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
5242
5242
|
const obj_shares_item = obj_shares[i];
|
|
5243
5243
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
5244
|
-
const referencepath_shares_itemValidationError = validate$
|
|
5244
|
+
const referencepath_shares_itemValidationError = validate$H(obj_shares_item, path_shares_item);
|
|
5245
5245
|
if (referencepath_shares_itemValidationError !== null) {
|
|
5246
5246
|
let message = 'Object doesn\'t match MCSFolderShareRepresentation (at "' + path_shares_item + '")\n';
|
|
5247
5247
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5280,7 +5280,7 @@ function equals$o(existing, incoming) {
|
|
|
5280
5280
|
}
|
|
5281
5281
|
const ingest$n = function MCSFolderShareCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5282
5282
|
if (process.env.NODE_ENV !== 'production') {
|
|
5283
|
-
const validateError = validate$
|
|
5283
|
+
const validateError = validate$G(input);
|
|
5284
5284
|
if (validateError !== null) {
|
|
5285
5285
|
throw validateError;
|
|
5286
5286
|
}
|
|
@@ -5677,7 +5677,7 @@ const getManagedContentAdapterFactory = (luvio) => function CMSAuthoring__getMan
|
|
|
5677
5677
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
5678
5678
|
};
|
|
5679
5679
|
|
|
5680
|
-
function validate$
|
|
5680
|
+
function validate$F(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
5681
5681
|
const v_error = (() => {
|
|
5682
5682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5683
5683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5696,7 +5696,7 @@ function validate$H(obj, path = 'ManagedContentLanguageSummaryRepresentation') {
|
|
|
5696
5696
|
return v_error === undefined ? null : v_error;
|
|
5697
5697
|
}
|
|
5698
5698
|
|
|
5699
|
-
function validate$
|
|
5699
|
+
function validate$E(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
5700
5700
|
const v_error = (() => {
|
|
5701
5701
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5702
5702
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5711,7 +5711,7 @@ function validate$G(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
5711
5711
|
if (obj.contentType !== undefined) {
|
|
5712
5712
|
const obj_contentType = obj.contentType;
|
|
5713
5713
|
const path_contentType = path + '.contentType';
|
|
5714
|
-
const referencepath_contentTypeValidationError = validate$
|
|
5714
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
5715
5715
|
if (referencepath_contentTypeValidationError !== null) {
|
|
5716
5716
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
5717
5717
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5764,7 +5764,7 @@ function validate$G(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
5764
5764
|
if (obj.language !== undefined) {
|
|
5765
5765
|
const obj_language = obj.language;
|
|
5766
5766
|
const path_language = path + '.language';
|
|
5767
|
-
const referencepath_languageValidationError = validate$
|
|
5767
|
+
const referencepath_languageValidationError = validate$F(obj_language, path_language);
|
|
5768
5768
|
if (referencepath_languageValidationError !== null) {
|
|
5769
5769
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
5770
5770
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5821,7 +5821,7 @@ function validate$G(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
5821
5821
|
|
|
5822
5822
|
const TTL$m = 100;
|
|
5823
5823
|
const VERSION$n = "e85b8f02eca0f2e88859e6f3a061e56b";
|
|
5824
|
-
function validate$
|
|
5824
|
+
function validate$D(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresentation') {
|
|
5825
5825
|
const v_error = (() => {
|
|
5826
5826
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5827
5827
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5839,7 +5839,7 @@ function validate$F(obj, path = 'ManagedContentSpaceFolderItemCollectionRepresen
|
|
|
5839
5839
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
5840
5840
|
const obj_folderItems_item = obj_folderItems[i];
|
|
5841
5841
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
5842
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
5842
|
+
const referencepath_folderItems_itemValidationError = validate$E(obj_folderItems_item, path_folderItems_item);
|
|
5843
5843
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
5844
5844
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemRepresentation (at "' + path_folderItems_item + '")\n';
|
|
5845
5845
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5895,7 +5895,7 @@ function equals$n(existing, incoming) {
|
|
|
5895
5895
|
}
|
|
5896
5896
|
const ingest$m = function ManagedContentSpaceFolderItemCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5897
5897
|
if (process.env.NODE_ENV !== 'production') {
|
|
5898
|
-
const validateError = validate$
|
|
5898
|
+
const validateError = validate$D(input);
|
|
5899
5899
|
if (validateError !== null) {
|
|
5900
5900
|
throw validateError;
|
|
5901
5901
|
}
|
|
@@ -6062,12 +6062,22 @@ const getManagedContentByFolderIdAdapterFactory = (luvio) => function CMSAuthori
|
|
|
6062
6062
|
};
|
|
6063
6063
|
|
|
6064
6064
|
const TTL$l = 100;
|
|
6065
|
-
const VERSION$m = "
|
|
6066
|
-
function validate$
|
|
6065
|
+
const VERSION$m = "3aae2fad9020711e898a6f7dc26e76a9";
|
|
6066
|
+
function validate$C(obj, path = 'ManagedContentFileUploadRepresentation') {
|
|
6067
6067
|
const v_error = (() => {
|
|
6068
6068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6069
6069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
6070
6070
|
}
|
|
6071
|
+
const obj_hasCustomRecordTypes = obj.hasCustomRecordTypes;
|
|
6072
|
+
const path_hasCustomRecordTypes = path + '.hasCustomRecordTypes';
|
|
6073
|
+
if (typeof obj_hasCustomRecordTypes !== 'boolean') {
|
|
6074
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasCustomRecordTypes + '" (at "' + path_hasCustomRecordTypes + '")');
|
|
6075
|
+
}
|
|
6076
|
+
const obj_maxFileAttachmentsOnFeed = obj.maxFileAttachmentsOnFeed;
|
|
6077
|
+
const path_maxFileAttachmentsOnFeed = path + '.maxFileAttachmentsOnFeed';
|
|
6078
|
+
if (typeof obj_maxFileAttachmentsOnFeed !== 'number' || (typeof obj_maxFileAttachmentsOnFeed === 'number' && Math.floor(obj_maxFileAttachmentsOnFeed) !== obj_maxFileAttachmentsOnFeed)) {
|
|
6079
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_maxFileAttachmentsOnFeed + '" (at "' + path_maxFileAttachmentsOnFeed + '")');
|
|
6080
|
+
}
|
|
6071
6081
|
const obj_token = obj.token;
|
|
6072
6082
|
const path_token = path + '.token';
|
|
6073
6083
|
if (typeof obj_token !== 'string') {
|
|
@@ -6091,6 +6101,14 @@ const select$O = function ManagedContentFileUploadRepresentationSelect() {
|
|
|
6091
6101
|
version: VERSION$m,
|
|
6092
6102
|
private: [],
|
|
6093
6103
|
selections: [
|
|
6104
|
+
{
|
|
6105
|
+
name: 'hasCustomRecordTypes',
|
|
6106
|
+
kind: 'Scalar'
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
name: 'maxFileAttachmentsOnFeed',
|
|
6110
|
+
kind: 'Scalar'
|
|
6111
|
+
},
|
|
6094
6112
|
{
|
|
6095
6113
|
name: 'token',
|
|
6096
6114
|
kind: 'Scalar'
|
|
@@ -6103,6 +6121,16 @@ const select$O = function ManagedContentFileUploadRepresentationSelect() {
|
|
|
6103
6121
|
};
|
|
6104
6122
|
};
|
|
6105
6123
|
function equals$m(existing, incoming) {
|
|
6124
|
+
const existing_hasCustomRecordTypes = existing.hasCustomRecordTypes;
|
|
6125
|
+
const incoming_hasCustomRecordTypes = incoming.hasCustomRecordTypes;
|
|
6126
|
+
if (!(existing_hasCustomRecordTypes === incoming_hasCustomRecordTypes)) {
|
|
6127
|
+
return false;
|
|
6128
|
+
}
|
|
6129
|
+
const existing_maxFileAttachmentsOnFeed = existing.maxFileAttachmentsOnFeed;
|
|
6130
|
+
const incoming_maxFileAttachmentsOnFeed = incoming.maxFileAttachmentsOnFeed;
|
|
6131
|
+
if (!(existing_maxFileAttachmentsOnFeed === incoming_maxFileAttachmentsOnFeed)) {
|
|
6132
|
+
return false;
|
|
6133
|
+
}
|
|
6106
6134
|
const existing_token = existing.token;
|
|
6107
6135
|
const incoming_token = incoming.token;
|
|
6108
6136
|
if (!(existing_token === incoming_token)) {
|
|
@@ -6117,7 +6145,7 @@ function equals$m(existing, incoming) {
|
|
|
6117
6145
|
}
|
|
6118
6146
|
const ingest$l = function ManagedContentFileUploadRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6119
6147
|
if (process.env.NODE_ENV !== 'production') {
|
|
6120
|
-
const validateError = validate$
|
|
6148
|
+
const validateError = validate$C(input);
|
|
6121
6149
|
if (validateError !== null) {
|
|
6122
6150
|
throw validateError;
|
|
6123
6151
|
}
|
|
@@ -6470,7 +6498,7 @@ const getManagedContentForSiteAdapterFactory = (luvio) => function CMSAuthoring_
|
|
|
6470
6498
|
};
|
|
6471
6499
|
|
|
6472
6500
|
const VERSION$l = "2776cb6ca1e69cee658bef8b7dfa629f";
|
|
6473
|
-
function validate$
|
|
6501
|
+
function validate$B(obj, path = 'ManagedContentPreviewRepresentation') {
|
|
6474
6502
|
const v_error = (() => {
|
|
6475
6503
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6476
6504
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6598,7 +6626,7 @@ function equals$l(existing, incoming) {
|
|
|
6598
6626
|
|
|
6599
6627
|
const TTL$k = 1000;
|
|
6600
6628
|
const VERSION$k = "2ea0d489f57171bd8c65e01f79843327";
|
|
6601
|
-
function validate$
|
|
6629
|
+
function validate$A(obj, path = 'ManagedContentPreviewCollectionRepresentation') {
|
|
6602
6630
|
const v_error = (() => {
|
|
6603
6631
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6604
6632
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6611,7 +6639,7 @@ function validate$C(obj, path = 'ManagedContentPreviewCollectionRepresentation')
|
|
|
6611
6639
|
for (let i = 0; i < obj_previews.length; i++) {
|
|
6612
6640
|
const obj_previews_item = obj_previews[i];
|
|
6613
6641
|
const path_previews_item = path_previews + '[' + i + ']';
|
|
6614
|
-
const referencepath_previews_itemValidationError = validate$
|
|
6642
|
+
const referencepath_previews_itemValidationError = validate$B(obj_previews_item, path_previews_item);
|
|
6615
6643
|
if (referencepath_previews_itemValidationError !== null) {
|
|
6616
6644
|
let message = 'Object doesn\'t match ManagedContentPreviewRepresentation (at "' + path_previews_item + '")\n';
|
|
6617
6645
|
message += referencepath_previews_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6656,7 +6684,7 @@ function equals$k(existing, incoming) {
|
|
|
6656
6684
|
}
|
|
6657
6685
|
const ingest$k = function ManagedContentPreviewCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6658
6686
|
if (process.env.NODE_ENV !== 'production') {
|
|
6659
|
-
const validateError = validate$
|
|
6687
|
+
const validateError = validate$A(input);
|
|
6660
6688
|
if (validateError !== null) {
|
|
6661
6689
|
throw validateError;
|
|
6662
6690
|
}
|
|
@@ -6816,7 +6844,7 @@ const getManagedContentPreviewsAdapterFactory = (luvio) => function CMSAuthoring
|
|
|
6816
6844
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$f);
|
|
6817
6845
|
};
|
|
6818
6846
|
|
|
6819
|
-
function validate$
|
|
6847
|
+
function validate$z(obj, path = 'AbstractManagedContentReferencedByItemRepresentation') {
|
|
6820
6848
|
const v_error = (() => {
|
|
6821
6849
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6822
6850
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6826,7 +6854,7 @@ function validate$B(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
6826
6854
|
const path_contentType = path + '.contentType';
|
|
6827
6855
|
let obj_contentType_union0 = null;
|
|
6828
6856
|
const obj_contentType_union0_error = (() => {
|
|
6829
|
-
const referencepath_contentTypeValidationError = validate$
|
|
6857
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
6830
6858
|
if (referencepath_contentTypeValidationError !== null) {
|
|
6831
6859
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
6832
6860
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6929,7 +6957,7 @@ function validate$B(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
6929
6957
|
|
|
6930
6958
|
const TTL$j = 100;
|
|
6931
6959
|
const VERSION$j = "c297f5edbe1b51eadd89e68f176520ba";
|
|
6932
|
-
function validate$
|
|
6960
|
+
function validate$y(obj, path = 'ManagedContentReferencedByCollectionRepresentation') {
|
|
6933
6961
|
const v_error = (() => {
|
|
6934
6962
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6935
6963
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6973,7 +7001,7 @@ function validate$A(obj, path = 'ManagedContentReferencedByCollectionRepresentat
|
|
|
6973
7001
|
for (let i = 0; i < obj_referencedBy.length; i++) {
|
|
6974
7002
|
const obj_referencedBy_item = obj_referencedBy[i];
|
|
6975
7003
|
const path_referencedBy_item = path_referencedBy + '[' + i + ']';
|
|
6976
|
-
const referencepath_referencedBy_itemValidationError = validate$
|
|
7004
|
+
const referencepath_referencedBy_itemValidationError = validate$z(obj_referencedBy_item, path_referencedBy_item);
|
|
6977
7005
|
if (referencepath_referencedBy_itemValidationError !== null) {
|
|
6978
7006
|
let message = 'Object doesn\'t match AbstractManagedContentReferencedByItemRepresentation (at "' + path_referencedBy_item + '")\n';
|
|
6979
7007
|
message += referencepath_referencedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7008,7 +7036,7 @@ function equals$j(existing, incoming) {
|
|
|
7008
7036
|
}
|
|
7009
7037
|
const ingest$j = function ManagedContentReferencedByCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7010
7038
|
if (process.env.NODE_ENV !== 'production') {
|
|
7011
|
-
const validateError = validate$
|
|
7039
|
+
const validateError = validate$y(input);
|
|
7012
7040
|
if (validateError !== null) {
|
|
7013
7041
|
throw validateError;
|
|
7014
7042
|
}
|
|
@@ -7172,7 +7200,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
|
|
|
7172
7200
|
|
|
7173
7201
|
const TTL$i = 100;
|
|
7174
7202
|
const VERSION$i = "8ef301b0655330902b901b71aa2ea91a";
|
|
7175
|
-
function validate$
|
|
7203
|
+
function validate$x(obj, path = 'ManagedContentSingleItemDocumentRepresentation') {
|
|
7176
7204
|
const v_error = (() => {
|
|
7177
7205
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7178
7206
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7226,7 +7254,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7226
7254
|
}
|
|
7227
7255
|
const obj_contentSpace = obj.contentSpace;
|
|
7228
7256
|
const path_contentSpace = path + '.contentSpace';
|
|
7229
|
-
const referencepath_contentSpaceValidationError = validate
|
|
7257
|
+
const referencepath_contentSpaceValidationError = validate$$(obj_contentSpace, path_contentSpace);
|
|
7230
7258
|
if (referencepath_contentSpaceValidationError !== null) {
|
|
7231
7259
|
let message = 'Object doesn\'t match ManagedContentSpaceSummaryRepresentation (at "' + path_contentSpace + '")\n';
|
|
7232
7260
|
message += referencepath_contentSpaceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7234,7 +7262,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7234
7262
|
}
|
|
7235
7263
|
const obj_contentType = obj.contentType;
|
|
7236
7264
|
const path_contentType = path + '.contentType';
|
|
7237
|
-
const referencepath_contentTypeValidationError = validate$
|
|
7265
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
7238
7266
|
if (referencepath_contentTypeValidationError !== null) {
|
|
7239
7267
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
7240
7268
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7242,7 +7270,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7242
7270
|
}
|
|
7243
7271
|
const obj_createdBy = obj.createdBy;
|
|
7244
7272
|
const path_createdBy = path + '.createdBy';
|
|
7245
|
-
const referencepath_createdByValidationError = validate$
|
|
7273
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
7246
7274
|
if (referencepath_createdByValidationError !== null) {
|
|
7247
7275
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
7248
7276
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7255,7 +7283,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7255
7283
|
}
|
|
7256
7284
|
const obj_folder = obj.folder;
|
|
7257
7285
|
const path_folder = path + '.folder';
|
|
7258
|
-
const referencepath_folderValidationError = validate$
|
|
7286
|
+
const referencepath_folderValidationError = validate$19(obj_folder, path_folder);
|
|
7259
7287
|
if (referencepath_folderValidationError !== null) {
|
|
7260
7288
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
7261
7289
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7273,7 +7301,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7273
7301
|
}
|
|
7274
7302
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
7275
7303
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
7276
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
7304
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
7277
7305
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
7278
7306
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
7279
7307
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7304,7 +7332,7 @@ function validate$z(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
7304
7332
|
const path_status = path + '.status';
|
|
7305
7333
|
let obj_status_union0 = null;
|
|
7306
7334
|
const obj_status_union0_error = (() => {
|
|
7307
|
-
const referencepath_statusValidationError = validate$
|
|
7335
|
+
const referencepath_statusValidationError = validate$_(obj_status, path_status);
|
|
7308
7336
|
if (referencepath_statusValidationError !== null) {
|
|
7309
7337
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
7310
7338
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7394,7 +7422,7 @@ function equals$i(existing, incoming) {
|
|
|
7394
7422
|
}
|
|
7395
7423
|
const ingest$i = function ManagedContentSingleItemDocumentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7396
7424
|
if (process.env.NODE_ENV !== 'production') {
|
|
7397
|
-
const validateError = validate$
|
|
7425
|
+
const validateError = validate$x(input);
|
|
7398
7426
|
if (validateError !== null) {
|
|
7399
7427
|
throw validateError;
|
|
7400
7428
|
}
|
|
@@ -7553,7 +7581,7 @@ const getManagedContentSingleItemAdapterFactory = (luvio) => function CMSAuthori
|
|
|
7553
7581
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
|
|
7554
7582
|
};
|
|
7555
7583
|
|
|
7556
|
-
function validate$
|
|
7584
|
+
function validate$w(obj, path = 'ManagedContentSpaceBaseTypeRepresentation') {
|
|
7557
7585
|
const v_error = (() => {
|
|
7558
7586
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7559
7587
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7590,7 +7618,7 @@ function validate$y(obj, path = 'ManagedContentSpaceBaseTypeRepresentation') {
|
|
|
7590
7618
|
|
|
7591
7619
|
const TTL$h = 100;
|
|
7592
7620
|
const VERSION$h = "1158bab6c830f40913e54e5f647ead28";
|
|
7593
|
-
function validate$
|
|
7621
|
+
function validate$v(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
7594
7622
|
const v_error = (() => {
|
|
7595
7623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7596
7624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7600,7 +7628,7 @@ function validate$x(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
7600
7628
|
const path_baseType = path + '.baseType';
|
|
7601
7629
|
let obj_baseType_union0 = null;
|
|
7602
7630
|
const obj_baseType_union0_error = (() => {
|
|
7603
|
-
const referencepath_baseTypeValidationError = validate$
|
|
7631
|
+
const referencepath_baseTypeValidationError = validate$w(obj_baseType, path_baseType);
|
|
7604
7632
|
if (referencepath_baseTypeValidationError !== null) {
|
|
7605
7633
|
let message = 'Object doesn\'t match ManagedContentSpaceBaseTypeRepresentation (at "' + path_baseType + '")\n';
|
|
7606
7634
|
message += referencepath_baseTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7771,7 +7799,7 @@ function equals$h(existing, incoming) {
|
|
|
7771
7799
|
}
|
|
7772
7800
|
const ingest$h = function ManagedContentSpaceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7773
7801
|
if (process.env.NODE_ENV !== 'production') {
|
|
7774
|
-
const validateError = validate$
|
|
7802
|
+
const validateError = validate$v(input);
|
|
7775
7803
|
if (validateError !== null) {
|
|
7776
7804
|
throw validateError;
|
|
7777
7805
|
}
|
|
@@ -7974,7 +8002,7 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
7974
8002
|
|
|
7975
8003
|
const TTL$g = 100;
|
|
7976
8004
|
const VERSION$g = "6cb5e79d281317772f97d55182ce890e";
|
|
7977
|
-
function validate$
|
|
8005
|
+
function validate$u(obj, path = 'ManagedContentSpaceFolderRepresentation') {
|
|
7978
8006
|
const v_error = (() => {
|
|
7979
8007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7980
8008
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8047,7 +8075,7 @@ function equals$g(existing, incoming) {
|
|
|
8047
8075
|
}
|
|
8048
8076
|
const ingest$g = function ManagedContentSpaceFolderRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8049
8077
|
if (process.env.NODE_ENV !== 'production') {
|
|
8050
|
-
const validateError = validate$
|
|
8078
|
+
const validateError = validate$u(input);
|
|
8051
8079
|
if (validateError !== null) {
|
|
8052
8080
|
throw validateError;
|
|
8053
8081
|
}
|
|
@@ -8069,7 +8097,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8069
8097
|
|
|
8070
8098
|
const TTL$f = 30000;
|
|
8071
8099
|
const VERSION$f = "19a2e59df42998b6d30d4dee5c5a293b";
|
|
8072
|
-
function validate$
|
|
8100
|
+
function validate$t(obj, path = 'ManagedContentSpaceFolderDetailRepresentation') {
|
|
8073
8101
|
const v_error = (() => {
|
|
8074
8102
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8075
8103
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8092,7 +8120,7 @@ function validate$v(obj, path = 'ManagedContentSpaceFolderDetailRepresentation')
|
|
|
8092
8120
|
for (let i = 0; i < obj_folderHierarchy.length; i++) {
|
|
8093
8121
|
const obj_folderHierarchy_item = obj_folderHierarchy[i];
|
|
8094
8122
|
const path_folderHierarchy_item = path_folderHierarchy + '[' + i + ']';
|
|
8095
|
-
const referencepath_folderHierarchy_itemValidationError = validate$
|
|
8123
|
+
const referencepath_folderHierarchy_itemValidationError = validate$u(obj_folderHierarchy_item, path_folderHierarchy_item);
|
|
8096
8124
|
if (referencepath_folderHierarchy_itemValidationError !== null) {
|
|
8097
8125
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderRepresentation (at "' + path_folderHierarchy_item + '")\n';
|
|
8098
8126
|
message += referencepath_folderHierarchy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8137,7 +8165,7 @@ function equals$f(existing, incoming) {
|
|
|
8137
8165
|
}
|
|
8138
8166
|
const ingest$f = function ManagedContentSpaceFolderDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8139
8167
|
if (process.env.NODE_ENV !== 'production') {
|
|
8140
|
-
const validateError = validate$
|
|
8168
|
+
const validateError = validate$t(input);
|
|
8141
8169
|
if (validateError !== null) {
|
|
8142
8170
|
throw validateError;
|
|
8143
8171
|
}
|
|
@@ -8296,7 +8324,7 @@ const getManagedContentSpaceFolderAdapterFactory = (luvio) => function CMSAuthor
|
|
|
8296
8324
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
|
|
8297
8325
|
};
|
|
8298
8326
|
|
|
8299
|
-
function validate$
|
|
8327
|
+
function validate$s(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
|
|
8300
8328
|
const v_error = (() => {
|
|
8301
8329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8302
8330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8386,7 +8414,7 @@ function validate$u(obj, path = 'ManagedContentSpaceFolderItemV1Representation')
|
|
|
8386
8414
|
|
|
8387
8415
|
const TTL$e = 100;
|
|
8388
8416
|
const VERSION$e = "df1370994ae2e57cdebc5f5125930e2d";
|
|
8389
|
-
function validate$
|
|
8417
|
+
function validate$r(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
|
|
8390
8418
|
const v_error = (() => {
|
|
8391
8419
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8392
8420
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8404,7 +8432,7 @@ function validate$t(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepres
|
|
|
8404
8432
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
8405
8433
|
const obj_folderItems_item = obj_folderItems[i];
|
|
8406
8434
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
8407
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
8435
|
+
const referencepath_folderItems_itemValidationError = validate$s(obj_folderItems_item, path_folderItems_item);
|
|
8408
8436
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
8409
8437
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemV1Representation (at "' + path_folderItems_item + '")\n';
|
|
8410
8438
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8460,7 +8488,7 @@ function equals$e(existing, incoming) {
|
|
|
8460
8488
|
}
|
|
8461
8489
|
const ingest$e = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8462
8490
|
if (process.env.NODE_ENV !== 'production') {
|
|
8463
|
-
const validateError = validate$
|
|
8491
|
+
const validateError = validate$r(input);
|
|
8464
8492
|
if (validateError !== null) {
|
|
8465
8493
|
throw validateError;
|
|
8466
8494
|
}
|
|
@@ -8628,7 +8656,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
|
|
|
8628
8656
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
8629
8657
|
};
|
|
8630
8658
|
|
|
8631
|
-
function validate$
|
|
8659
|
+
function validate$q(obj, path = 'ManagedContentWorkflowConfigRepresentation') {
|
|
8632
8660
|
const v_error = (() => {
|
|
8633
8661
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8634
8662
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8656,7 +8684,7 @@ function validate$s(obj, path = 'ManagedContentWorkflowConfigRepresentation') {
|
|
|
8656
8684
|
|
|
8657
8685
|
const TTL$d = 100;
|
|
8658
8686
|
const VERSION$d = "18ff6463be2b1f8640ca93cf1ecb6f43";
|
|
8659
|
-
function validate$
|
|
8687
|
+
function validate$p(obj, path = 'ManagedContentOrchestratorConfigRepresentation') {
|
|
8660
8688
|
const v_error = (() => {
|
|
8661
8689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8662
8690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8684,7 +8712,7 @@ function validate$r(obj, path = 'ManagedContentOrchestratorConfigRepresentation'
|
|
|
8684
8712
|
for (let i = 0; i < obj_workflowConfigs.length; i++) {
|
|
8685
8713
|
const obj_workflowConfigs_item = obj_workflowConfigs[i];
|
|
8686
8714
|
const path_workflowConfigs_item = path_workflowConfigs + '[' + i + ']';
|
|
8687
|
-
const referencepath_workflowConfigs_itemValidationError = validate$
|
|
8715
|
+
const referencepath_workflowConfigs_itemValidationError = validate$q(obj_workflowConfigs_item, path_workflowConfigs_item);
|
|
8688
8716
|
if (referencepath_workflowConfigs_itemValidationError !== null) {
|
|
8689
8717
|
let message = 'Object doesn\'t match ManagedContentWorkflowConfigRepresentation (at "' + path_workflowConfigs_item + '")\n';
|
|
8690
8718
|
message += referencepath_workflowConfigs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8723,7 +8751,7 @@ function equals$d(existing, incoming) {
|
|
|
8723
8751
|
}
|
|
8724
8752
|
const ingest$d = function ManagedContentOrchestratorConfigRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8725
8753
|
if (process.env.NODE_ENV !== 'production') {
|
|
8726
|
-
const validateError = validate$
|
|
8754
|
+
const validateError = validate$p(input);
|
|
8727
8755
|
if (validateError !== null) {
|
|
8728
8756
|
throw validateError;
|
|
8729
8757
|
}
|
|
@@ -8926,7 +8954,7 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
8926
8954
|
|
|
8927
8955
|
const TTL$c = 100;
|
|
8928
8956
|
const VERSION$c = "292efba3a426b62d2af39a38fd3464b0";
|
|
8929
|
-
function validate$
|
|
8957
|
+
function validate$o(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
|
|
8930
8958
|
const v_error = (() => {
|
|
8931
8959
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8932
8960
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8939,7 +8967,7 @@ function validate$q(obj, path = 'ManagedContentSpaceCollectionRepresentation') {
|
|
|
8939
8967
|
for (let i = 0; i < obj_spaces.length; i++) {
|
|
8940
8968
|
const obj_spaces_item = obj_spaces[i];
|
|
8941
8969
|
const path_spaces_item = path_spaces + '[' + i + ']';
|
|
8942
|
-
const referencepath_spaces_itemValidationError = validate$
|
|
8970
|
+
const referencepath_spaces_itemValidationError = validate$v(obj_spaces_item, path_spaces_item);
|
|
8943
8971
|
if (referencepath_spaces_itemValidationError !== null) {
|
|
8944
8972
|
let message = 'Object doesn\'t match ManagedContentSpaceRepresentation (at "' + path_spaces_item + '")\n';
|
|
8945
8973
|
message += referencepath_spaces_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8969,7 +8997,7 @@ function equals$c(existing, incoming) {
|
|
|
8969
8997
|
}
|
|
8970
8998
|
const ingest$c = function ManagedContentSpaceCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8971
8999
|
if (process.env.NODE_ENV !== 'production') {
|
|
8972
|
-
const validateError = validate$
|
|
9000
|
+
const validateError = validate$o(input);
|
|
8973
9001
|
if (validateError !== null) {
|
|
8974
9002
|
throw validateError;
|
|
8975
9003
|
}
|
|
@@ -9129,7 +9157,7 @@ const getManagedContentSpacesAdapterFactory = (luvio) => function CMSAuthoring__
|
|
|
9129
9157
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
9130
9158
|
};
|
|
9131
9159
|
|
|
9132
|
-
function validate$
|
|
9160
|
+
function validate$n(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentation') {
|
|
9133
9161
|
const v_error = (() => {
|
|
9134
9162
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9135
9163
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9150,7 +9178,7 @@ function validate$p(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentatio
|
|
|
9150
9178
|
|
|
9151
9179
|
const TTL$b = 100;
|
|
9152
9180
|
const VERSION$b = "861a01549e9c8877564cf9109fe8af72";
|
|
9153
|
-
function validate$
|
|
9181
|
+
function validate$m(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
9154
9182
|
const v_error = (() => {
|
|
9155
9183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9156
9184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9162,7 +9190,7 @@ function validate$o(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
9162
9190
|
}
|
|
9163
9191
|
const obj_taxonomyFragment = obj.taxonomyFragment;
|
|
9164
9192
|
const path_taxonomyFragment = path + '.taxonomyFragment';
|
|
9165
|
-
const referencepath_taxonomyFragmentValidationError = validate$
|
|
9193
|
+
const referencepath_taxonomyFragmentValidationError = validate$n(obj_taxonomyFragment, path_taxonomyFragment);
|
|
9166
9194
|
if (referencepath_taxonomyFragmentValidationError !== null) {
|
|
9167
9195
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_taxonomyFragment + '")\n';
|
|
9168
9196
|
message += referencepath_taxonomyFragmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9176,7 +9204,7 @@ function validate$o(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
|
9176
9204
|
for (let i = 0; i < obj_termFragments.length; i++) {
|
|
9177
9205
|
const obj_termFragments_item = obj_termFragments[i];
|
|
9178
9206
|
const path_termFragments_item = path_termFragments + '[' + i + ']';
|
|
9179
|
-
const referencepath_termFragments_itemValidationError = validate$
|
|
9207
|
+
const referencepath_termFragments_itemValidationError = validate$n(obj_termFragments_item, path_termFragments_item);
|
|
9180
9208
|
if (referencepath_termFragments_itemValidationError !== null) {
|
|
9181
9209
|
let message = 'Object doesn\'t match ManagedContentTaxonomyPathFragmentRepresentation (at "' + path_termFragments_item + '")\n';
|
|
9182
9210
|
message += referencepath_termFragments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9206,7 +9234,7 @@ function equals$b(existing, incoming) {
|
|
|
9206
9234
|
}
|
|
9207
9235
|
const ingest$b = function ManagedContentTaxonomyPathRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9208
9236
|
if (process.env.NODE_ENV !== 'production') {
|
|
9209
|
-
const validateError = validate$
|
|
9237
|
+
const validateError = validate$m(input);
|
|
9210
9238
|
if (validateError !== null) {
|
|
9211
9239
|
throw validateError;
|
|
9212
9240
|
}
|
|
@@ -9228,7 +9256,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9228
9256
|
|
|
9229
9257
|
const TTL$a = 100;
|
|
9230
9258
|
const VERSION$a = "ac799a7cee04dda27b43cff95ee1aee5";
|
|
9231
|
-
function validate$
|
|
9259
|
+
function validate$l(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
9232
9260
|
const v_error = (() => {
|
|
9233
9261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9234
9262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9335,7 +9363,7 @@ function equals$a(existing, incoming) {
|
|
|
9335
9363
|
}
|
|
9336
9364
|
const ingest$a = function ManagedContentTaxonomyTermRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9337
9365
|
if (process.env.NODE_ENV !== 'production') {
|
|
9338
|
-
const validateError = validate$
|
|
9366
|
+
const validateError = validate$l(input);
|
|
9339
9367
|
if (validateError !== null) {
|
|
9340
9368
|
throw validateError;
|
|
9341
9369
|
}
|
|
@@ -9361,7 +9389,7 @@ function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
9361
9389
|
|
|
9362
9390
|
const TTL$9 = 100;
|
|
9363
9391
|
const VERSION$9 = "8ab64b2a71caa7cbdb25a65e8081196c";
|
|
9364
|
-
function validate$
|
|
9392
|
+
function validate$k(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentation') {
|
|
9365
9393
|
const v_error = (() => {
|
|
9366
9394
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9367
9395
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9510,7 +9538,7 @@ function equals$9(existing, incoming) {
|
|
|
9510
9538
|
}
|
|
9511
9539
|
const ingest$9 = function ManagedContentTaxonomyTermCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9512
9540
|
if (process.env.NODE_ENV !== 'production') {
|
|
9513
|
-
const validateError = validate$
|
|
9541
|
+
const validateError = validate$k(input);
|
|
9514
9542
|
if (validateError !== null) {
|
|
9515
9543
|
throw validateError;
|
|
9516
9544
|
}
|
|
@@ -9676,7 +9704,7 @@ const getManagedContentTaxonomyTermsAdapterFactory = (luvio) => function CMSAuth
|
|
|
9676
9704
|
|
|
9677
9705
|
const TTL$8 = 120000;
|
|
9678
9706
|
const VERSION$8 = "a722ea476134ec8addd2229742816b17";
|
|
9679
|
-
function validate$
|
|
9707
|
+
function validate$j(obj, path = 'ManagedContentTypeSummaryCollectionRepresentation') {
|
|
9680
9708
|
const v_error = (() => {
|
|
9681
9709
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9682
9710
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9689,7 +9717,7 @@ function validate$l(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
9689
9717
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
9690
9718
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
9691
9719
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
9692
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
9720
|
+
const referencepath_contentTypes_itemValidationError = validate$15(obj_contentTypes_item, path_contentTypes_item);
|
|
9693
9721
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
9694
9722
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
9695
9723
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9748,7 +9776,7 @@ function equals$8(existing, incoming) {
|
|
|
9748
9776
|
}
|
|
9749
9777
|
const ingest$8 = function ManagedContentTypeSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9750
9778
|
if (process.env.NODE_ENV !== 'production') {
|
|
9751
|
-
const validateError = validate$
|
|
9779
|
+
const validateError = validate$j(input);
|
|
9752
9780
|
if (validateError !== null) {
|
|
9753
9781
|
throw validateError;
|
|
9754
9782
|
}
|
|
@@ -10088,7 +10116,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
10088
10116
|
};
|
|
10089
10117
|
};
|
|
10090
10118
|
|
|
10091
|
-
function validate$
|
|
10119
|
+
function validate$i(obj, path = 'ManagedContentVariantReferenceDetailsRepresentation') {
|
|
10092
10120
|
const v_error = (() => {
|
|
10093
10121
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10094
10122
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10105,7 +10133,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10105
10133
|
}
|
|
10106
10134
|
const obj_contentType = obj.contentType;
|
|
10107
10135
|
const path_contentType = path + '.contentType';
|
|
10108
|
-
const referencepath_contentTypeValidationError = validate$
|
|
10136
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
10109
10137
|
if (referencepath_contentTypeValidationError !== null) {
|
|
10110
10138
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
10111
10139
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10113,7 +10141,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10113
10141
|
}
|
|
10114
10142
|
const obj_createdBy = obj.createdBy;
|
|
10115
10143
|
const path_createdBy = path + '.createdBy';
|
|
10116
|
-
const referencepath_createdByValidationError = validate$
|
|
10144
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
10117
10145
|
if (referencepath_createdByValidationError !== null) {
|
|
10118
10146
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
10119
10147
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10131,7 +10159,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10131
10159
|
}
|
|
10132
10160
|
const obj_language = obj.language;
|
|
10133
10161
|
const path_language = path + '.language';
|
|
10134
|
-
const referencepath_languageValidationError = validate$
|
|
10162
|
+
const referencepath_languageValidationError = validate$F(obj_language, path_language);
|
|
10135
10163
|
if (referencepath_languageValidationError !== null) {
|
|
10136
10164
|
let message = 'Object doesn\'t match ManagedContentLanguageSummaryRepresentation (at "' + path_language + '")\n';
|
|
10137
10165
|
message += referencepath_languageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10139,7 +10167,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10139
10167
|
}
|
|
10140
10168
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
10141
10169
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
10142
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
10170
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
10143
10171
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
10144
10172
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
10145
10173
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10172,7 +10200,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10172
10200
|
}
|
|
10173
10201
|
const obj_status = obj.status;
|
|
10174
10202
|
const path_status = path + '.status';
|
|
10175
|
-
const referencepath_statusValidationError = validate$
|
|
10203
|
+
const referencepath_statusValidationError = validate$_(obj_status, path_status);
|
|
10176
10204
|
if (referencepath_statusValidationError !== null) {
|
|
10177
10205
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
10178
10206
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10189,7 +10217,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
10189
10217
|
|
|
10190
10218
|
const TTL$7 = 100;
|
|
10191
10219
|
const VERSION$7 = "944ebf1d8e72c74b2d0a208b3dfa8326";
|
|
10192
|
-
function validate$
|
|
10220
|
+
function validate$h(obj, path = 'ManagedContentVariantReferencesCollectionRepresentation') {
|
|
10193
10221
|
const v_error = (() => {
|
|
10194
10222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10195
10223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10210,7 +10238,7 @@ function validate$j(obj, path = 'ManagedContentVariantReferencesCollectionRepres
|
|
|
10210
10238
|
for (let i = 0; i < obj_referenceVariants_prop.length; i++) {
|
|
10211
10239
|
const obj_referenceVariants_prop_item = obj_referenceVariants_prop[i];
|
|
10212
10240
|
const path_referenceVariants_prop_item = path_referenceVariants_prop + '[' + i + ']';
|
|
10213
|
-
const referencepath_referenceVariants_prop_itemValidationError = validate$
|
|
10241
|
+
const referencepath_referenceVariants_prop_itemValidationError = validate$i(obj_referenceVariants_prop_item, path_referenceVariants_prop_item);
|
|
10214
10242
|
if (referencepath_referenceVariants_prop_itemValidationError !== null) {
|
|
10215
10243
|
let message = 'Object doesn\'t match ManagedContentVariantReferenceDetailsRepresentation (at "' + path_referenceVariants_prop_item + '")\n';
|
|
10216
10244
|
message += referencepath_referenceVariants_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10241,7 +10269,7 @@ function equals$7(existing, incoming) {
|
|
|
10241
10269
|
}
|
|
10242
10270
|
const ingest$7 = function ManagedContentVariantReferencesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10243
10271
|
if (process.env.NODE_ENV !== 'production') {
|
|
10244
|
-
const validateError = validate$
|
|
10272
|
+
const validateError = validate$h(input);
|
|
10245
10273
|
if (validateError !== null) {
|
|
10246
10274
|
throw validateError;
|
|
10247
10275
|
}
|
|
@@ -10402,7 +10430,7 @@ const getManagedContentVariantReferencesAdapterFactory = (luvio) => function CMS
|
|
|
10402
10430
|
|
|
10403
10431
|
const TTL$6 = 1000;
|
|
10404
10432
|
const VERSION$6 = "98edee4f058ced93570a7b0ce2293672";
|
|
10405
|
-
function validate$
|
|
10433
|
+
function validate$g(obj, path = 'ManagedContentRenditionRepresentation') {
|
|
10406
10434
|
const v_error = (() => {
|
|
10407
10435
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10408
10436
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10473,7 +10501,7 @@ function equals$6(existing, incoming) {
|
|
|
10473
10501
|
}
|
|
10474
10502
|
const ingest$6 = function ManagedContentRenditionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10475
10503
|
if (process.env.NODE_ENV !== 'production') {
|
|
10476
|
-
const validateError = validate$
|
|
10504
|
+
const validateError = validate$g(input);
|
|
10477
10505
|
if (validateError !== null) {
|
|
10478
10506
|
throw validateError;
|
|
10479
10507
|
}
|
|
@@ -10635,14 +10663,14 @@ const getManagedContentVariantRenditionAdapterFactory = (luvio) => function CMSA
|
|
|
10635
10663
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
10636
10664
|
};
|
|
10637
10665
|
|
|
10638
|
-
function validate$
|
|
10666
|
+
function validate$f(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
10639
10667
|
const v_error = (() => {
|
|
10640
10668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10641
10669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10642
10670
|
}
|
|
10643
10671
|
const obj_createdBy = obj.createdBy;
|
|
10644
10672
|
const path_createdBy = path + '.createdBy';
|
|
10645
|
-
const referencepath_createdByValidationError = validate$
|
|
10673
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
10646
10674
|
if (referencepath_createdByValidationError !== null) {
|
|
10647
10675
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
10648
10676
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10655,7 +10683,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
10655
10683
|
}
|
|
10656
10684
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
10657
10685
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
10658
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
10686
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
10659
10687
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
10660
10688
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
10661
10689
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10673,7 +10701,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
10673
10701
|
}
|
|
10674
10702
|
const obj_status = obj.status;
|
|
10675
10703
|
const path_status = path + '.status';
|
|
10676
|
-
const referencepath_statusValidationError = validate$
|
|
10704
|
+
const referencepath_statusValidationError = validate$_(obj_status, path_status);
|
|
10677
10705
|
if (referencepath_statusValidationError !== null) {
|
|
10678
10706
|
let message = 'Object doesn\'t match ManagedContentVariantStatusRepresentation (at "' + path_status + '")\n';
|
|
10679
10707
|
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10695,7 +10723,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
10695
10723
|
|
|
10696
10724
|
const TTL$5 = 100;
|
|
10697
10725
|
const VERSION$5 = "993f4fe3a5b12699f037079dbe30610b";
|
|
10698
|
-
function validate$
|
|
10726
|
+
function validate$e(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
|
|
10699
10727
|
const v_error = (() => {
|
|
10700
10728
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10701
10729
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10725,7 +10753,7 @@ function validate$g(obj, path = 'ManagedContentVariantVersionCollectionRepresent
|
|
|
10725
10753
|
for (let i = 0; i < obj_versions.length; i++) {
|
|
10726
10754
|
const obj_versions_item = obj_versions[i];
|
|
10727
10755
|
const path_versions_item = path_versions + '[' + i + ']';
|
|
10728
|
-
const referencepath_versions_itemValidationError = validate$
|
|
10756
|
+
const referencepath_versions_itemValidationError = validate$f(obj_versions_item, path_versions_item);
|
|
10729
10757
|
if (referencepath_versions_itemValidationError !== null) {
|
|
10730
10758
|
let message = 'Object doesn\'t match ManagedContentVariantVersionRepresentation (at "' + path_versions_item + '")\n';
|
|
10731
10759
|
message += referencepath_versions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10764,7 +10792,7 @@ function equals$5(existing, incoming) {
|
|
|
10764
10792
|
}
|
|
10765
10793
|
const ingest$5 = function ManagedContentVariantVersionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10766
10794
|
if (process.env.NODE_ENV !== 'production') {
|
|
10767
|
-
const validateError = validate$
|
|
10795
|
+
const validateError = validate$e(input);
|
|
10768
10796
|
if (validateError !== null) {
|
|
10769
10797
|
throw validateError;
|
|
10770
10798
|
}
|
|
@@ -10969,14 +10997,14 @@ const notifyChangeFactory = (luvio, options) => {
|
|
|
10969
10997
|
};
|
|
10970
10998
|
};
|
|
10971
10999
|
|
|
10972
|
-
function validate$
|
|
11000
|
+
function validate$d(obj, path = 'AbstractManagedContentSearchResultRepresentation') {
|
|
10973
11001
|
const v_error = (() => {
|
|
10974
11002
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10975
11003
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10976
11004
|
}
|
|
10977
11005
|
const obj_createdBy = obj.createdBy;
|
|
10978
11006
|
const path_createdBy = path + '.createdBy';
|
|
10979
|
-
const referencepath_createdByValidationError = validate$
|
|
11007
|
+
const referencepath_createdByValidationError = validate$12(obj_createdBy, path_createdBy);
|
|
10980
11008
|
if (referencepath_createdByValidationError !== null) {
|
|
10981
11009
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
10982
11010
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10989,7 +11017,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
10989
11017
|
}
|
|
10990
11018
|
const obj_folder = obj.folder;
|
|
10991
11019
|
const path_folder = path + '.folder';
|
|
10992
|
-
const referencepath_folderValidationError = validate$
|
|
11020
|
+
const referencepath_folderValidationError = validate$19(obj_folder, path_folder);
|
|
10993
11021
|
if (referencepath_folderValidationError !== null) {
|
|
10994
11022
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
10995
11023
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11002,7 +11030,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
11002
11030
|
}
|
|
11003
11031
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11004
11032
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11005
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
11033
|
+
const referencepath_lastModifiedByValidationError = validate$12(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11006
11034
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11007
11035
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11008
11036
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11029,7 +11057,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
11029
11057
|
|
|
11030
11058
|
const TTL$4 = 100;
|
|
11031
11059
|
const VERSION$4 = "bbcdc04e5d094f6f8048bc2863d86527";
|
|
11032
|
-
function validate$
|
|
11060
|
+
function validate$c(obj, path = 'ManagedContentSearchResultItemsCollectionRepresentation') {
|
|
11033
11061
|
const v_error = (() => {
|
|
11034
11062
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11035
11063
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11052,7 +11080,7 @@ function validate$e(obj, path = 'ManagedContentSearchResultItemsCollectionRepres
|
|
|
11052
11080
|
for (let i = 0; i < obj_items.length; i++) {
|
|
11053
11081
|
const obj_items_item = obj_items[i];
|
|
11054
11082
|
const path_items_item = path_items + '[' + i + ']';
|
|
11055
|
-
const referencepath_items_itemValidationError = validate$
|
|
11083
|
+
const referencepath_items_itemValidationError = validate$d(obj_items_item, path_items_item);
|
|
11056
11084
|
if (referencepath_items_itemValidationError !== null) {
|
|
11057
11085
|
let message = 'Object doesn\'t match AbstractManagedContentSearchResultRepresentation (at "' + path_items_item + '")\n';
|
|
11058
11086
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11087,7 +11115,7 @@ function equals$4(existing, incoming) {
|
|
|
11087
11115
|
}
|
|
11088
11116
|
const ingest$4 = function ManagedContentSearchResultItemsCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11089
11117
|
if (process.env.NODE_ENV !== 'production') {
|
|
11090
|
-
const validateError = validate$
|
|
11118
|
+
const validateError = validate$c(input);
|
|
11091
11119
|
if (validateError !== null) {
|
|
11092
11120
|
throw validateError;
|
|
11093
11121
|
}
|
|
@@ -11251,7 +11279,7 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
|
|
|
11251
11279
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
11252
11280
|
};
|
|
11253
11281
|
|
|
11254
|
-
function validate$
|
|
11282
|
+
function validate$b(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresentation') {
|
|
11255
11283
|
const v_error = (() => {
|
|
11256
11284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11257
11285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11286,7 +11314,7 @@ function validate$d(obj, path = 'ManagedContentWebUrlRedirectInfoOutputRepresent
|
|
|
11286
11314
|
return v_error === undefined ? null : v_error;
|
|
11287
11315
|
}
|
|
11288
11316
|
|
|
11289
|
-
function validate$
|
|
11317
|
+
function validate$a(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
11290
11318
|
const v_error = (() => {
|
|
11291
11319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11292
11320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11305,7 +11333,7 @@ function validate$c(obj, path = 'ManagedContentSiteInfoRepresentation') {
|
|
|
11305
11333
|
return v_error === undefined ? null : v_error;
|
|
11306
11334
|
}
|
|
11307
11335
|
|
|
11308
|
-
function validate$
|
|
11336
|
+
function validate$9(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
11309
11337
|
const v_error = (() => {
|
|
11310
11338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11311
11339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11313,7 +11341,7 @@ function validate$b(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
11313
11341
|
if (obj.siteInfo !== undefined) {
|
|
11314
11342
|
const obj_siteInfo = obj.siteInfo;
|
|
11315
11343
|
const path_siteInfo = path + '.siteInfo';
|
|
11316
|
-
const referencepath_siteInfoValidationError = validate$
|
|
11344
|
+
const referencepath_siteInfoValidationError = validate$a(obj_siteInfo, path_siteInfo);
|
|
11317
11345
|
if (referencepath_siteInfoValidationError !== null) {
|
|
11318
11346
|
let message = 'Object doesn\'t match ManagedContentSiteInfoRepresentation (at "' + path_siteInfo + '")\n';
|
|
11319
11347
|
message += referencepath_siteInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11331,7 +11359,7 @@ function validate$b(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
11331
11359
|
|
|
11332
11360
|
const TTL$3 = 100;
|
|
11333
11361
|
const VERSION$3 = "e55a316362ca4e75b43fa6c9c1b8a065";
|
|
11334
|
-
function validate$
|
|
11362
|
+
function validate$8(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
11335
11363
|
const v_error = (() => {
|
|
11336
11364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11337
11365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11348,7 +11376,7 @@ function validate$a(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
11348
11376
|
}
|
|
11349
11377
|
const obj_redirectInfo = obj.redirectInfo;
|
|
11350
11378
|
const path_redirectInfo = path + '.redirectInfo';
|
|
11351
|
-
const referencepath_redirectInfoValidationError = validate$
|
|
11379
|
+
const referencepath_redirectInfoValidationError = validate$b(obj_redirectInfo, path_redirectInfo);
|
|
11352
11380
|
if (referencepath_redirectInfoValidationError !== null) {
|
|
11353
11381
|
let message = 'Object doesn\'t match ManagedContentWebUrlRedirectInfoOutputRepresentation (at "' + path_redirectInfo + '")\n';
|
|
11354
11382
|
message += referencepath_redirectInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11372,7 +11400,7 @@ function validate$a(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
11372
11400
|
for (let i = 0; i < obj_urls.length; i++) {
|
|
11373
11401
|
const obj_urls_item = obj_urls[i];
|
|
11374
11402
|
const path_urls_item = path_urls + '[' + i + ']';
|
|
11375
|
-
const referencepath_urls_itemValidationError = validate$
|
|
11403
|
+
const referencepath_urls_itemValidationError = validate$9(obj_urls_item, path_urls_item);
|
|
11376
11404
|
if (referencepath_urls_itemValidationError !== null) {
|
|
11377
11405
|
let message = 'Object doesn\'t match ManagedContentWebUrlInfoRepresentation (at "' + path_urls_item + '")\n';
|
|
11378
11406
|
message += referencepath_urls_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11411,7 +11439,7 @@ function equals$3(existing, incoming) {
|
|
|
11411
11439
|
}
|
|
11412
11440
|
const ingest$3 = function ManagedContentWebUrlRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11413
11441
|
if (process.env.NODE_ENV !== 'production') {
|
|
11414
|
-
const validateError = validate$
|
|
11442
|
+
const validateError = validate$8(input);
|
|
11415
11443
|
if (validateError !== null) {
|
|
11416
11444
|
throw validateError;
|
|
11417
11445
|
}
|
|
@@ -11433,7 +11461,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11433
11461
|
|
|
11434
11462
|
const TTL$2 = 100;
|
|
11435
11463
|
const VERSION$2 = "361f66b21b2d3b6832c42c67fac4f448";
|
|
11436
|
-
function validate$
|
|
11464
|
+
function validate$7(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
11437
11465
|
const v_error = (() => {
|
|
11438
11466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11439
11467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11446,7 +11474,7 @@ function validate$9(obj, path = 'ManagedContentWebUrlsRepresentation') {
|
|
|
11446
11474
|
for (let i = 0; i < obj_urlAliases.length; i++) {
|
|
11447
11475
|
const obj_urlAliases_item = obj_urlAliases[i];
|
|
11448
11476
|
const path_urlAliases_item = path_urlAliases + '[' + i + ']';
|
|
11449
|
-
const referencepath_urlAliases_itemValidationError = validate$
|
|
11477
|
+
const referencepath_urlAliases_itemValidationError = validate$8(obj_urlAliases_item, path_urlAliases_item);
|
|
11450
11478
|
if (referencepath_urlAliases_itemValidationError !== null) {
|
|
11451
11479
|
let message = 'Object doesn\'t match ManagedContentWebUrlRepresentation (at "' + path_urlAliases_item + '")\n';
|
|
11452
11480
|
message += referencepath_urlAliases_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11476,7 +11504,7 @@ function equals$2(existing, incoming) {
|
|
|
11476
11504
|
}
|
|
11477
11505
|
const ingest$2 = function ManagedContentWebUrlsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11478
11506
|
if (process.env.NODE_ENV !== 'production') {
|
|
11479
|
-
const validateError = validate$
|
|
11507
|
+
const validateError = validate$7(input);
|
|
11480
11508
|
if (validateError !== null) {
|
|
11481
11509
|
throw validateError;
|
|
11482
11510
|
}
|
|
@@ -11636,7 +11664,7 @@ const getWebUrlsAdapterFactory = (luvio) => function CMSAuthoring__getWebUrls(un
|
|
|
11636
11664
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
11637
11665
|
};
|
|
11638
11666
|
|
|
11639
|
-
function validate$
|
|
11667
|
+
function validate$6(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
11640
11668
|
const v_error = (() => {
|
|
11641
11669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11642
11670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11777,7 +11805,7 @@ function typeCheckConfig$9(untrustedConfig) {
|
|
|
11777
11805
|
const config = {};
|
|
11778
11806
|
typeCheckConfig$J(untrustedConfig, config, patchManagedContentSpace_ConfigPropertyMetadata);
|
|
11779
11807
|
const untrustedConfig_ManagedContentSpaceInput = untrustedConfig.ManagedContentSpaceInput;
|
|
11780
|
-
const referenceManagedContentSpaceInputRepresentationValidationError = validate$
|
|
11808
|
+
const referenceManagedContentSpaceInputRepresentationValidationError = validate$6(untrustedConfig_ManagedContentSpaceInput);
|
|
11781
11809
|
if (referenceManagedContentSpaceInputRepresentationValidationError === null) {
|
|
11782
11810
|
config.ManagedContentSpaceInput = untrustedConfig_ManagedContentSpaceInput;
|
|
11783
11811
|
}
|
|
@@ -11916,67 +11944,9 @@ const postManagedContentSpaceFolderAdapterFactory = (luvio) => {
|
|
|
11916
11944
|
};
|
|
11917
11945
|
};
|
|
11918
11946
|
|
|
11919
|
-
function validate$7(obj, path = 'ManagedContentPublishInputRepresentation') {
|
|
11920
|
-
const v_error = (() => {
|
|
11921
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11922
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11923
|
-
}
|
|
11924
|
-
if (obj.contentIds !== undefined) {
|
|
11925
|
-
const obj_contentIds = obj.contentIds;
|
|
11926
|
-
const path_contentIds = path + '.contentIds';
|
|
11927
|
-
if (!ArrayIsArray(obj_contentIds)) {
|
|
11928
|
-
return new TypeError('Expected "array" but received "' + typeof obj_contentIds + '" (at "' + path_contentIds + '")');
|
|
11929
|
-
}
|
|
11930
|
-
for (let i = 0; i < obj_contentIds.length; i++) {
|
|
11931
|
-
const obj_contentIds_item = obj_contentIds[i];
|
|
11932
|
-
const path_contentIds_item = path_contentIds + '[' + i + ']';
|
|
11933
|
-
if (typeof obj_contentIds_item !== 'string') {
|
|
11934
|
-
return new TypeError('Expected "string" but received "' + typeof obj_contentIds_item + '" (at "' + path_contentIds_item + '")');
|
|
11935
|
-
}
|
|
11936
|
-
}
|
|
11937
|
-
}
|
|
11938
|
-
if (obj.contextContentSpaceId !== undefined) {
|
|
11939
|
-
const obj_contextContentSpaceId = obj.contextContentSpaceId;
|
|
11940
|
-
const path_contextContentSpaceId = path + '.contextContentSpaceId';
|
|
11941
|
-
if (typeof obj_contextContentSpaceId !== 'string') {
|
|
11942
|
-
return new TypeError('Expected "string" but received "' + typeof obj_contextContentSpaceId + '" (at "' + path_contextContentSpaceId + '")');
|
|
11943
|
-
}
|
|
11944
|
-
}
|
|
11945
|
-
if (obj.description !== undefined) {
|
|
11946
|
-
const obj_description = obj.description;
|
|
11947
|
-
const path_description = path + '.description';
|
|
11948
|
-
if (typeof obj_description !== 'string') {
|
|
11949
|
-
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
11950
|
-
}
|
|
11951
|
-
}
|
|
11952
|
-
if (obj.includeContentReferences !== undefined) {
|
|
11953
|
-
const obj_includeContentReferences = obj.includeContentReferences;
|
|
11954
|
-
const path_includeContentReferences = path + '.includeContentReferences';
|
|
11955
|
-
if (typeof obj_includeContentReferences !== 'boolean') {
|
|
11956
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_includeContentReferences + '" (at "' + path_includeContentReferences + '")');
|
|
11957
|
-
}
|
|
11958
|
-
}
|
|
11959
|
-
if (obj.variantIds !== undefined) {
|
|
11960
|
-
const obj_variantIds = obj.variantIds;
|
|
11961
|
-
const path_variantIds = path + '.variantIds';
|
|
11962
|
-
if (!ArrayIsArray(obj_variantIds)) {
|
|
11963
|
-
return new TypeError('Expected "array" but received "' + typeof obj_variantIds + '" (at "' + path_variantIds + '")');
|
|
11964
|
-
}
|
|
11965
|
-
for (let i = 0; i < obj_variantIds.length; i++) {
|
|
11966
|
-
const obj_variantIds_item = obj_variantIds[i];
|
|
11967
|
-
const path_variantIds_item = path_variantIds + '[' + i + ']';
|
|
11968
|
-
if (typeof obj_variantIds_item !== 'string') {
|
|
11969
|
-
return new TypeError('Expected "string" but received "' + typeof obj_variantIds_item + '" (at "' + path_variantIds_item + '")');
|
|
11970
|
-
}
|
|
11971
|
-
}
|
|
11972
|
-
}
|
|
11973
|
-
})();
|
|
11974
|
-
return v_error === undefined ? null : v_error;
|
|
11975
|
-
}
|
|
11976
|
-
|
|
11977
11947
|
const TTL$1 = 100;
|
|
11978
11948
|
const VERSION$1 = "789bce2e581ff7969982fbf2ffbfd9a5";
|
|
11979
|
-
function validate$
|
|
11949
|
+
function validate$5(obj, path = 'ManagedContentPublishOutputRepresentation') {
|
|
11980
11950
|
const v_error = (() => {
|
|
11981
11951
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11982
11952
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12070,7 +12040,7 @@ function equals$1(existing, incoming) {
|
|
|
12070
12040
|
}
|
|
12071
12041
|
const ingest$1 = function ManagedContentPublishOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12072
12042
|
if (process.env.NODE_ENV !== 'production') {
|
|
12073
|
-
const validateError = validate$
|
|
12043
|
+
const validateError = validate$5(input);
|
|
12074
12044
|
if (validateError !== null) {
|
|
12075
12045
|
throw validateError;
|
|
12076
12046
|
}
|
|
@@ -12129,17 +12099,17 @@ function createResourceRequest$7(config) {
|
|
|
12129
12099
|
|
|
12130
12100
|
const adapterName$7 = 'publishManagedContent';
|
|
12131
12101
|
const publishManagedContent_ConfigPropertyMetadata = [
|
|
12132
|
-
generateParamConfigMetadata('
|
|
12102
|
+
generateParamConfigMetadata('contentIds', false, 2 /* Body */, 0 /* String */, true),
|
|
12103
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
12104
|
+
generateParamConfigMetadata('includeContentReferences', false, 2 /* Body */, 1 /* Boolean */),
|
|
12105
|
+
generateParamConfigMetadata('variantIds', false, 2 /* Body */, 0 /* String */, true),
|
|
12106
|
+
generateParamConfigMetadata('contextContentSpaceId', false, 2 /* Body */, 0 /* String */),
|
|
12133
12107
|
];
|
|
12134
12108
|
const publishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, publishManagedContent_ConfigPropertyMetadata);
|
|
12135
12109
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$J(publishManagedContent_ConfigPropertyMetadata);
|
|
12136
12110
|
function typeCheckConfig$7(untrustedConfig) {
|
|
12137
12111
|
const config = {};
|
|
12138
|
-
|
|
12139
|
-
const referenceManagedContentPublishInputRepresentationValidationError = validate$7(untrustedConfig_publishInput);
|
|
12140
|
-
if (referenceManagedContentPublishInputRepresentationValidationError === null) {
|
|
12141
|
-
config.publishInput = untrustedConfig_publishInput;
|
|
12142
|
-
}
|
|
12112
|
+
typeCheckConfig$J(untrustedConfig, config, publishManagedContent_ConfigPropertyMetadata);
|
|
12143
12113
|
return config;
|
|
12144
12114
|
}
|
|
12145
12115
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -12184,7 +12154,7 @@ const publishManagedContentAdapterFactory = (luvio) => {
|
|
|
12184
12154
|
};
|
|
12185
12155
|
};
|
|
12186
12156
|
|
|
12187
|
-
function validate$
|
|
12157
|
+
function validate$4(obj, path = 'ManagedContentOrchestratorConfigInputRepresentation') {
|
|
12188
12158
|
const v_error = (() => {
|
|
12189
12159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12190
12160
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12253,7 +12223,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
12253
12223
|
const config = {};
|
|
12254
12224
|
typeCheckConfig$J(untrustedConfig, config, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
|
|
12255
12225
|
const untrustedConfig_mContentOrchConfigInput = untrustedConfig.mContentOrchConfigInput;
|
|
12256
|
-
const referenceManagedContentOrchestratorConfigInputRepresentationValidationError = validate$
|
|
12226
|
+
const referenceManagedContentOrchestratorConfigInputRepresentationValidationError = validate$4(untrustedConfig_mContentOrchConfigInput);
|
|
12257
12227
|
if (referenceManagedContentOrchestratorConfigInputRepresentationValidationError === null) {
|
|
12258
12228
|
config.mContentOrchConfigInput = untrustedConfig_mContentOrchConfigInput;
|
|
12259
12229
|
}
|
|
@@ -12301,7 +12271,7 @@ const putManagedContentSpaceOrchestratorConfigAdapterFactory = (luvio) => {
|
|
|
12301
12271
|
};
|
|
12302
12272
|
};
|
|
12303
12273
|
|
|
12304
|
-
function validate$
|
|
12274
|
+
function validate$3(obj, path = 'ManagedContentVariantUpdateInputRepresentation') {
|
|
12305
12275
|
const v_error = (() => {
|
|
12306
12276
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12307
12277
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12386,7 +12356,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
12386
12356
|
const config = {};
|
|
12387
12357
|
typeCheckConfig$J(untrustedConfig, config, replaceManagedContentVariant_ConfigPropertyMetadata);
|
|
12388
12358
|
const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
|
|
12389
|
-
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$
|
|
12359
|
+
const referenceManagedContentVariantUpdateInputRepresentationValidationError = validate$3(untrustedConfig_ManagedContentVariantInputParam);
|
|
12390
12360
|
if (referenceManagedContentVariantUpdateInputRepresentationValidationError === null) {
|
|
12391
12361
|
config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
|
|
12392
12362
|
}
|
|
@@ -12434,50 +12404,6 @@ const replaceManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
12434
12404
|
};
|
|
12435
12405
|
};
|
|
12436
12406
|
|
|
12437
|
-
function validate$3(obj, path = 'ManagedContentUnpublishInputRepresentation') {
|
|
12438
|
-
const v_error = (() => {
|
|
12439
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12440
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
12441
|
-
}
|
|
12442
|
-
if (obj.contentIds !== undefined) {
|
|
12443
|
-
const obj_contentIds = obj.contentIds;
|
|
12444
|
-
const path_contentIds = path + '.contentIds';
|
|
12445
|
-
if (!ArrayIsArray(obj_contentIds)) {
|
|
12446
|
-
return new TypeError('Expected "array" but received "' + typeof obj_contentIds + '" (at "' + path_contentIds + '")');
|
|
12447
|
-
}
|
|
12448
|
-
for (let i = 0; i < obj_contentIds.length; i++) {
|
|
12449
|
-
const obj_contentIds_item = obj_contentIds[i];
|
|
12450
|
-
const path_contentIds_item = path_contentIds + '[' + i + ']';
|
|
12451
|
-
if (typeof obj_contentIds_item !== 'string') {
|
|
12452
|
-
return new TypeError('Expected "string" but received "' + typeof obj_contentIds_item + '" (at "' + path_contentIds_item + '")');
|
|
12453
|
-
}
|
|
12454
|
-
}
|
|
12455
|
-
}
|
|
12456
|
-
if (obj.description !== undefined) {
|
|
12457
|
-
const obj_description = obj.description;
|
|
12458
|
-
const path_description = path + '.description';
|
|
12459
|
-
if (typeof obj_description !== 'string') {
|
|
12460
|
-
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
12461
|
-
}
|
|
12462
|
-
}
|
|
12463
|
-
if (obj.variantIds !== undefined) {
|
|
12464
|
-
const obj_variantIds = obj.variantIds;
|
|
12465
|
-
const path_variantIds = path + '.variantIds';
|
|
12466
|
-
if (!ArrayIsArray(obj_variantIds)) {
|
|
12467
|
-
return new TypeError('Expected "array" but received "' + typeof obj_variantIds + '" (at "' + path_variantIds + '")');
|
|
12468
|
-
}
|
|
12469
|
-
for (let i = 0; i < obj_variantIds.length; i++) {
|
|
12470
|
-
const obj_variantIds_item = obj_variantIds[i];
|
|
12471
|
-
const path_variantIds_item = path_variantIds + '[' + i + ']';
|
|
12472
|
-
if (typeof obj_variantIds_item !== 'string') {
|
|
12473
|
-
return new TypeError('Expected "string" but received "' + typeof obj_variantIds_item + '" (at "' + path_variantIds_item + '")');
|
|
12474
|
-
}
|
|
12475
|
-
}
|
|
12476
|
-
}
|
|
12477
|
-
})();
|
|
12478
|
-
return v_error === undefined ? null : v_error;
|
|
12479
|
-
}
|
|
12480
|
-
|
|
12481
12407
|
const TTL = 100;
|
|
12482
12408
|
const VERSION = "2f473ff12e87a4fc2336695104ab8567";
|
|
12483
12409
|
function validate$2(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
|
|
@@ -12633,17 +12559,15 @@ function createResourceRequest$4(config) {
|
|
|
12633
12559
|
|
|
12634
12560
|
const adapterName$4 = 'unpublishManagedContent';
|
|
12635
12561
|
const unpublishManagedContent_ConfigPropertyMetadata = [
|
|
12636
|
-
generateParamConfigMetadata('
|
|
12562
|
+
generateParamConfigMetadata('contentIds', false, 2 /* Body */, 0 /* String */, true),
|
|
12563
|
+
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
12564
|
+
generateParamConfigMetadata('variantIds', false, 2 /* Body */, 0 /* String */, true),
|
|
12637
12565
|
];
|
|
12638
12566
|
const unpublishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, unpublishManagedContent_ConfigPropertyMetadata);
|
|
12639
12567
|
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$J(unpublishManagedContent_ConfigPropertyMetadata);
|
|
12640
12568
|
function typeCheckConfig$4(untrustedConfig) {
|
|
12641
12569
|
const config = {};
|
|
12642
|
-
|
|
12643
|
-
const referenceManagedContentUnpublishInputRepresentationValidationError = validate$3(untrustedConfig_unpublishInput);
|
|
12644
|
-
if (referenceManagedContentUnpublishInputRepresentationValidationError === null) {
|
|
12645
|
-
config.unpublishInput = untrustedConfig_unpublishInput;
|
|
12646
|
-
}
|
|
12570
|
+
typeCheckConfig$J(untrustedConfig, config, unpublishManagedContent_ConfigPropertyMetadata);
|
|
12647
12571
|
return config;
|
|
12648
12572
|
}
|
|
12649
12573
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -13497,4 +13421,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13497
13421
|
});
|
|
13498
13422
|
|
|
13499
13423
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentFileUploadConfig, getManagedContentFileUploadConfig_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, 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, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
13500
|
-
// version: 1.
|
|
13424
|
+
// version: 1.294.0-e7eb16228
|