@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.
@@ -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 = 'ManagedContentChannelSummaryRepresentation') {
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
- if (obj.domainUrl !== undefined) {
116
- const obj_domainUrl = obj.domainUrl;
117
- const path_domainUrl = path + '.domainUrl';
118
- if (typeof obj_domainUrl !== 'string') {
119
- return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
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.targetSummary !== undefined) {
133
- const obj_targetSummary = obj.targetSummary;
134
- const path_targetSummary = path + '.targetSummary';
135
- const referencepath_targetSummaryValidationError = validate$g(obj_targetSummary, path_targetSummary);
136
- if (referencepath_targetSummaryValidationError !== null) {
137
- let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' + path_targetSummary + '")\n';
138
- message += referencepath_targetSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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 = "f8aeed959e28f0d935539e65aa3e5211";
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 obj_channelInfo = obj.channelInfo;
235
- const path_channelInfo = path + '.channelInfo';
236
- const referencepath_channelInfoValidationError = validate$f(obj_channelInfo, path_channelInfo);
237
- if (referencepath_channelInfoValidationError !== null) {
238
- let message = 'Object doesn\'t match ManagedContentChannelSummaryRepresentation (at "' + path_channelInfo + '")\n';
239
- message += referencepath_channelInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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 = "181754fe91f1eab67546c9f961cedb5f";
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 obj_channelInfo = obj.channelInfo;
501
- const path_channelInfo = path + '.channelInfo';
502
- const referencepath_channelInfoValidationError = validate$f(obj_channelInfo, path_channelInfo);
503
- if (referencepath_channelInfoValidationError !== null) {
504
- let message = 'Object doesn\'t match ManagedContentChannelSummaryRepresentation (at "' + path_channelInfo + '")\n';
505
- message += referencepath_channelInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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;
@@ -1,9 +1,9 @@
1
- import { ManagedContentChannelSummaryRepresentation as ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation } from './ManagedContentChannelSummaryRepresentation';
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 = "f8aeed959e28f0d935539e65aa3e5211";
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
- channelInfo: ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation;
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
- channelInfo: ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation;
48
+ channelSummary: ManagedContentDeliveryChannelSummaryRepresentation_ManagedContentDeliveryChannelSummaryRepresentation;
49
49
  collectionKey: string;
50
50
  collectionType: ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation;
51
51
  id: string;
@@ -1,8 +1,8 @@
1
- import { ManagedContentChannelSummaryRepresentation as ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation } from './ManagedContentChannelSummaryRepresentation';
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 = "181754fe91f1eab67546c9f961cedb5f";
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
- channelInfo: ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation;
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
- channelInfo: ManagedContentChannelSummaryRepresentation_ManagedContentChannelSummaryRepresentation;
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-dev11",
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-dev11"
32
+ "@salesforce/lds-bindings": "^1.309.0-dev13"
33
33
  },
34
34
  "devDependencies": {
35
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev11",
36
- "@salesforce/lds-karma": "^1.309.0-dev11"
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 = 'ManagedContentChannelSummaryRepresentation') {
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
- if (obj.domainUrl !== undefined) {
126
- const obj_domainUrl = obj.domainUrl;
127
- const path_domainUrl = path + '.domainUrl';
128
- if (typeof obj_domainUrl !== 'string') {
129
- return new TypeError('Expected "string" but received "' + typeof obj_domainUrl + '" (at "' + path_domainUrl + '")');
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.targetSummary !== undefined) {
143
- const obj_targetSummary = obj.targetSummary;
144
- const path_targetSummary = path + '.targetSummary';
145
- const referencepath_targetSummaryValidationError = validate$g(obj_targetSummary, path_targetSummary);
146
- if (referencepath_targetSummaryValidationError !== null) {
147
- let message = 'Object doesn\'t match ManagedContentChannelTargetSummaryRepresentation (at "' + path_targetSummary + '")\n';
148
- message += referencepath_targetSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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 = "f8aeed959e28f0d935539e65aa3e5211";
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 obj_channelInfo = obj.channelInfo;
245
- const path_channelInfo = path + '.channelInfo';
246
- const referencepath_channelInfoValidationError = validate$f(obj_channelInfo, path_channelInfo);
247
- if (referencepath_channelInfoValidationError !== null) {
248
- let message = 'Object doesn\'t match ManagedContentChannelSummaryRepresentation (at "' + path_channelInfo + '")\n';
249
- message += referencepath_channelInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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 = "181754fe91f1eab67546c9f961cedb5f";
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 obj_channelInfo = obj.channelInfo;
661
- const path_channelInfo = path + '.channelInfo';
662
- const referencepath_channelInfoValidationError = validate$f(obj_channelInfo, path_channelInfo);
663
- if (referencepath_channelInfoValidationError !== null) {
664
- let message = 'Object doesn\'t match ManagedContentChannelSummaryRepresentation (at "' + path_channelInfo + '")\n';
665
- message += referencepath_channelInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
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-dev11-e18434ec95
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
- channelInfo:
137
- description: The contextual information of the managed content channel
138
- type: ManagedContentChannelSummaryRepresentation
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
- channelInfo:
173
- description: The contextual information of the channel
174
- type: ManagedContentChannelSummaryRepresentation
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.