@salesforce/lds-adapters-cms-delivery 1.309.0-dev11 → 1.309.0-dev13
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-delivery.js +36 -28
- package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionItemsRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionMetadataRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentDeliveryChannelSummaryRepresentation.d.ts +44 -0
- package/package.json +4 -4
- package/sfdc/index.js +37 -29
- package/src/raml/api.raml +35 -6
|
@@ -107,17 +107,20 @@ function validate$g(obj, path = 'ManagedContentChannelTargetSummaryRepresentatio
|
|
|
107
107
|
return v_error === undefined ? null : v_error;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
function validate$f(obj, path = '
|
|
110
|
+
function validate$f(obj, path = 'ManagedContentDeliveryChannelSummaryRepresentation') {
|
|
111
111
|
const v_error = (() => {
|
|
112
112
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
113
113
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
const obj_domainUrl = obj.domainUrl;
|
|
116
|
+
const path_domainUrl = path + '.domainUrl';
|
|
117
|
+
if (typeof obj_domainUrl !== 'string') {
|
|
118
|
+
return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
|
|
119
|
+
}
|
|
120
|
+
const obj_id = obj.id;
|
|
121
|
+
const path_id = path + '.id';
|
|
122
|
+
if (typeof obj_id !== 'string') {
|
|
123
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
121
124
|
}
|
|
122
125
|
const obj_name = obj.name;
|
|
123
126
|
const path_name = path + '.name';
|
|
@@ -129,16 +132,21 @@ function validate$f(obj, path = 'ManagedContentChannelSummaryRepresentation') {
|
|
|
129
132
|
if (typeof obj_resourceUrl !== 'string') {
|
|
130
133
|
return new TypeError('Expected "string" but received "' + typeof obj_resourceUrl + '" (at "' + path_resourceUrl + '")');
|
|
131
134
|
}
|
|
132
|
-
if (obj.
|
|
133
|
-
const
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
if (
|
|
137
|
-
let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' +
|
|
138
|
-
message +=
|
|
135
|
+
if (obj.target !== undefined) {
|
|
136
|
+
const obj_target = obj.target;
|
|
137
|
+
const path_target = path + '.target';
|
|
138
|
+
const referencepath_targetValidationError = validate$g(obj_target, path_target);
|
|
139
|
+
if (referencepath_targetValidationError !== null) {
|
|
140
|
+
let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' + path_target + '")\n';
|
|
141
|
+
message += referencepath_targetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
139
142
|
return new TypeError(message);
|
|
140
143
|
}
|
|
141
144
|
}
|
|
145
|
+
const obj_type = obj.type;
|
|
146
|
+
const path_type = path + '.type';
|
|
147
|
+
if (typeof obj_type !== 'string') {
|
|
148
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
149
|
+
}
|
|
142
150
|
})();
|
|
143
151
|
return v_error === undefined ? null : v_error;
|
|
144
152
|
}
|
|
@@ -225,18 +233,18 @@ function validate$c(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
225
233
|
}
|
|
226
234
|
|
|
227
235
|
const TTL$3 = 3600000;
|
|
228
|
-
const VERSION$4 = "
|
|
236
|
+
const VERSION$4 = "67b3aa435b83d2d71e7e8b1b95144be8";
|
|
229
237
|
function validate$b(obj, path = 'ManagedContentCollectionItemsRepresentation') {
|
|
230
238
|
const v_error = (() => {
|
|
231
239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
232
240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
233
241
|
}
|
|
234
|
-
const
|
|
235
|
-
const
|
|
236
|
-
const
|
|
237
|
-
if (
|
|
238
|
-
let message = 'Object doesn\'t match
|
|
239
|
-
message +=
|
|
242
|
+
const obj_channelSummary = obj.channelSummary;
|
|
243
|
+
const path_channelSummary = path + '.channelSummary';
|
|
244
|
+
const referencepath_channelSummaryValidationError = validate$f(obj_channelSummary, path_channelSummary);
|
|
245
|
+
if (referencepath_channelSummaryValidationError !== null) {
|
|
246
|
+
let message = 'Object doesn\'t match ManagedContentDeliveryChannelSummaryRepresentation (at "' + path_channelSummary + '")\n';
|
|
247
|
+
message += referencepath_channelSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
240
248
|
return new TypeError(message);
|
|
241
249
|
}
|
|
242
250
|
const obj_collectionKey = obj.collectionKey;
|
|
@@ -491,18 +499,18 @@ const getCollectionItemsForChannelAdapterFactory = (luvio) => function CMS__getC
|
|
|
491
499
|
};
|
|
492
500
|
|
|
493
501
|
const TTL$2 = 3600000;
|
|
494
|
-
const VERSION$3 = "
|
|
502
|
+
const VERSION$3 = "04f084216502225bdb5fe939fc41b883";
|
|
495
503
|
function validate$a(obj, path = 'ManagedContentCollectionMetadataRepresentation') {
|
|
496
504
|
const v_error = (() => {
|
|
497
505
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
498
506
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
499
507
|
}
|
|
500
|
-
const
|
|
501
|
-
const
|
|
502
|
-
const
|
|
503
|
-
if (
|
|
504
|
-
let message = 'Object doesn\'t match
|
|
505
|
-
message +=
|
|
508
|
+
const obj_channelSummary = obj.channelSummary;
|
|
509
|
+
const path_channelSummary = path + '.channelSummary';
|
|
510
|
+
const referencepath_channelSummaryValidationError = validate$f(obj_channelSummary, path_channelSummary);
|
|
511
|
+
if (referencepath_channelSummaryValidationError !== null) {
|
|
512
|
+
let message = 'Object doesn\'t match ManagedContentDeliveryChannelSummaryRepresentation (at "' + path_channelSummary + '")\n';
|
|
513
|
+
message += referencepath_channelSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
506
514
|
return new TypeError(message);
|
|
507
515
|
}
|
|
508
516
|
const obj_collectionKey = obj.collectionKey;
|
package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionItemsRepresentation.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ManagedContentDeliveryChannelSummaryRepresentation as ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation } from './ManagedContentDeliveryChannelSummaryRepresentation';
|
|
2
2
|
import { ManagedContentTypeSummaryRepresentation as ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation } from './ManagedContentTypeSummaryRepresentation';
|
|
3
3
|
import { ManagedContentCollectionItemRepresentation as ManagedContentCollectionItemRepresentation_ManagedContentCollectionItemRepresentation } from './ManagedContentCollectionItemRepresentation';
|
|
4
4
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
5
|
export declare const TTL = 3600000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "67b3aa435b83d2d71e7e8b1b95144be8";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export declare function normalize(input: ManagedContentCollectionItemsRepresentation, existing: ManagedContentCollectionItemsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentCollectionItemsRepresentationNormalized;
|
|
@@ -18,8 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
18
18
|
* (none)
|
|
19
19
|
*/
|
|
20
20
|
export interface ManagedContentCollectionItemsRepresentationNormalized {
|
|
21
|
-
/** The contextual information of the managed content channel */
|
|
22
|
-
|
|
21
|
+
/** The contextual information of the delivery managed content channel */
|
|
22
|
+
channelSummary: ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation;
|
|
23
23
|
/** The collection key */
|
|
24
24
|
collectionKey: string;
|
|
25
25
|
collectionType: ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation;
|
|
@@ -45,7 +45,7 @@ export interface ManagedContentCollectionItemsRepresentationNormalized {
|
|
|
45
45
|
* (none)
|
|
46
46
|
*/
|
|
47
47
|
export interface ManagedContentCollectionItemsRepresentation {
|
|
48
|
-
|
|
48
|
+
channelSummary: ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation;
|
|
49
49
|
collectionKey: string;
|
|
50
50
|
collectionType: ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation;
|
|
51
51
|
id: string;
|
package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionMetadataRepresentation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ManagedContentDeliveryChannelSummaryRepresentation as ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation } from './ManagedContentDeliveryChannelSummaryRepresentation';
|
|
2
2
|
import { ManagedContentTypeSummaryRepresentation as ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation } from './ManagedContentTypeSummaryRepresentation';
|
|
3
3
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
4
|
export declare const TTL = 3600000;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "04f084216502225bdb5fe939fc41b883";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: ManagedContentCollectionMetadataRepresentation, existing: ManagedContentCollectionMetadataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentCollectionMetadataRepresentationNormalized;
|
|
@@ -17,8 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
* (none)
|
|
18
18
|
*/
|
|
19
19
|
export interface ManagedContentCollectionMetadataRepresentationNormalized {
|
|
20
|
-
/** The contextual information of the channel */
|
|
21
|
-
|
|
20
|
+
/** The contextual information of the delivery managed content channel. */
|
|
21
|
+
channelSummary: ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation;
|
|
22
22
|
/** Globally unique identifier of a collection and doesn't change when collection is moved between production and sandbox environments. */
|
|
23
23
|
collectionKey: string;
|
|
24
24
|
/** The basic metadata of the collection */
|
|
@@ -48,7 +48,7 @@ export interface ManagedContentCollectionMetadataRepresentationNormalized {
|
|
|
48
48
|
* (none)
|
|
49
49
|
*/
|
|
50
50
|
export interface ManagedContentCollectionMetadataRepresentation {
|
|
51
|
-
|
|
51
|
+
channelSummary: ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation;
|
|
52
52
|
collectionKey: string;
|
|
53
53
|
collectionMetadata: {
|
|
54
54
|
[key: string]: unknown;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ManagedContentChannelTargetSummaryRepresentation as ManagedContentChannelTargetSummaryRepresentation_ManagedContentChannelTargetSummaryRepresentation } from './ManagedContentChannelTargetSummaryRepresentation';
|
|
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 = "b899e1537e70bbf01d50513be0a67e52";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ManagedContentDeliveryChannelSummaryRepresentation, existing: ManagedContentDeliveryChannelSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentDeliveryChannelSummaryRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ManagedContentDeliveryChannelSummaryRepresentationNormalized, incoming: ManagedContentDeliveryChannelSummaryRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentDeliveryChannelSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Summary information of a CMS Delivery Channel
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedContentDeliveryChannelSummaryRepresentationNormalized {
|
|
18
|
+
/** Domain Url of the org */
|
|
19
|
+
domainUrl: string;
|
|
20
|
+
/** Id of the Managed Content Channel */
|
|
21
|
+
id: string;
|
|
22
|
+
/** Name of the managed content channel */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Resource URL for detailed information about the ManagedContentChannel */
|
|
25
|
+
resourceUrl: string;
|
|
26
|
+
/** Information of the Target Entity associated with this channel */
|
|
27
|
+
target?: ManagedContentChannelTargetSummaryRepresentation_ManagedContentChannelTargetSummaryRepresentation;
|
|
28
|
+
/** Type of Managed Content Channel */
|
|
29
|
+
type: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Summary information of a CMS Delivery Channel
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface ManagedContentDeliveryChannelSummaryRepresentation {
|
|
38
|
+
domainUrl: string;
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
resourceUrl: string;
|
|
42
|
+
target?: ManagedContentChannelTargetSummaryRepresentation_ManagedContentChannelTargetSummaryRepresentation;
|
|
43
|
+
type: string;
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-delivery",
|
|
3
|
-
"version": "1.309.0-
|
|
3
|
+
"version": "1.309.0-dev13",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS endpoints",
|
|
6
6
|
"main": "dist/es/es2018/cms-delivery.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-cms-delivery"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@salesforce/lds-bindings": "^1.309.0-
|
|
32
|
+
"@salesforce/lds-bindings": "^1.309.0-dev13"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@salesforce/lds-compiler-plugins": "^1.309.0-
|
|
36
|
-
"@salesforce/lds-karma": "^1.309.0-
|
|
35
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev13",
|
|
36
|
+
"@salesforce/lds-karma": "^1.309.0-dev13"
|
|
37
37
|
},
|
|
38
38
|
"nx": {
|
|
39
39
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -117,17 +117,20 @@ function validate$g(obj, path = 'ManagedContentChannelTargetSummaryRepresentatio
|
|
|
117
117
|
return v_error === undefined ? null : v_error;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
function validate$f(obj, path = '
|
|
120
|
+
function validate$f(obj, path = 'ManagedContentDeliveryChannelSummaryRepresentation') {
|
|
121
121
|
const v_error = (() => {
|
|
122
122
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
123
123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
124
124
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
125
|
+
const obj_domainUrl = obj.domainUrl;
|
|
126
|
+
const path_domainUrl = path + '.domainUrl';
|
|
127
|
+
if (typeof obj_domainUrl !== 'string') {
|
|
128
|
+
return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
|
|
129
|
+
}
|
|
130
|
+
const obj_id = obj.id;
|
|
131
|
+
const path_id = path + '.id';
|
|
132
|
+
if (typeof obj_id !== 'string') {
|
|
133
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
131
134
|
}
|
|
132
135
|
const obj_name = obj.name;
|
|
133
136
|
const path_name = path + '.name';
|
|
@@ -139,16 +142,21 @@ function validate$f(obj, path = 'ManagedContentChannelSummaryRepresentation') {
|
|
|
139
142
|
if (typeof obj_resourceUrl !== 'string') {
|
|
140
143
|
return new TypeError('Expected "string" but received "' + typeof obj_resourceUrl + '" (at "' + path_resourceUrl + '")');
|
|
141
144
|
}
|
|
142
|
-
if (obj.
|
|
143
|
-
const
|
|
144
|
-
const
|
|
145
|
-
const
|
|
146
|
-
if (
|
|
147
|
-
let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' +
|
|
148
|
-
message +=
|
|
145
|
+
if (obj.target !== undefined) {
|
|
146
|
+
const obj_target = obj.target;
|
|
147
|
+
const path_target = path + '.target';
|
|
148
|
+
const referencepath_targetValidationError = validate$g(obj_target, path_target);
|
|
149
|
+
if (referencepath_targetValidationError !== null) {
|
|
150
|
+
let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' + path_target + '")\n';
|
|
151
|
+
message += referencepath_targetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
149
152
|
return new TypeError(message);
|
|
150
153
|
}
|
|
151
154
|
}
|
|
155
|
+
const obj_type = obj.type;
|
|
156
|
+
const path_type = path + '.type';
|
|
157
|
+
if (typeof obj_type !== 'string') {
|
|
158
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
159
|
+
}
|
|
152
160
|
})();
|
|
153
161
|
return v_error === undefined ? null : v_error;
|
|
154
162
|
}
|
|
@@ -235,18 +243,18 @@ function validate$c(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
235
243
|
}
|
|
236
244
|
|
|
237
245
|
const TTL$3 = 3600000;
|
|
238
|
-
const VERSION$4 = "
|
|
246
|
+
const VERSION$4 = "67b3aa435b83d2d71e7e8b1b95144be8";
|
|
239
247
|
function validate$b(obj, path = 'ManagedContentCollectionItemsRepresentation') {
|
|
240
248
|
const v_error = (() => {
|
|
241
249
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
242
250
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
243
251
|
}
|
|
244
|
-
const
|
|
245
|
-
const
|
|
246
|
-
const
|
|
247
|
-
if (
|
|
248
|
-
let message = 'Object doesn\'t match
|
|
249
|
-
message +=
|
|
252
|
+
const obj_channelSummary = obj.channelSummary;
|
|
253
|
+
const path_channelSummary = path + '.channelSummary';
|
|
254
|
+
const referencepath_channelSummaryValidationError = validate$f(obj_channelSummary, path_channelSummary);
|
|
255
|
+
if (referencepath_channelSummaryValidationError !== null) {
|
|
256
|
+
let message = 'Object doesn\'t match ManagedContentDeliveryChannelSummaryRepresentation (at "' + path_channelSummary + '")\n';
|
|
257
|
+
message += referencepath_channelSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
250
258
|
return new TypeError(message);
|
|
251
259
|
}
|
|
252
260
|
const obj_collectionKey = obj.collectionKey;
|
|
@@ -651,18 +659,18 @@ const getCollectionItemsForSiteAdapterFactory = (luvio) => function CMS__getColl
|
|
|
651
659
|
};
|
|
652
660
|
|
|
653
661
|
const TTL$2 = 3600000;
|
|
654
|
-
const VERSION$3 = "
|
|
662
|
+
const VERSION$3 = "04f084216502225bdb5fe939fc41b883";
|
|
655
663
|
function validate$a(obj, path = 'ManagedContentCollectionMetadataRepresentation') {
|
|
656
664
|
const v_error = (() => {
|
|
657
665
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
658
666
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
659
667
|
}
|
|
660
|
-
const
|
|
661
|
-
const
|
|
662
|
-
const
|
|
663
|
-
if (
|
|
664
|
-
let message = 'Object doesn\'t match
|
|
665
|
-
message +=
|
|
668
|
+
const obj_channelSummary = obj.channelSummary;
|
|
669
|
+
const path_channelSummary = path + '.channelSummary';
|
|
670
|
+
const referencepath_channelSummaryValidationError = validate$f(obj_channelSummary, path_channelSummary);
|
|
671
|
+
if (referencepath_channelSummaryValidationError !== null) {
|
|
672
|
+
let message = 'Object doesn\'t match ManagedContentDeliveryChannelSummaryRepresentation (at "' + path_channelSummary + '")\n';
|
|
673
|
+
message += referencepath_channelSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
666
674
|
return new TypeError(message);
|
|
667
675
|
}
|
|
668
676
|
const obj_collectionKey = obj.collectionKey;
|
|
@@ -2055,4 +2063,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2055
2063
|
});
|
|
2056
2064
|
|
|
2057
2065
|
export { getCollectionItemsForChannel, getCollectionItemsForChannel_imperative, getCollectionItemsForSite, getCollectionItemsForSite_imperative, getCollectionMetadataForChannel, getCollectionMetadataForChannel_imperative, getCollectionMetadataForSite, getCollectionMetadataForSite_imperative, listContent, listContentInternal, listContentInternal_imperative, listContent_imperative };
|
|
2058
|
-
// version: 1.309.0-
|
|
2066
|
+
// version: 1.309.0-dev13-f443187b81
|
package/src/raml/api.raml
CHANGED
|
@@ -100,6 +100,35 @@ types:
|
|
|
100
100
|
id:
|
|
101
101
|
description: Id of the target entity associated with the channel
|
|
102
102
|
type: string
|
|
103
|
+
ManagedContentDeliveryChannelSummaryRepresentation:
|
|
104
|
+
description: Summary information of a CMS Delivery Channel
|
|
105
|
+
type: object
|
|
106
|
+
properties:
|
|
107
|
+
domainUrl:
|
|
108
|
+
description: Domain Url of the org
|
|
109
|
+
type: string
|
|
110
|
+
id:
|
|
111
|
+
description: Id of the Managed Content Channel
|
|
112
|
+
type: string
|
|
113
|
+
name:
|
|
114
|
+
description: Name of the managed content channel
|
|
115
|
+
type: string
|
|
116
|
+
resourceUrl:
|
|
117
|
+
description: Resource URL for detailed information about the ManagedContentChannel
|
|
118
|
+
type: string
|
|
119
|
+
target:
|
|
120
|
+
description: Information of the Target Entity associated with this channel
|
|
121
|
+
type: ManagedContentChannelTargetSummaryRepresentation
|
|
122
|
+
required: false
|
|
123
|
+
type:
|
|
124
|
+
description: Type of Managed Content Channel
|
|
125
|
+
type: string
|
|
126
|
+
enum:
|
|
127
|
+
- CloudToCloud
|
|
128
|
+
- Community
|
|
129
|
+
- ConnectedApp
|
|
130
|
+
- PublicUnauthenticated
|
|
131
|
+
- UserPermission
|
|
103
132
|
ManagedContentCollectionItemRepresentation:
|
|
104
133
|
description: Compact information about a content.
|
|
105
134
|
type: object
|
|
@@ -133,9 +162,9 @@ types:
|
|
|
133
162
|
description: Information about collection Items.
|
|
134
163
|
type: object
|
|
135
164
|
properties:
|
|
136
|
-
|
|
137
|
-
description: The contextual information of the managed content channel
|
|
138
|
-
type:
|
|
165
|
+
channelSummary:
|
|
166
|
+
description: The contextual information of the delivery managed content channel
|
|
167
|
+
type: ManagedContentDeliveryChannelSummaryRepresentation
|
|
139
168
|
collectionKey:
|
|
140
169
|
description: The collection key
|
|
141
170
|
type: string
|
|
@@ -169,9 +198,9 @@ types:
|
|
|
169
198
|
description: Collection Metadata.
|
|
170
199
|
type: object
|
|
171
200
|
properties:
|
|
172
|
-
|
|
173
|
-
description: The contextual information of the channel
|
|
174
|
-
type:
|
|
201
|
+
channelSummary:
|
|
202
|
+
description: The contextual information of the delivery managed content channel.
|
|
203
|
+
type: ManagedContentDeliveryChannelSummaryRepresentation
|
|
175
204
|
collectionKey:
|
|
176
205
|
description: Globally unique identifier of a collection and doesn't change
|
|
177
206
|
when collection is moved between production and sandbox environments.
|