@salesforce/lds-adapters-cms-authoring 1.470.0 → 1.471.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 +81 -75
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemV2Representation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypePublicSummaryRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +82 -76
- package/src/raml/api.raml +3 -0
|
@@ -9827,31 +9827,33 @@ function validate$z(obj, path = 'ManagedContentTypePublicSummaryRepresentation')
|
|
|
9827
9827
|
if (typeof obj_label !== 'string') {
|
|
9828
9828
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
9829
9829
|
}
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9830
|
+
if (obj.namespace !== undefined) {
|
|
9831
|
+
const obj_namespace = obj.namespace;
|
|
9832
|
+
const path_namespace = path + '.namespace';
|
|
9833
|
+
let obj_namespace_union0 = null;
|
|
9834
|
+
const obj_namespace_union0_error = (() => {
|
|
9835
|
+
if (typeof obj_namespace !== 'string') {
|
|
9836
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
9837
|
+
}
|
|
9838
|
+
})();
|
|
9839
|
+
if (obj_namespace_union0_error != null) {
|
|
9840
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
9836
9841
|
}
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
if (
|
|
9844
|
-
|
|
9842
|
+
let obj_namespace_union1 = null;
|
|
9843
|
+
const obj_namespace_union1_error = (() => {
|
|
9844
|
+
if (obj_namespace !== null) {
|
|
9845
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
9846
|
+
}
|
|
9847
|
+
})();
|
|
9848
|
+
if (obj_namespace_union1_error != null) {
|
|
9849
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
9850
|
+
}
|
|
9851
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
9852
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
9853
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9854
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9855
|
+
return new TypeError(message);
|
|
9845
9856
|
}
|
|
9846
|
-
})();
|
|
9847
|
-
if (obj_namespace_union1_error != null) {
|
|
9848
|
-
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
9849
|
-
}
|
|
9850
|
-
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
9851
|
-
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
9852
|
-
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9853
|
-
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9854
|
-
return new TypeError(message);
|
|
9855
9857
|
}
|
|
9856
9858
|
})();
|
|
9857
9859
|
return v_error === undefined ? null : v_error;
|
|
@@ -9959,34 +9961,36 @@ function validate$w(obj, path = 'ManagedContentSpaceFolderItemV2Representation')
|
|
|
9959
9961
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9960
9962
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9961
9963
|
}
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
const
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9964
|
+
if (obj.contentSummary !== undefined) {
|
|
9965
|
+
const obj_contentSummary = obj.contentSummary;
|
|
9966
|
+
const path_contentSummary = path + '.contentSummary';
|
|
9967
|
+
let obj_contentSummary_union0 = null;
|
|
9968
|
+
const obj_contentSummary_union0_error = (() => {
|
|
9969
|
+
const referencepath_contentSummaryValidationError = validate$y(obj_contentSummary, path_contentSummary);
|
|
9970
|
+
if (referencepath_contentSummaryValidationError !== null) {
|
|
9971
|
+
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemContentSummaryV2Representation (at "' + path_contentSummary + '")\n';
|
|
9972
|
+
message += referencepath_contentSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
9973
|
+
return new TypeError(message);
|
|
9974
|
+
}
|
|
9975
|
+
})();
|
|
9976
|
+
if (obj_contentSummary_union0_error != null) {
|
|
9977
|
+
obj_contentSummary_union0 = obj_contentSummary_union0_error.message;
|
|
9971
9978
|
}
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
if (
|
|
9979
|
-
|
|
9979
|
+
let obj_contentSummary_union1 = null;
|
|
9980
|
+
const obj_contentSummary_union1_error = (() => {
|
|
9981
|
+
if (obj_contentSummary !== null) {
|
|
9982
|
+
return new TypeError('Expected "null" but received "' + typeof obj_contentSummary + '" (at "' + path_contentSummary + '")');
|
|
9983
|
+
}
|
|
9984
|
+
})();
|
|
9985
|
+
if (obj_contentSummary_union1_error != null) {
|
|
9986
|
+
obj_contentSummary_union1 = obj_contentSummary_union1_error.message;
|
|
9987
|
+
}
|
|
9988
|
+
if (obj_contentSummary_union0 && obj_contentSummary_union1) {
|
|
9989
|
+
let message = 'Object doesn\'t match union (at "' + path_contentSummary + '")';
|
|
9990
|
+
message += '\n' + obj_contentSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9991
|
+
message += '\n' + obj_contentSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9992
|
+
return new TypeError(message);
|
|
9980
9993
|
}
|
|
9981
|
-
})();
|
|
9982
|
-
if (obj_contentSummary_union1_error != null) {
|
|
9983
|
-
obj_contentSummary_union1 = obj_contentSummary_union1_error.message;
|
|
9984
|
-
}
|
|
9985
|
-
if (obj_contentSummary_union0 && obj_contentSummary_union1) {
|
|
9986
|
-
let message = 'Object doesn\'t match union (at "' + path_contentSummary + '")';
|
|
9987
|
-
message += '\n' + obj_contentSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9988
|
-
message += '\n' + obj_contentSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9989
|
-
return new TypeError(message);
|
|
9990
9994
|
}
|
|
9991
9995
|
const obj_createdBy = obj.createdBy;
|
|
9992
9996
|
const path_createdBy = path + '.createdBy';
|
|
@@ -9998,34 +10002,36 @@ function validate$w(obj, path = 'ManagedContentSpaceFolderItemV2Representation')
|
|
|
9998
10002
|
if (typeof obj_createdDate !== 'string') {
|
|
9999
10003
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
10000
10004
|
}
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
const
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10005
|
+
if (obj.folderSummary !== undefined) {
|
|
10006
|
+
const obj_folderSummary = obj.folderSummary;
|
|
10007
|
+
const path_folderSummary = path + '.folderSummary';
|
|
10008
|
+
let obj_folderSummary_union0 = null;
|
|
10009
|
+
const obj_folderSummary_union0_error = (() => {
|
|
10010
|
+
const referencepath_folderSummaryValidationError = validate$x(obj_folderSummary, path_folderSummary);
|
|
10011
|
+
if (referencepath_folderSummaryValidationError !== null) {
|
|
10012
|
+
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemFolderSummaryV2Representation (at "' + path_folderSummary + '")\n';
|
|
10013
|
+
message += referencepath_folderSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
10014
|
+
return new TypeError(message);
|
|
10015
|
+
}
|
|
10016
|
+
})();
|
|
10017
|
+
if (obj_folderSummary_union0_error != null) {
|
|
10018
|
+
obj_folderSummary_union0 = obj_folderSummary_union0_error.message;
|
|
10010
10019
|
}
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
if (
|
|
10018
|
-
|
|
10020
|
+
let obj_folderSummary_union1 = null;
|
|
10021
|
+
const obj_folderSummary_union1_error = (() => {
|
|
10022
|
+
if (obj_folderSummary !== null) {
|
|
10023
|
+
return new TypeError('Expected "null" but received "' + typeof obj_folderSummary + '" (at "' + path_folderSummary + '")');
|
|
10024
|
+
}
|
|
10025
|
+
})();
|
|
10026
|
+
if (obj_folderSummary_union1_error != null) {
|
|
10027
|
+
obj_folderSummary_union1 = obj_folderSummary_union1_error.message;
|
|
10028
|
+
}
|
|
10029
|
+
if (obj_folderSummary_union0 && obj_folderSummary_union1) {
|
|
10030
|
+
let message = 'Object doesn\'t match union (at "' + path_folderSummary + '")';
|
|
10031
|
+
message += '\n' + obj_folderSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10032
|
+
message += '\n' + obj_folderSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10033
|
+
return new TypeError(message);
|
|
10019
10034
|
}
|
|
10020
|
-
})();
|
|
10021
|
-
if (obj_folderSummary_union1_error != null) {
|
|
10022
|
-
obj_folderSummary_union1 = obj_folderSummary_union1_error.message;
|
|
10023
|
-
}
|
|
10024
|
-
if (obj_folderSummary_union0 && obj_folderSummary_union1) {
|
|
10025
|
-
let message = 'Object doesn\'t match union (at "' + path_folderSummary + '")';
|
|
10026
|
-
message += '\n' + obj_folderSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10027
|
-
message += '\n' + obj_folderSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10028
|
-
return new TypeError(message);
|
|
10029
10035
|
}
|
|
10030
10036
|
const obj_isFolder = obj.isFolder;
|
|
10031
10037
|
const path_isFolder = path + '.isFolder';
|
package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemV2Representation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ManagedContentSpaceFolderItemContentSummaryV2Representation as ManagedContentSpaceFolderItemContentSummaryV2Representation_ManagedContentSpaceFolderItemContentSummaryV2Representation } from './ManagedContentSpaceFolderItemContentSummaryV2Representation';
|
|
2
2
|
import { ManagedContentSpaceFolderItemFolderSummaryV2Representation as ManagedContentSpaceFolderItemFolderSummaryV2Representation_ManagedContentSpaceFolderItemFolderSummaryV2Representation } from './ManagedContentSpaceFolderItemFolderSummaryV2Representation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "e99e57981fdf712fdba428c0e4a14bd7";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: ManagedContentSpaceFolderItemV2Representation, existing: ManagedContentSpaceFolderItemV2RepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentSpaceFolderItemV2RepresentationNormalized;
|
|
@@ -17,13 +17,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ManagedContentSpaceFolderItemV2RepresentationNormalized {
|
|
19
19
|
/** Summary of the ManagedContent, set when the item is content */
|
|
20
|
-
contentSummary
|
|
20
|
+
contentSummary?: ManagedContentSpaceFolderItemContentSummaryV2Representation_ManagedContentSpaceFolderItemContentSummaryV2Representation | null;
|
|
21
21
|
/** The User ID of the user who created the item */
|
|
22
22
|
createdBy: string;
|
|
23
23
|
/** The date when the item was created */
|
|
24
24
|
createdDate: string;
|
|
25
25
|
/** Summary of the folder, set when the item is a folder */
|
|
26
|
-
folderSummary
|
|
26
|
+
folderSummary?: ManagedContentSpaceFolderItemFolderSummaryV2Representation_ManagedContentSpaceFolderItemFolderSummaryV2Representation | null;
|
|
27
27
|
/** Boolean flag to indicate whether this folder item is a folder */
|
|
28
28
|
isFolder: boolean;
|
|
29
29
|
/** The User ID of the user who last modified the item */
|
|
@@ -44,10 +44,10 @@ export interface ManagedContentSpaceFolderItemV2RepresentationNormalized {
|
|
|
44
44
|
* (none)
|
|
45
45
|
*/
|
|
46
46
|
export interface ManagedContentSpaceFolderItemV2Representation {
|
|
47
|
-
contentSummary
|
|
47
|
+
contentSummary?: ManagedContentSpaceFolderItemContentSummaryV2Representation_ManagedContentSpaceFolderItemContentSummaryV2Representation | null;
|
|
48
48
|
createdBy: string;
|
|
49
49
|
createdDate: string;
|
|
50
|
-
folderSummary
|
|
50
|
+
folderSummary?: ManagedContentSpaceFolderItemFolderSummaryV2Representation_ManagedContentSpaceFolderItemFolderSummaryV2Representation | null;
|
|
51
51
|
isFolder: boolean;
|
|
52
52
|
lastModifiedBy: string;
|
|
53
53
|
lastModifiedByName?: string;
|
package/dist/es/es2018/types/src/generated/types/ManagedContentTypePublicSummaryRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "e640d1d9166556c8a9a0c4368cdecc05";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ManagedContentTypePublicSummaryRepresentation, existing: ManagedContentTypePublicSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentTypePublicSummaryRepresentationNormalized;
|
|
@@ -19,7 +19,7 @@ export interface ManagedContentTypePublicSummaryRepresentationNormalized {
|
|
|
19
19
|
/** The label of the managed content type */
|
|
20
20
|
label: string;
|
|
21
21
|
/** The namespace of the managed content type */
|
|
22
|
-
namespace
|
|
22
|
+
namespace?: string | null;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Public summary of a managed content type
|
|
@@ -30,5 +30,5 @@ export interface ManagedContentTypePublicSummaryRepresentationNormalized {
|
|
|
30
30
|
export interface ManagedContentTypePublicSummaryRepresentation {
|
|
31
31
|
developerName: string;
|
|
32
32
|
label: string;
|
|
33
|
-
namespace
|
|
33
|
+
namespace?: string | null;
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.471.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",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.471.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.471.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -10998,31 +10998,33 @@ function validate$x(obj, path = 'ManagedContentTypePublicSummaryRepresentation')
|
|
|
10998
10998
|
if (typeof obj_label !== 'string') {
|
|
10999
10999
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
11000
11000
|
}
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11001
|
+
if (obj.namespace !== undefined) {
|
|
11002
|
+
const obj_namespace = obj.namespace;
|
|
11003
|
+
const path_namespace = path + '.namespace';
|
|
11004
|
+
let obj_namespace_union0 = null;
|
|
11005
|
+
const obj_namespace_union0_error = (() => {
|
|
11006
|
+
if (typeof obj_namespace !== 'string') {
|
|
11007
|
+
return new TypeError('Expected "string" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
11008
|
+
}
|
|
11009
|
+
})();
|
|
11010
|
+
if (obj_namespace_union0_error != null) {
|
|
11011
|
+
obj_namespace_union0 = obj_namespace_union0_error.message;
|
|
11007
11012
|
}
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
if (
|
|
11015
|
-
|
|
11013
|
+
let obj_namespace_union1 = null;
|
|
11014
|
+
const obj_namespace_union1_error = (() => {
|
|
11015
|
+
if (obj_namespace !== null) {
|
|
11016
|
+
return new TypeError('Expected "null" but received "' + typeof obj_namespace + '" (at "' + path_namespace + '")');
|
|
11017
|
+
}
|
|
11018
|
+
})();
|
|
11019
|
+
if (obj_namespace_union1_error != null) {
|
|
11020
|
+
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
11021
|
+
}
|
|
11022
|
+
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
11023
|
+
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
11024
|
+
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11025
|
+
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11026
|
+
return new TypeError(message);
|
|
11016
11027
|
}
|
|
11017
|
-
})();
|
|
11018
|
-
if (obj_namespace_union1_error != null) {
|
|
11019
|
-
obj_namespace_union1 = obj_namespace_union1_error.message;
|
|
11020
|
-
}
|
|
11021
|
-
if (obj_namespace_union0 && obj_namespace_union1) {
|
|
11022
|
-
let message = 'Object doesn\'t match union (at "' + path_namespace + '")';
|
|
11023
|
-
message += '\n' + obj_namespace_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11024
|
-
message += '\n' + obj_namespace_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11025
|
-
return new TypeError(message);
|
|
11026
11028
|
}
|
|
11027
11029
|
})();
|
|
11028
11030
|
return v_error === undefined ? null : v_error;
|
|
@@ -11130,34 +11132,36 @@ function validate$u(obj, path = 'ManagedContentSpaceFolderItemV2Representation')
|
|
|
11130
11132
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11131
11133
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
11132
11134
|
}
|
|
11133
|
-
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
const
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11135
|
+
if (obj.contentSummary !== undefined) {
|
|
11136
|
+
const obj_contentSummary = obj.contentSummary;
|
|
11137
|
+
const path_contentSummary = path + '.contentSummary';
|
|
11138
|
+
let obj_contentSummary_union0 = null;
|
|
11139
|
+
const obj_contentSummary_union0_error = (() => {
|
|
11140
|
+
const referencepath_contentSummaryValidationError = validate$w(obj_contentSummary, path_contentSummary);
|
|
11141
|
+
if (referencepath_contentSummaryValidationError !== null) {
|
|
11142
|
+
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemContentSummaryV2Representation (at "' + path_contentSummary + '")\n';
|
|
11143
|
+
message += referencepath_contentSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11144
|
+
return new TypeError(message);
|
|
11145
|
+
}
|
|
11146
|
+
})();
|
|
11147
|
+
if (obj_contentSummary_union0_error != null) {
|
|
11148
|
+
obj_contentSummary_union0 = obj_contentSummary_union0_error.message;
|
|
11142
11149
|
}
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
if (
|
|
11150
|
-
|
|
11150
|
+
let obj_contentSummary_union1 = null;
|
|
11151
|
+
const obj_contentSummary_union1_error = (() => {
|
|
11152
|
+
if (obj_contentSummary !== null) {
|
|
11153
|
+
return new TypeError('Expected "null" but received "' + typeof obj_contentSummary + '" (at "' + path_contentSummary + '")');
|
|
11154
|
+
}
|
|
11155
|
+
})();
|
|
11156
|
+
if (obj_contentSummary_union1_error != null) {
|
|
11157
|
+
obj_contentSummary_union1 = obj_contentSummary_union1_error.message;
|
|
11158
|
+
}
|
|
11159
|
+
if (obj_contentSummary_union0 && obj_contentSummary_union1) {
|
|
11160
|
+
let message = 'Object doesn\'t match union (at "' + path_contentSummary + '")';
|
|
11161
|
+
message += '\n' + obj_contentSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11162
|
+
message += '\n' + obj_contentSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11163
|
+
return new TypeError(message);
|
|
11151
11164
|
}
|
|
11152
|
-
})();
|
|
11153
|
-
if (obj_contentSummary_union1_error != null) {
|
|
11154
|
-
obj_contentSummary_union1 = obj_contentSummary_union1_error.message;
|
|
11155
|
-
}
|
|
11156
|
-
if (obj_contentSummary_union0 && obj_contentSummary_union1) {
|
|
11157
|
-
let message = 'Object doesn\'t match union (at "' + path_contentSummary + '")';
|
|
11158
|
-
message += '\n' + obj_contentSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11159
|
-
message += '\n' + obj_contentSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11160
|
-
return new TypeError(message);
|
|
11161
11165
|
}
|
|
11162
11166
|
const obj_createdBy = obj.createdBy;
|
|
11163
11167
|
const path_createdBy = path + '.createdBy';
|
|
@@ -11169,34 +11173,36 @@ function validate$u(obj, path = 'ManagedContentSpaceFolderItemV2Representation')
|
|
|
11169
11173
|
if (typeof obj_createdDate !== 'string') {
|
|
11170
11174
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
11171
11175
|
}
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
const
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11176
|
+
if (obj.folderSummary !== undefined) {
|
|
11177
|
+
const obj_folderSummary = obj.folderSummary;
|
|
11178
|
+
const path_folderSummary = path + '.folderSummary';
|
|
11179
|
+
let obj_folderSummary_union0 = null;
|
|
11180
|
+
const obj_folderSummary_union0_error = (() => {
|
|
11181
|
+
const referencepath_folderSummaryValidationError = validate$v(obj_folderSummary, path_folderSummary);
|
|
11182
|
+
if (referencepath_folderSummaryValidationError !== null) {
|
|
11183
|
+
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemFolderSummaryV2Representation (at "' + path_folderSummary + '")\n';
|
|
11184
|
+
message += referencepath_folderSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
11185
|
+
return new TypeError(message);
|
|
11186
|
+
}
|
|
11187
|
+
})();
|
|
11188
|
+
if (obj_folderSummary_union0_error != null) {
|
|
11189
|
+
obj_folderSummary_union0 = obj_folderSummary_union0_error.message;
|
|
11181
11190
|
}
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
if (
|
|
11189
|
-
|
|
11191
|
+
let obj_folderSummary_union1 = null;
|
|
11192
|
+
const obj_folderSummary_union1_error = (() => {
|
|
11193
|
+
if (obj_folderSummary !== null) {
|
|
11194
|
+
return new TypeError('Expected "null" but received "' + typeof obj_folderSummary + '" (at "' + path_folderSummary + '")');
|
|
11195
|
+
}
|
|
11196
|
+
})();
|
|
11197
|
+
if (obj_folderSummary_union1_error != null) {
|
|
11198
|
+
obj_folderSummary_union1 = obj_folderSummary_union1_error.message;
|
|
11199
|
+
}
|
|
11200
|
+
if (obj_folderSummary_union0 && obj_folderSummary_union1) {
|
|
11201
|
+
let message = 'Object doesn\'t match union (at "' + path_folderSummary + '")';
|
|
11202
|
+
message += '\n' + obj_folderSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11203
|
+
message += '\n' + obj_folderSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11204
|
+
return new TypeError(message);
|
|
11190
11205
|
}
|
|
11191
|
-
})();
|
|
11192
|
-
if (obj_folderSummary_union1_error != null) {
|
|
11193
|
-
obj_folderSummary_union1 = obj_folderSummary_union1_error.message;
|
|
11194
|
-
}
|
|
11195
|
-
if (obj_folderSummary_union0 && obj_folderSummary_union1) {
|
|
11196
|
-
let message = 'Object doesn\'t match union (at "' + path_folderSummary + '")';
|
|
11197
|
-
message += '\n' + obj_folderSummary_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
11198
|
-
message += '\n' + obj_folderSummary_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
11199
|
-
return new TypeError(message);
|
|
11200
11206
|
}
|
|
11201
11207
|
const obj_isFolder = obj.isFolder;
|
|
11202
11208
|
const path_isFolder = path + '.isFolder';
|
|
@@ -16500,4 +16506,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16500
16506
|
});
|
|
16501
16507
|
|
|
16502
16508
|
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, getManagedContentSpaceFolderItemsV2, getManagedContentSpaceFolderItemsV2_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 };
|
|
16503
|
-
// version: 1.
|
|
16509
|
+
// version: 1.471.0-a0bc34effb
|
package/src/raml/api.raml
CHANGED
|
@@ -2132,6 +2132,7 @@ types:
|
|
|
2132
2132
|
contentSummary:
|
|
2133
2133
|
description: Summary of the ManagedContent, set when the item is content
|
|
2134
2134
|
type: ManagedContentSpaceFolderItemContentSummaryV2Representation | nil
|
|
2135
|
+
required: false
|
|
2135
2136
|
createdBy:
|
|
2136
2137
|
description: The User ID of the user who created the item
|
|
2137
2138
|
type: string
|
|
@@ -2141,6 +2142,7 @@ types:
|
|
|
2141
2142
|
folderSummary:
|
|
2142
2143
|
description: Summary of the folder, set when the item is a folder
|
|
2143
2144
|
type: ManagedContentSpaceFolderItemFolderSummaryV2Representation | nil
|
|
2145
|
+
required: false
|
|
2144
2146
|
isFolder:
|
|
2145
2147
|
description: Boolean flag to indicate whether this folder item is a folder
|
|
2146
2148
|
type: boolean
|
|
@@ -3110,6 +3112,7 @@ types:
|
|
|
3110
3112
|
namespace:
|
|
3111
3113
|
description: The namespace of the managed content type
|
|
3112
3114
|
type: string | nil
|
|
3115
|
+
required: false
|
|
3113
3116
|
ManagedContentTypeSummaryRepresentation:
|
|
3114
3117
|
description: Information about a managed content type.
|
|
3115
3118
|
type: object
|