@salesforce/lds-adapters-cms-authoring 1.129.1 → 1.130.9
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 +24 -24
- package/dist/es/es2018/types/src/generated/resources/postConnectCmsSpaces.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +3 -3
- package/package.json +1 -1
- package/sfdc/index.js +25 -25
- package/src/raml/api.raml +2 -2
|
@@ -5808,7 +5808,7 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
|
|
|
5808
5808
|
};
|
|
5809
5809
|
|
|
5810
5810
|
const TTL$2 = 100;
|
|
5811
|
-
const VERSION$2 = "
|
|
5811
|
+
const VERSION$2 = "1e7c0d137cbeaee25e614630f0f71c25";
|
|
5812
5812
|
function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
5813
5813
|
const v_error = (() => {
|
|
5814
5814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5860,30 +5860,30 @@ function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
5860
5860
|
if (typeof obj_id !== 'string') {
|
|
5861
5861
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
5862
5862
|
}
|
|
5863
|
-
const
|
|
5864
|
-
const
|
|
5865
|
-
let
|
|
5866
|
-
const
|
|
5867
|
-
if (typeof
|
|
5868
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
5863
|
+
const obj_isFlowOrchestrationEnabled = obj.isFlowOrchestrationEnabled;
|
|
5864
|
+
const path_isFlowOrchestrationEnabled = path + '.isFlowOrchestrationEnabled';
|
|
5865
|
+
let obj_isFlowOrchestrationEnabled_union0 = null;
|
|
5866
|
+
const obj_isFlowOrchestrationEnabled_union0_error = (() => {
|
|
5867
|
+
if (typeof obj_isFlowOrchestrationEnabled !== 'boolean') {
|
|
5868
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
5869
5869
|
}
|
|
5870
5870
|
})();
|
|
5871
|
-
if (
|
|
5872
|
-
|
|
5871
|
+
if (obj_isFlowOrchestrationEnabled_union0_error != null) {
|
|
5872
|
+
obj_isFlowOrchestrationEnabled_union0 = obj_isFlowOrchestrationEnabled_union0_error.message;
|
|
5873
5873
|
}
|
|
5874
|
-
let
|
|
5875
|
-
const
|
|
5876
|
-
if (
|
|
5877
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
5874
|
+
let obj_isFlowOrchestrationEnabled_union1 = null;
|
|
5875
|
+
const obj_isFlowOrchestrationEnabled_union1_error = (() => {
|
|
5876
|
+
if (obj_isFlowOrchestrationEnabled !== null) {
|
|
5877
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
5878
5878
|
}
|
|
5879
5879
|
})();
|
|
5880
|
-
if (
|
|
5881
|
-
|
|
5880
|
+
if (obj_isFlowOrchestrationEnabled_union1_error != null) {
|
|
5881
|
+
obj_isFlowOrchestrationEnabled_union1 = obj_isFlowOrchestrationEnabled_union1_error.message;
|
|
5882
5882
|
}
|
|
5883
|
-
if (
|
|
5884
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
5885
|
-
message += '\n' +
|
|
5886
|
-
message += '\n' +
|
|
5883
|
+
if (obj_isFlowOrchestrationEnabled_union0 && obj_isFlowOrchestrationEnabled_union1) {
|
|
5884
|
+
let message = 'Object doesn\'t match union (at "' + path_isFlowOrchestrationEnabled + '")';
|
|
5885
|
+
message += '\n' + obj_isFlowOrchestrationEnabled_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5886
|
+
message += '\n' + obj_isFlowOrchestrationEnabled_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5887
5887
|
return new TypeError(message);
|
|
5888
5888
|
}
|
|
5889
5889
|
if (obj.isSpaceV2 !== undefined) {
|
|
@@ -6473,11 +6473,11 @@ function validate$3(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
|
6473
6473
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
6474
6474
|
}
|
|
6475
6475
|
}
|
|
6476
|
-
if (obj.
|
|
6477
|
-
const
|
|
6478
|
-
const
|
|
6479
|
-
if (typeof
|
|
6480
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
6476
|
+
if (obj.isFlowOrchestrationEnabled !== undefined) {
|
|
6477
|
+
const obj_isFlowOrchestrationEnabled = obj.isFlowOrchestrationEnabled;
|
|
6478
|
+
const path_isFlowOrchestrationEnabled = path + '.isFlowOrchestrationEnabled';
|
|
6479
|
+
if (typeof obj_isFlowOrchestrationEnabled !== 'boolean') {
|
|
6480
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
6481
6481
|
}
|
|
6482
6482
|
}
|
|
6483
6483
|
if (obj.isSpaceV2 !== undefined) {
|
|
@@ -6,7 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
collaborators?: Array<{}>;
|
|
7
7
|
defaultLanguage?: string;
|
|
8
8
|
description?: string;
|
|
9
|
-
|
|
9
|
+
isFlowOrchestrationEnabled?: boolean;
|
|
10
10
|
isSpaceV2?: boolean;
|
|
11
11
|
isUndeletable?: boolean;
|
|
12
12
|
name?: string;
|
package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceInputRepresentation.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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "f71c6077cd9e28ac047c5b60df52fbbf";
|
|
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: ManagedContentSpaceInputRepresentation, existing: ManagedContentSpaceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentSpaceInputRepresentationNormalized;
|
|
@@ -24,7 +24,7 @@ export interface ManagedContentSpaceInputRepresentationNormalized {
|
|
|
24
24
|
/** Description of the Managed Content Space */
|
|
25
25
|
description?: string;
|
|
26
26
|
/** Boolean flag depiciting orchestrator module installation status associated with the Managed Content Space */
|
|
27
|
-
|
|
27
|
+
isFlowOrchestrationEnabled?: boolean;
|
|
28
28
|
/** Boolean flag depicting space as 2.0 if set true */
|
|
29
29
|
isSpaceV2?: boolean;
|
|
30
30
|
/** Boolean flag depicting space as undeletable if set true */
|
|
@@ -45,7 +45,7 @@ export interface ManagedContentSpaceInputRepresentation {
|
|
|
45
45
|
collaborators?: Array<{}>;
|
|
46
46
|
defaultLanguage?: string;
|
|
47
47
|
description?: string;
|
|
48
|
-
|
|
48
|
+
isFlowOrchestrationEnabled?: boolean;
|
|
49
49
|
isSpaceV2?: boolean;
|
|
50
50
|
isUndeletable?: boolean;
|
|
51
51
|
name?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 100;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "1e7c0d137cbeaee25e614630f0f71c25";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -36,7 +36,7 @@ export interface ManagedContentSpaceRepresentationNormalized {
|
|
|
36
36
|
/** Id of the Managed Content Space */
|
|
37
37
|
id: string;
|
|
38
38
|
/** Boolean flag depiciting orchestrator module installation status */
|
|
39
|
-
|
|
39
|
+
isFlowOrchestrationEnabled: boolean | null;
|
|
40
40
|
/** Boolean flag of space v2 */
|
|
41
41
|
isSpaceV2?: boolean;
|
|
42
42
|
/** User-Id of the user who last modified the Managed Content Space */
|
|
@@ -62,7 +62,7 @@ export interface ManagedContentSpaceRepresentation {
|
|
|
62
62
|
defaultLanguage: string;
|
|
63
63
|
description: string | null;
|
|
64
64
|
id: string;
|
|
65
|
-
|
|
65
|
+
isFlowOrchestrationEnabled: boolean | null;
|
|
66
66
|
isSpaceV2?: boolean;
|
|
67
67
|
lastModifiedBy: string;
|
|
68
68
|
lastModifiedDate: string;
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -4023,7 +4023,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
|
|
|
4023
4023
|
};
|
|
4024
4024
|
|
|
4025
4025
|
const TTL$7 = 100;
|
|
4026
|
-
const VERSION$7 = "
|
|
4026
|
+
const VERSION$7 = "1e7c0d137cbeaee25e614630f0f71c25";
|
|
4027
4027
|
function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
4028
4028
|
const v_error = (() => {
|
|
4029
4029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4075,30 +4075,30 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
4075
4075
|
if (typeof obj_id !== 'string') {
|
|
4076
4076
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
4077
4077
|
}
|
|
4078
|
-
const
|
|
4079
|
-
const
|
|
4080
|
-
let
|
|
4081
|
-
const
|
|
4082
|
-
if (typeof
|
|
4083
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
4078
|
+
const obj_isFlowOrchestrationEnabled = obj.isFlowOrchestrationEnabled;
|
|
4079
|
+
const path_isFlowOrchestrationEnabled = path + '.isFlowOrchestrationEnabled';
|
|
4080
|
+
let obj_isFlowOrchestrationEnabled_union0 = null;
|
|
4081
|
+
const obj_isFlowOrchestrationEnabled_union0_error = (() => {
|
|
4082
|
+
if (typeof obj_isFlowOrchestrationEnabled !== 'boolean') {
|
|
4083
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
4084
4084
|
}
|
|
4085
4085
|
})();
|
|
4086
|
-
if (
|
|
4087
|
-
|
|
4086
|
+
if (obj_isFlowOrchestrationEnabled_union0_error != null) {
|
|
4087
|
+
obj_isFlowOrchestrationEnabled_union0 = obj_isFlowOrchestrationEnabled_union0_error.message;
|
|
4088
4088
|
}
|
|
4089
|
-
let
|
|
4090
|
-
const
|
|
4091
|
-
if (
|
|
4092
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
4089
|
+
let obj_isFlowOrchestrationEnabled_union1 = null;
|
|
4090
|
+
const obj_isFlowOrchestrationEnabled_union1_error = (() => {
|
|
4091
|
+
if (obj_isFlowOrchestrationEnabled !== null) {
|
|
4092
|
+
return new TypeError('Expected "null" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
4093
4093
|
}
|
|
4094
4094
|
})();
|
|
4095
|
-
if (
|
|
4096
|
-
|
|
4095
|
+
if (obj_isFlowOrchestrationEnabled_union1_error != null) {
|
|
4096
|
+
obj_isFlowOrchestrationEnabled_union1 = obj_isFlowOrchestrationEnabled_union1_error.message;
|
|
4097
4097
|
}
|
|
4098
|
-
if (
|
|
4099
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
4100
|
-
message += '\n' +
|
|
4101
|
-
message += '\n' +
|
|
4098
|
+
if (obj_isFlowOrchestrationEnabled_union0 && obj_isFlowOrchestrationEnabled_union1) {
|
|
4099
|
+
let message = 'Object doesn\'t match union (at "' + path_isFlowOrchestrationEnabled + '")';
|
|
4100
|
+
message += '\n' + obj_isFlowOrchestrationEnabled_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4101
|
+
message += '\n' + obj_isFlowOrchestrationEnabled_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4102
4102
|
return new TypeError(message);
|
|
4103
4103
|
}
|
|
4104
4104
|
if (obj.isSpaceV2 !== undefined) {
|
|
@@ -6400,11 +6400,11 @@ function validate$5(obj, path = 'ManagedContentSpaceInputRepresentation') {
|
|
|
6400
6400
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
6403
|
-
if (obj.
|
|
6404
|
-
const
|
|
6405
|
-
const
|
|
6406
|
-
if (typeof
|
|
6407
|
-
return new TypeError('Expected "boolean" but received "' + typeof
|
|
6403
|
+
if (obj.isFlowOrchestrationEnabled !== undefined) {
|
|
6404
|
+
const obj_isFlowOrchestrationEnabled = obj.isFlowOrchestrationEnabled;
|
|
6405
|
+
const path_isFlowOrchestrationEnabled = path + '.isFlowOrchestrationEnabled';
|
|
6406
|
+
if (typeof obj_isFlowOrchestrationEnabled !== 'boolean') {
|
|
6407
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isFlowOrchestrationEnabled + '" (at "' + path_isFlowOrchestrationEnabled + '")');
|
|
6408
6408
|
}
|
|
6409
6409
|
}
|
|
6410
6410
|
if (obj.isSpaceV2 !== undefined) {
|
|
@@ -7407,4 +7407,4 @@ withDefaultLuvio((luvio) => {
|
|
|
7407
7407
|
});
|
|
7408
7408
|
|
|
7409
7409
|
export { createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createTranslationV2Job, deleteManagedContentVariant, getCollectionItems, getCollectionItems_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSpace, getManagedContentSpaceNotifyChange, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, patchManagedContentSpace, publishManagedContent, replaceManagedContentVariant, unpublishManagedContent };
|
|
7410
|
-
// version: 1.
|
|
7410
|
+
// version: 1.130.9-a2fbc710a
|
package/src/raml/api.raml
CHANGED
|
@@ -1600,7 +1600,7 @@ types:
|
|
|
1600
1600
|
description: Description of the Managed Content Space
|
|
1601
1601
|
type: string
|
|
1602
1602
|
required: false # TODO handrolled W-9314597
|
|
1603
|
-
|
|
1603
|
+
isFlowOrchestrationEnabled:
|
|
1604
1604
|
description: Boolean flag depiciting orchestrator module installation status
|
|
1605
1605
|
associated with the Managed Content Space
|
|
1606
1606
|
type: boolean
|
|
@@ -1727,7 +1727,7 @@ types:
|
|
|
1727
1727
|
id:
|
|
1728
1728
|
description: Id of the Managed Content Space
|
|
1729
1729
|
type: string
|
|
1730
|
-
|
|
1730
|
+
isFlowOrchestrationEnabled:
|
|
1731
1731
|
description: Boolean flag depiciting orchestrator module installation status
|
|
1732
1732
|
type: boolean | nil
|
|
1733
1733
|
isSpaceV2:
|