@salesforce/lds-adapters-cms-authoring 1.445.0 → 1.447.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cms-authoring.js +60 -126
- package/dist/es/es2018/types/src/generated/adapters/createManagedContentVariant.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsContentsVariants.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentInputRepresentation.d.ts +1 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantInputWrapperRepresentation.d.ts +3 -3
- package/package.json +4 -4
- package/sfdc/index.js +51 -117
- package/src/raml/api.raml +1 -32
- package/src/raml/luvio.raml +7 -33
- package/dist/es/es2018/types/src/generated/types/ManagedContentAdditionalVariantInputRepresentation.d.ts +0 -44
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ManagedContentAdditionalVariantInputRepresentation as ManagedContentAdditionalVariantInputRepresentation_ManagedContentAdditionalVariantInputRepresentation } from './ManagedContentAdditionalVariantInputRepresentation';
|
|
2
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "86971f98fbfe2baeacebd4372f211dd2";
|
|
4
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
4
|
export declare const RepresentationType: string;
|
|
6
5
|
export declare function normalize(input: ManagedContentInputRepresentation, existing: ManagedContentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentInputRepresentationNormalized;
|
|
@@ -15,8 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
14
|
* (none)
|
|
16
15
|
*/
|
|
17
16
|
export interface ManagedContentInputRepresentationNormalized {
|
|
18
|
-
/** Optional list of additional variants to create along with the primary content. */
|
|
19
|
-
additionalVariants?: Array<ManagedContentAdditionalVariantInputRepresentation_ManagedContentAdditionalVariantInputRepresentation>;
|
|
20
17
|
/** The body of the managed content. */
|
|
21
18
|
contentBody: {
|
|
22
19
|
[key: string]: unknown;
|
|
@@ -41,7 +38,6 @@ export interface ManagedContentInputRepresentationNormalized {
|
|
|
41
38
|
* (none)
|
|
42
39
|
*/
|
|
43
40
|
export interface ManagedContentInputRepresentation {
|
|
44
|
-
additionalVariants?: Array<ManagedContentAdditionalVariantInputRepresentation_ManagedContentAdditionalVariantInputRepresentation>;
|
|
45
41
|
contentBody: {
|
|
46
42
|
[key: string]: unknown;
|
|
47
43
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ManagedContentVariantInputRepresentation as ManagedContentVariantInputRepresentation_ManagedContentVariantInputRepresentation } from './ManagedContentVariantInputRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "4ed1d82e087a13053ce84c31bab6eb36";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ManagedContentVariantInputWrapperRepresentation, existing: ManagedContentVariantInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVariantInputWrapperRepresentationNormalized;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface ManagedContentVariantInputWrapperRepresentationNormalized {
|
|
18
|
-
|
|
18
|
+
ManagedContentVariantInputParam: ManagedContentVariantInputRepresentation_ManagedContentVariantInputRepresentation;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* wrapper for Input required for creating a variant
|
|
@@ -24,5 +24,5 @@ export interface ManagedContentVariantInputWrapperRepresentationNormalized {
|
|
|
24
24
|
* (none)
|
|
25
25
|
*/
|
|
26
26
|
export interface ManagedContentVariantInputWrapperRepresentation {
|
|
27
|
-
|
|
27
|
+
ManagedContentVariantInputParam: ManagedContentVariantInputRepresentation_ManagedContentVariantInputRepresentation;
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.447.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS authoring APIs",
|
|
6
6
|
"main": "dist/es/es2018/cms-authoring.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.447.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.447.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.447.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$1q(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -122,7 +122,7 @@ function validate$1r(obj, path = 'ManagedContentCloneStatusRepresentation') {
|
|
|
122
122
|
return v_error === undefined ? null : v_error;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function validate$
|
|
125
|
+
function validate$1p(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
126
126
|
const v_error = (() => {
|
|
127
127
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
128
128
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -146,7 +146,7 @@ function validate$1q(obj, path = 'ManagedContentFailedVariantsRepresentation') {
|
|
|
146
146
|
return v_error === undefined ? null : v_error;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
function validate$
|
|
149
|
+
function validate$1o(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
150
150
|
const v_error = (() => {
|
|
151
151
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
152
152
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -165,7 +165,7 @@ function validate$1p(obj, path = 'ManagedContentFolderSummaryRepresentation') {
|
|
|
165
165
|
return v_error === undefined ? null : v_error;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
function validate$
|
|
168
|
+
function validate$1n(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
169
169
|
const v_error = (() => {
|
|
170
170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
171
171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -212,7 +212,7 @@ function validate$1o(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
212
212
|
|
|
213
213
|
const TTL$E = 100;
|
|
214
214
|
const VERSION$O = "7066162a0da609712a7a7b3fa365ed68";
|
|
215
|
-
function validate$
|
|
215
|
+
function validate$1m(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
216
216
|
const v_error = (() => {
|
|
217
217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
218
218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -247,7 +247,7 @@ function validate$1n(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
247
247
|
}
|
|
248
248
|
const obj_cloneStatus = obj.cloneStatus;
|
|
249
249
|
const path_cloneStatus = path + '.cloneStatus';
|
|
250
|
-
const referencepath_cloneStatusValidationError = validate$
|
|
250
|
+
const referencepath_cloneStatusValidationError = validate$1q(obj_cloneStatus, path_cloneStatus);
|
|
251
251
|
if (referencepath_cloneStatusValidationError !== null) {
|
|
252
252
|
let message = 'Object doesn\'t match ManagedContentCloneStatusRepresentation (at "' + path_cloneStatus + '")\n';
|
|
253
253
|
message += referencepath_cloneStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -294,7 +294,7 @@ function validate$1n(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
294
294
|
for (let i = 0; i < obj_failedVariants.length; i++) {
|
|
295
295
|
const obj_failedVariants_item = obj_failedVariants[i];
|
|
296
296
|
const path_failedVariants_item = path_failedVariants + '[' + i + ']';
|
|
297
|
-
const referencepath_failedVariants_itemValidationError = validate$
|
|
297
|
+
const referencepath_failedVariants_itemValidationError = validate$1p(obj_failedVariants_item, path_failedVariants_item);
|
|
298
298
|
if (referencepath_failedVariants_itemValidationError !== null) {
|
|
299
299
|
let message = 'Object doesn\'t match ManagedContentFailedVariantsRepresentation (at "' + path_failedVariants_item + '")\n';
|
|
300
300
|
message += referencepath_failedVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -304,7 +304,7 @@ function validate$1n(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
304
304
|
if (obj.folder !== undefined) {
|
|
305
305
|
const obj_folder = obj.folder;
|
|
306
306
|
const path_folder = path + '.folder';
|
|
307
|
-
const referencepath_folderValidationError = validate$
|
|
307
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
308
308
|
if (referencepath_folderValidationError !== null) {
|
|
309
309
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
310
310
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -408,7 +408,7 @@ function validate$1n(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
408
408
|
for (let i = 0; i < obj_variants.length; i++) {
|
|
409
409
|
const obj_variants_item = obj_variants[i];
|
|
410
410
|
const path_variants_item = path_variants + '[' + i + ']';
|
|
411
|
-
const referencepath_variants_itemValidationError = validate$
|
|
411
|
+
const referencepath_variants_itemValidationError = validate$1n(obj_variants_item, path_variants_item);
|
|
412
412
|
if (referencepath_variants_itemValidationError !== null) {
|
|
413
413
|
let message = 'Object doesn\'t match ManagedContentClonedVariantRepresentation (at "' + path_variants_item + '")\n';
|
|
414
414
|
message += referencepath_variants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -447,7 +447,7 @@ function equals$O(existing, incoming) {
|
|
|
447
447
|
}
|
|
448
448
|
const ingest$E = function ManagedContentDocumentCloneRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
449
449
|
if (process.env.NODE_ENV !== 'production') {
|
|
450
|
-
const validateError = validate$
|
|
450
|
+
const validateError = validate$1m(input);
|
|
451
451
|
if (validateError !== null) {
|
|
452
452
|
throw validateError;
|
|
453
453
|
}
|
|
@@ -562,7 +562,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
562
562
|
};
|
|
563
563
|
};
|
|
564
564
|
|
|
565
|
-
function validate$
|
|
565
|
+
function validate$1l(obj, path = 'ManagedContentDeploymentInputRepresentation') {
|
|
566
566
|
const v_error = (() => {
|
|
567
567
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
568
568
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -647,7 +647,7 @@ function validate$1m(obj, path = 'ManagedContentDeploymentInputRepresentation')
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
const VERSION$N = "7297fb0dbfe8f664d76179a65037c290";
|
|
650
|
-
function validate$
|
|
650
|
+
function validate$1k(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
651
651
|
const v_error = (() => {
|
|
652
652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
653
653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -708,7 +708,7 @@ function equals$N(existing, incoming) {
|
|
|
708
708
|
}
|
|
709
709
|
|
|
710
710
|
const VERSION$M = "c30d880a3dba684a405d1cf961af2b76";
|
|
711
|
-
function validate$
|
|
711
|
+
function validate$1j(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
|
|
712
712
|
const v_error = (() => {
|
|
713
713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
714
714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -717,7 +717,7 @@ function validate$1k(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
717
717
|
const path_contentType = path + '.contentType';
|
|
718
718
|
let obj_contentType_union0 = null;
|
|
719
719
|
const obj_contentType_union0_error = (() => {
|
|
720
|
-
const referencepath_contentTypeValidationError = validate$
|
|
720
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
721
721
|
if (referencepath_contentTypeValidationError !== null) {
|
|
722
722
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
723
723
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -949,7 +949,7 @@ function equals$M(existing, incoming) {
|
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
const VERSION$L = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
952
|
-
function validate$
|
|
952
|
+
function validate$1i(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
953
953
|
const v_error = (() => {
|
|
954
954
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
955
955
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -976,7 +976,7 @@ function validate$1j(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
976
976
|
}
|
|
977
977
|
const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
|
|
978
978
|
const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
|
|
979
|
-
const referencepath_mcvSnapshotSummaryValidationError = validate$
|
|
979
|
+
const referencepath_mcvSnapshotSummaryValidationError = validate$1j(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
|
|
980
980
|
if (referencepath_mcvSnapshotSummaryValidationError !== null) {
|
|
981
981
|
let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
|
|
982
982
|
message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1130,7 +1130,7 @@ function equals$L(existing, incoming) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
1132
|
const VERSION$K = "4b75ed6ff448da86412b605f7e775a62";
|
|
1133
|
-
function validate$
|
|
1133
|
+
function validate$1h(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
1134
1134
|
const v_error = (() => {
|
|
1135
1135
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1136
1136
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1206,7 +1206,7 @@ function equals$K(existing, incoming) {
|
|
|
1206
1206
|
|
|
1207
1207
|
const TTL$D = 100;
|
|
1208
1208
|
const VERSION$J = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
1209
|
-
function validate$
|
|
1209
|
+
function validate$1g(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
1210
1210
|
const v_error = (() => {
|
|
1211
1211
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1212
1212
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1276,7 +1276,7 @@ function validate$1h(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1276
1276
|
for (let i = 0; i < obj_deploymentItems.length; i++) {
|
|
1277
1277
|
const obj_deploymentItems_item = obj_deploymentItems[i];
|
|
1278
1278
|
const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
|
|
1279
|
-
const referencepath_deploymentItems_itemValidationError = validate$
|
|
1279
|
+
const referencepath_deploymentItems_itemValidationError = validate$1i(obj_deploymentItems_item, path_deploymentItems_item);
|
|
1280
1280
|
if (referencepath_deploymentItems_itemValidationError !== null) {
|
|
1281
1281
|
let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
|
|
1282
1282
|
message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1339,7 +1339,7 @@ function validate$1h(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
1339
1339
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1340
1340
|
let obj_lastModifiedBy_union0 = null;
|
|
1341
1341
|
const obj_lastModifiedBy_union0_error = (() => {
|
|
1342
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1342
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1343
1343
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1344
1344
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1345
1345
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1506,7 +1506,7 @@ function equals$J(existing, incoming) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
const ingest$D = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1508
1508
|
if (process.env.NODE_ENV !== 'production') {
|
|
1509
|
-
const validateError = validate$
|
|
1509
|
+
const validateError = validate$1g(input);
|
|
1510
1510
|
if (validateError !== null) {
|
|
1511
1511
|
throw validateError;
|
|
1512
1512
|
}
|
|
@@ -1572,7 +1572,7 @@ const createResourceParams$O = /*#__PURE__*/ createResourceParams$Q(createDeploy
|
|
|
1572
1572
|
function typeCheckConfig$O(untrustedConfig) {
|
|
1573
1573
|
const config = {};
|
|
1574
1574
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1575
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1575
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$1l(untrustedConfig_DeploymentInput);
|
|
1576
1576
|
if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
|
|
1577
1577
|
config.DeploymentInput = untrustedConfig_DeploymentInput;
|
|
1578
1578
|
}
|
|
@@ -1620,77 +1620,11 @@ const createDeploymentAdapterFactory = (luvio) => {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
};
|
|
1622
1622
|
|
|
1623
|
-
function validate$1g(obj, path = 'ManagedContentAdditionalVariantInputRepresentation') {
|
|
1624
|
-
const v_error = (() => {
|
|
1625
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1626
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1627
|
-
}
|
|
1628
|
-
const obj_contentBody = obj.contentBody;
|
|
1629
|
-
const path_contentBody = path + '.contentBody';
|
|
1630
|
-
if (typeof obj_contentBody !== 'object' || ArrayIsArray(obj_contentBody) || obj_contentBody === null) {
|
|
1631
|
-
return new TypeError('Expected "object" but received "' + typeof obj_contentBody + '" (at "' + path_contentBody + '")');
|
|
1632
|
-
}
|
|
1633
|
-
const obj_contentBody_keys = ObjectKeys(obj_contentBody);
|
|
1634
|
-
for (let i = 0; i < obj_contentBody_keys.length; i++) {
|
|
1635
|
-
const key = obj_contentBody_keys[i];
|
|
1636
|
-
const obj_contentBody_prop = obj_contentBody[key];
|
|
1637
|
-
const path_contentBody_prop = path_contentBody + '["' + key + '"]';
|
|
1638
|
-
if (obj_contentBody_prop === undefined) {
|
|
1639
|
-
return new TypeError('Expected "defined" but received "' + typeof obj_contentBody_prop + '" (at "' + path_contentBody_prop + '")');
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
const obj_language = obj.language;
|
|
1643
|
-
const path_language = path + '.language';
|
|
1644
|
-
if (typeof obj_language !== 'string') {
|
|
1645
|
-
return new TypeError('Expected "string" but received "' + typeof obj_language + '" (at "' + path_language + '")');
|
|
1646
|
-
}
|
|
1647
|
-
if (obj.title !== undefined) {
|
|
1648
|
-
const obj_title = obj.title;
|
|
1649
|
-
const path_title = path + '.title';
|
|
1650
|
-
if (typeof obj_title !== 'string') {
|
|
1651
|
-
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
if (obj.urlName !== undefined) {
|
|
1655
|
-
const obj_urlName = obj.urlName;
|
|
1656
|
-
const path_urlName = path + '.urlName';
|
|
1657
|
-
if (typeof obj_urlName !== 'string') {
|
|
1658
|
-
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
if (obj.variantType !== undefined) {
|
|
1662
|
-
const obj_variantType = obj.variantType;
|
|
1663
|
-
const path_variantType = path + '.variantType';
|
|
1664
|
-
if (typeof obj_variantType !== 'string') {
|
|
1665
|
-
return new TypeError('Expected "string" but received "' + typeof obj_variantType + '" (at "' + path_variantType + '")');
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
})();
|
|
1669
|
-
return v_error === undefined ? null : v_error;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
1623
|
function validate$1f(obj, path = 'ManagedContentInputRepresentation') {
|
|
1673
1624
|
const v_error = (() => {
|
|
1674
1625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1675
1626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1676
1627
|
}
|
|
1677
|
-
if (obj.additionalVariants !== undefined) {
|
|
1678
|
-
const obj_additionalVariants = obj.additionalVariants;
|
|
1679
|
-
const path_additionalVariants = path + '.additionalVariants';
|
|
1680
|
-
if (!ArrayIsArray(obj_additionalVariants)) {
|
|
1681
|
-
return new TypeError('Expected "array" but received "' + typeof obj_additionalVariants + '" (at "' + path_additionalVariants + '")');
|
|
1682
|
-
}
|
|
1683
|
-
for (let i = 0; i < obj_additionalVariants.length; i++) {
|
|
1684
|
-
const obj_additionalVariants_item = obj_additionalVariants[i];
|
|
1685
|
-
const path_additionalVariants_item = path_additionalVariants + '[' + i + ']';
|
|
1686
|
-
const referencepath_additionalVariants_itemValidationError = validate$1g(obj_additionalVariants_item, path_additionalVariants_item);
|
|
1687
|
-
if (referencepath_additionalVariants_itemValidationError !== null) {
|
|
1688
|
-
let message = 'Object doesn\'t match ManagedContentAdditionalVariantInputRepresentation (at "' + path_additionalVariants_item + '")\n';
|
|
1689
|
-
message += referencepath_additionalVariants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1690
|
-
return new TypeError(message);
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
1628
|
const obj_contentBody = obj.contentBody;
|
|
1695
1629
|
const path_contentBody = path + '.contentBody';
|
|
1696
1630
|
if (typeof obj_contentBody !== 'object' || ArrayIsArray(obj_contentBody) || obj_contentBody === null) {
|
|
@@ -1849,7 +1783,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1849
1783
|
}
|
|
1850
1784
|
const obj_contentType = obj.contentType;
|
|
1851
1785
|
const path_contentType = path + '.contentType';
|
|
1852
|
-
const referencepath_contentTypeValidationError = validate$
|
|
1786
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
1853
1787
|
if (referencepath_contentTypeValidationError !== null) {
|
|
1854
1788
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
1855
1789
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1883,7 +1817,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1883
1817
|
}
|
|
1884
1818
|
const obj_createdBy = obj.createdBy;
|
|
1885
1819
|
const path_createdBy = path + '.createdBy';
|
|
1886
|
-
const referencepath_createdByValidationError = validate$
|
|
1820
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
1887
1821
|
if (referencepath_createdByValidationError !== null) {
|
|
1888
1822
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
1889
1823
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1896,7 +1830,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1896
1830
|
}
|
|
1897
1831
|
const obj_folder = obj.folder;
|
|
1898
1832
|
const path_folder = path + '.folder';
|
|
1899
|
-
const referencepath_folderValidationError = validate$
|
|
1833
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
1900
1834
|
if (referencepath_folderValidationError !== null) {
|
|
1901
1835
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
1902
1836
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1914,7 +1848,7 @@ function validate$1c(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
1914
1848
|
}
|
|
1915
1849
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
1916
1850
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
1917
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
1851
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
1918
1852
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
1919
1853
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
1920
1854
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2672,7 +2606,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2672
2606
|
}
|
|
2673
2607
|
const obj_contentType = obj.contentType;
|
|
2674
2608
|
const path_contentType = path + '.contentType';
|
|
2675
|
-
const referencepath_contentTypeValidationError = validate$
|
|
2609
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
2676
2610
|
if (referencepath_contentTypeValidationError !== null) {
|
|
2677
2611
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
2678
2612
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2680,7 +2614,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2680
2614
|
}
|
|
2681
2615
|
const obj_createdBy = obj.createdBy;
|
|
2682
2616
|
const path_createdBy = path + '.createdBy';
|
|
2683
|
-
const referencepath_createdByValidationError = validate$
|
|
2617
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
2684
2618
|
if (referencepath_createdByValidationError !== null) {
|
|
2685
2619
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
2686
2620
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2693,7 +2627,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2693
2627
|
}
|
|
2694
2628
|
const obj_folder = obj.folder;
|
|
2695
2629
|
const path_folder = path + '.folder';
|
|
2696
|
-
const referencepath_folderValidationError = validate$
|
|
2630
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
2697
2631
|
if (referencepath_folderValidationError !== null) {
|
|
2698
2632
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
2699
2633
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2711,7 +2645,7 @@ function validate$18(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
2711
2645
|
}
|
|
2712
2646
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
2713
2647
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
2714
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
2648
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
2715
2649
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
2716
2650
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
2717
2651
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3130,16 +3064,16 @@ function createResourceRequest$J(config) {
|
|
|
3130
3064
|
|
|
3131
3065
|
const adapterName$J = 'createManagedContentVariant';
|
|
3132
3066
|
const createManagedContentVariant_ConfigPropertyMetadata = [
|
|
3133
|
-
generateParamConfigMetadata('
|
|
3067
|
+
generateParamConfigMetadata('ManagedContentVariantInputParam', true, 2 /* Body */, 4 /* Unsupported */),
|
|
3134
3068
|
];
|
|
3135
3069
|
const createManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$J, createManagedContentVariant_ConfigPropertyMetadata);
|
|
3136
3070
|
const createResourceParams$J = /*#__PURE__*/ createResourceParams$Q(createManagedContentVariant_ConfigPropertyMetadata);
|
|
3137
3071
|
function typeCheckConfig$J(untrustedConfig) {
|
|
3138
3072
|
const config = {};
|
|
3139
|
-
const
|
|
3140
|
-
const referenceManagedContentVariantInputRepresentationValidationError = validate$16(
|
|
3073
|
+
const untrustedConfig_ManagedContentVariantInputParam = untrustedConfig.ManagedContentVariantInputParam;
|
|
3074
|
+
const referenceManagedContentVariantInputRepresentationValidationError = validate$16(untrustedConfig_ManagedContentVariantInputParam);
|
|
3141
3075
|
if (referenceManagedContentVariantInputRepresentationValidationError === null) {
|
|
3142
|
-
config.
|
|
3076
|
+
config.ManagedContentVariantInputParam = untrustedConfig_ManagedContentVariantInputParam;
|
|
3143
3077
|
}
|
|
3144
3078
|
return config;
|
|
3145
3079
|
}
|
|
@@ -4698,7 +4632,7 @@ function validate$Z(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
4698
4632
|
}
|
|
4699
4633
|
const obj_collectionType = obj.collectionType;
|
|
4700
4634
|
const path_collectionType = path + '.collectionType';
|
|
4701
|
-
const referencepath_collectionTypeValidationError = validate$
|
|
4635
|
+
const referencepath_collectionTypeValidationError = validate$1k(obj_collectionType, path_collectionType);
|
|
4702
4636
|
if (referencepath_collectionTypeValidationError !== null) {
|
|
4703
4637
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
|
|
4704
4638
|
message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6448,7 +6382,7 @@ function validate$Q(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
6448
6382
|
if (obj.contentType !== undefined) {
|
|
6449
6383
|
const obj_contentType = obj.contentType;
|
|
6450
6384
|
const path_contentType = path + '.contentType';
|
|
6451
|
-
const referencepath_contentTypeValidationError = validate$
|
|
6385
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
6452
6386
|
if (referencepath_contentTypeValidationError !== null) {
|
|
6453
6387
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
6454
6388
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8469,7 +8403,7 @@ function validate$D(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
8469
8403
|
const path_contentType = path + '.contentType';
|
|
8470
8404
|
let obj_contentType_union0 = null;
|
|
8471
8405
|
const obj_contentType_union0_error = (() => {
|
|
8472
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8406
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
8473
8407
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8474
8408
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8475
8409
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8877,7 +8811,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8877
8811
|
}
|
|
8878
8812
|
const obj_contentType = obj.contentType;
|
|
8879
8813
|
const path_contentType = path + '.contentType';
|
|
8880
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8814
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
8881
8815
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8882
8816
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8883
8817
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8911,7 +8845,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8911
8845
|
}
|
|
8912
8846
|
const obj_createdBy = obj.createdBy;
|
|
8913
8847
|
const path_createdBy = path + '.createdBy';
|
|
8914
|
-
const referencepath_createdByValidationError = validate$
|
|
8848
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
8915
8849
|
if (referencepath_createdByValidationError !== null) {
|
|
8916
8850
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8917
8851
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8926,7 +8860,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8926
8860
|
const path_folder = path + '.folder';
|
|
8927
8861
|
let obj_folder_union0 = null;
|
|
8928
8862
|
const obj_folder_union0_error = (() => {
|
|
8929
|
-
const referencepath_folderValidationError = validate$
|
|
8863
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
8930
8864
|
if (referencepath_folderValidationError !== null) {
|
|
8931
8865
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
8932
8866
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8963,7 +8897,7 @@ function validate$B(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
8963
8897
|
}
|
|
8964
8898
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8965
8899
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8966
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8900
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8967
8901
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8968
8902
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8969
8903
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12113,7 +12047,7 @@ function validate$l(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12113
12047
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12114
12048
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12115
12049
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12116
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12050
|
+
const referencepath_contentTypes_itemValidationError = validate$1k(obj_contentTypes_item, path_contentTypes_item);
|
|
12117
12051
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12118
12052
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12119
12053
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12529,7 +12463,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12529
12463
|
}
|
|
12530
12464
|
const obj_contentType = obj.contentType;
|
|
12531
12465
|
const path_contentType = path + '.contentType';
|
|
12532
|
-
const referencepath_contentTypeValidationError = validate$
|
|
12466
|
+
const referencepath_contentTypeValidationError = validate$1k(obj_contentType, path_contentType);
|
|
12533
12467
|
if (referencepath_contentTypeValidationError !== null) {
|
|
12534
12468
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
12535
12469
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12537,7 +12471,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12537
12471
|
}
|
|
12538
12472
|
const obj_createdBy = obj.createdBy;
|
|
12539
12473
|
const path_createdBy = path + '.createdBy';
|
|
12540
|
-
const referencepath_createdByValidationError = validate$
|
|
12474
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
12541
12475
|
if (referencepath_createdByValidationError !== null) {
|
|
12542
12476
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
12543
12477
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12563,7 +12497,7 @@ function validate$k(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
12563
12497
|
}
|
|
12564
12498
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
12565
12499
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
12566
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
12500
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
12567
12501
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
12568
12502
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
12569
12503
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13066,7 +13000,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
13066
13000
|
}
|
|
13067
13001
|
const obj_createdBy = obj.createdBy;
|
|
13068
13002
|
const path_createdBy = path + '.createdBy';
|
|
13069
|
-
const referencepath_createdByValidationError = validate$
|
|
13003
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
13070
13004
|
if (referencepath_createdByValidationError !== null) {
|
|
13071
13005
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
13072
13006
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13079,7 +13013,7 @@ function validate$h(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
13079
13013
|
}
|
|
13080
13014
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
13081
13015
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
13082
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
13016
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
13083
13017
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
13084
13018
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
13085
13019
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13400,7 +13334,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13400
13334
|
}
|
|
13401
13335
|
const obj_createdBy = obj.createdBy;
|
|
13402
13336
|
const path_createdBy = path + '.createdBy';
|
|
13403
|
-
const referencepath_createdByValidationError = validate$
|
|
13337
|
+
const referencepath_createdByValidationError = validate$1h(obj_createdBy, path_createdBy);
|
|
13404
13338
|
if (referencepath_createdByValidationError !== null) {
|
|
13405
13339
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
13406
13340
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13413,7 +13347,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13413
13347
|
}
|
|
13414
13348
|
const obj_folder = obj.folder;
|
|
13415
13349
|
const path_folder = path + '.folder';
|
|
13416
|
-
const referencepath_folderValidationError = validate$
|
|
13350
|
+
const referencepath_folderValidationError = validate$1o(obj_folder, path_folder);
|
|
13417
13351
|
if (referencepath_folderValidationError !== null) {
|
|
13418
13352
|
let message = 'Object doesn\'t match ManagedContentFolderSummaryRepresentation (at "' + path_folder + '")\n';
|
|
13419
13353
|
message += referencepath_folderValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13426,7 +13360,7 @@ function validate$f(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
13426
13360
|
}
|
|
13427
13361
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
13428
13362
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
13429
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
13363
|
+
const referencepath_lastModifiedByValidationError = validate$1h(obj_lastModifiedBy, path_lastModifiedBy);
|
|
13430
13364
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
13431
13365
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
13432
13366
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16060,4 +15994,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16060
15994
|
});
|
|
16061
15995
|
|
|
16062
15996
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentTranslationVariants, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getFormEmbedScript, getFormEmbedScript_imperative, getFormHandlerEmbedScript, getFormHandlerEmbedScript_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentDocumentCollection, getManagedContentDocumentCollection_imperative, getManagedContentExtensions, getManagedContentExtensions_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProvidersForSpace, getManagedContentProvidersForSpace_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, getManagedContentSpaceByFullyQualifiedName, getManagedContentSpaceByFullyQualifiedName_imperative, getManagedContentSpaceFolder, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceFolder_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTaxonomyTerms, getManagedContentTaxonomyTerms_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, getWebUrls, getWebUrls_imperative, patchManagedContentSpace, postManagedContentSpace, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
16063
|
-
// version: 1.
|
|
15997
|
+
// version: 1.447.0-b75721e8dd
|