@salesforce/lds-adapters-industries-timeline 1.250.1 → 1.252.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.
@@ -1564,6 +1564,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
1564
1564
  }
1565
1565
  }
1566
1566
  }
1567
+ if (obj.isCreatable !== undefined) {
1568
+ const obj_isCreatable = obj.isCreatable;
1569
+ const path_isCreatable = path + '.isCreatable';
1570
+ if (typeof obj_isCreatable !== 'boolean') {
1571
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isCreatable + '" (at "' + path_isCreatable + '")');
1572
+ }
1573
+ }
1567
1574
  if (obj.relatedlistsToDisplay !== undefined) {
1568
1575
  const obj_relatedlistsToDisplay = obj.relatedlistsToDisplay;
1569
1576
  const path_relatedlistsToDisplay = path + '.relatedlistsToDisplay';
@@ -1627,6 +1634,16 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
1627
1634
  return new TypeError(message);
1628
1635
  }
1629
1636
  }
1637
+ if (obj.summaryField !== undefined) {
1638
+ const obj_summaryField = obj.summaryField;
1639
+ const path_summaryField = path + '.summaryField';
1640
+ const referencepath_summaryFieldValidationError = validate$3(obj_summaryField, path_summaryField);
1641
+ if (referencepath_summaryFieldValidationError !== null) {
1642
+ let message = 'Object doesn\'t match TimelineElementRepresentation (at "' + path_summaryField + '")\n';
1643
+ message += referencepath_summaryFieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1644
+ return new TypeError(message);
1645
+ }
1646
+ }
1630
1647
  if (obj.title !== undefined) {
1631
1648
  const obj_title = obj.title;
1632
1649
  const path_title = path + '.title';
@@ -1,6 +1,6 @@
1
1
  import { TimelineElementRepresentation as TimelineElementRepresentation_TimelineElementRepresentation } from './TimelineElementRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "8700d3bfa7e6fb9c4962306b4834e3dc";
3
+ export declare const VERSION = "7f908dcc40861bc4b25d8f4a61e4818f";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: TimelineEventTypeMetadataRepresentation, existing: TimelineEventTypeMetadataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TimelineEventTypeMetadataRepresentationNormalized;
@@ -22,12 +22,15 @@ export interface TimelineEventTypeMetadataRepresentationNormalized {
22
22
  entityLabel: string | null;
23
23
  /** Event Object fieldsToDisplay List */
24
24
  fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
25
+ /** Whether Event Entity is creatable */
26
+ isCreatable?: boolean;
25
27
  /** Event Object relatedlistsToDisplay List */
26
28
  relatedlistsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
27
29
  /** Event Object relation type */
28
30
  relationType: string | null;
29
31
  sortField?: TimelineElementRepresentation_TimelineElementRepresentation;
30
32
  subTitle?: TimelineElementRepresentation_TimelineElementRepresentation;
33
+ summaryField?: TimelineElementRepresentation_TimelineElementRepresentation;
31
34
  title?: TimelineElementRepresentation_TimelineElementRepresentation;
32
35
  }
33
36
  /**
@@ -41,9 +44,11 @@ export interface TimelineEventTypeMetadataRepresentation {
41
44
  entityApiName: string | null;
42
45
  entityLabel: string | null;
43
46
  fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
47
+ isCreatable?: boolean;
44
48
  relatedlistsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
45
49
  relationType: string | null;
46
50
  sortField?: TimelineElementRepresentation_TimelineElementRepresentation;
47
51
  subTitle?: TimelineElementRepresentation_TimelineElementRepresentation;
52
+ summaryField?: TimelineElementRepresentation_TimelineElementRepresentation;
48
53
  title?: TimelineElementRepresentation_TimelineElementRepresentation;
49
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-timeline",
3
- "version": "1.250.1",
3
+ "version": "1.252.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": " GET Resource to get the Timeline Data",
6
6
  "main": "dist/es/es2018/industries-timeline.js",
package/sfdc/index.js CHANGED
@@ -1574,6 +1574,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
1574
1574
  }
1575
1575
  }
1576
1576
  }
1577
+ if (obj.isCreatable !== undefined) {
1578
+ const obj_isCreatable = obj.isCreatable;
1579
+ const path_isCreatable = path + '.isCreatable';
1580
+ if (typeof obj_isCreatable !== 'boolean') {
1581
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isCreatable + '" (at "' + path_isCreatable + '")');
1582
+ }
1583
+ }
1577
1584
  if (obj.relatedlistsToDisplay !== undefined) {
1578
1585
  const obj_relatedlistsToDisplay = obj.relatedlistsToDisplay;
1579
1586
  const path_relatedlistsToDisplay = path + '.relatedlistsToDisplay';
@@ -1637,6 +1644,16 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
1637
1644
  return new TypeError(message);
1638
1645
  }
1639
1646
  }
1647
+ if (obj.summaryField !== undefined) {
1648
+ const obj_summaryField = obj.summaryField;
1649
+ const path_summaryField = path + '.summaryField';
1650
+ const referencepath_summaryFieldValidationError = validate$3(obj_summaryField, path_summaryField);
1651
+ if (referencepath_summaryFieldValidationError !== null) {
1652
+ let message = 'Object doesn\'t match TimelineElementRepresentation (at "' + path_summaryField + '")\n';
1653
+ message += referencepath_summaryFieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1654
+ return new TypeError(message);
1655
+ }
1656
+ }
1640
1657
  if (obj.title !== undefined) {
1641
1658
  const obj_title = obj.title;
1642
1659
  const path_title = path + '.title';
@@ -2040,4 +2057,4 @@ withDefaultLuvio((luvio) => {
2040
2057
  });
2041
2058
 
2042
2059
  export { getDataModelObjects, getDataModelObjects_imperative, getEngagementEvents, getEngagementEvents_imperative, getTimelineData, getTimelineData_imperative, getTimelineMetadata, getTimelineMetadata_imperative };
2043
- // version: 1.250.1-26c7958c1
2060
+ // version: 1.252.0-eca5ba0ae
package/src/raml/api.raml CHANGED
@@ -286,6 +286,10 @@ types:
286
286
  entityLabel:
287
287
  description: Event Entity Label Name
288
288
  type: string | nil
289
+ isCreatable:
290
+ description: Whether Event Entity is creatable
291
+ type: boolean
292
+ required: false
289
293
  fieldsToDisplay:
290
294
  description: Event Object fieldsToDisplay List
291
295
  type: array
@@ -309,6 +313,10 @@ types:
309
313
  description: Event Object subTitle field
310
314
  type: TimelineElementRepresentation
311
315
  required: false
316
+ summaryField:
317
+ description: Event Entity Summary field
318
+ type: TimelineElementRepresentation
319
+ required: false
312
320
  title:
313
321
  description: Event Object title field
314
322
  type: TimelineElementRepresentation