@salesforce/lds-adapters-industries-timeline 1.282.0 → 1.284.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.
@@ -272,13 +272,15 @@ function validate$k(obj, path = 'PathToDmoRepresentation') {
272
272
  if (typeof obj_dmoName !== 'string') {
273
273
  return new TypeError('Expected "string" but received "' + typeof obj_dmoName + '" (at "' + path_dmoName + '")');
274
274
  }
275
- const obj_pathToDmoRepresentation = obj.pathToDmoRepresentation;
276
- const path_pathToDmoRepresentation = path + '.pathToDmoRepresentation';
277
- const referencepath_pathToDmoRepresentationValidationError = validate$k(obj_pathToDmoRepresentation, path_pathToDmoRepresentation);
278
- if (referencepath_pathToDmoRepresentationValidationError !== null) {
279
- let message = 'Object doesn\'t match PathToDmoRepresentation (at "' + path_pathToDmoRepresentation + '")\n';
280
- message += referencepath_pathToDmoRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
281
- return new TypeError(message);
275
+ if (obj.pathToDmoRepresentation !== undefined) {
276
+ const obj_pathToDmoRepresentation = obj.pathToDmoRepresentation;
277
+ const path_pathToDmoRepresentation = path + '.pathToDmoRepresentation';
278
+ const referencepath_pathToDmoRepresentationValidationError = validate$k(obj_pathToDmoRepresentation, path_pathToDmoRepresentation);
279
+ if (referencepath_pathToDmoRepresentationValidationError !== null) {
280
+ let message = 'Object doesn\'t match PathToDmoRepresentation (at "' + path_pathToDmoRepresentation + '")\n';
281
+ message += referencepath_pathToDmoRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
282
+ return new TypeError(message);
283
+ }
282
284
  }
283
285
  })();
284
286
  return v_error === undefined ? null : v_error;
@@ -374,10 +376,12 @@ function validate$g(obj, path = 'TimelineDataCloudEventRepresentation') {
374
376
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
375
377
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
376
378
  }
377
- const obj_description = obj.description;
378
- const path_description = path + '.description';
379
- if (typeof obj_description !== 'string') {
380
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
379
+ if (obj.description !== undefined) {
380
+ const obj_description = obj.description;
381
+ const path_description = path + '.description';
382
+ if (typeof obj_description !== 'string') {
383
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
384
+ }
381
385
  }
382
386
  const obj_eventDateTime = obj.eventDateTime;
383
387
  const path_eventDateTime = path + '.eventDateTime';
@@ -399,24 +403,28 @@ function validate$g(obj, path = 'TimelineDataCloudEventRepresentation') {
399
403
  return new TypeError(message);
400
404
  }
401
405
  }
402
- const obj_id = obj.id;
403
- const path_id = path + '.id';
404
- if (typeof obj_id !== 'string') {
405
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
406
- }
407
- const obj_relatedListEvents = obj.relatedListEvents;
408
- const path_relatedListEvents = path + '.relatedListEvents';
409
- if (!ArrayIsArray(obj_relatedListEvents)) {
410
- return new TypeError('Expected "array" but received "' + typeof obj_relatedListEvents + '" (at "' + path_relatedListEvents + '")');
411
- }
412
- for (let i = 0; i < obj_relatedListEvents.length; i++) {
413
- const obj_relatedListEvents_item = obj_relatedListEvents[i];
414
- const path_relatedListEvents_item = path_relatedListEvents + '[' + i + ']';
415
- const referencepath_relatedListEvents_itemValidationError = validate$h(obj_relatedListEvents_item, path_relatedListEvents_item);
416
- if (referencepath_relatedListEvents_itemValidationError !== null) {
417
- let message = 'Object doesn\'t match TimelineEngagementRelatedListEventsRepresentation (at "' + path_relatedListEvents_item + '")\n';
418
- message += referencepath_relatedListEvents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
419
- return new TypeError(message);
406
+ if (obj.id !== undefined) {
407
+ const obj_id = obj.id;
408
+ const path_id = path + '.id';
409
+ if (typeof obj_id !== 'string') {
410
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
411
+ }
412
+ }
413
+ if (obj.relatedListEvents !== undefined) {
414
+ const obj_relatedListEvents = obj.relatedListEvents;
415
+ const path_relatedListEvents = path + '.relatedListEvents';
416
+ if (!ArrayIsArray(obj_relatedListEvents)) {
417
+ return new TypeError('Expected "array" but received "' + typeof obj_relatedListEvents + '" (at "' + path_relatedListEvents + '")');
418
+ }
419
+ for (let i = 0; i < obj_relatedListEvents.length; i++) {
420
+ const obj_relatedListEvents_item = obj_relatedListEvents[i];
421
+ const path_relatedListEvents_item = path_relatedListEvents + '[' + i + ']';
422
+ const referencepath_relatedListEvents_itemValidationError = validate$h(obj_relatedListEvents_item, path_relatedListEvents_item);
423
+ if (referencepath_relatedListEvents_itemValidationError !== null) {
424
+ let message = 'Object doesn\'t match TimelineEngagementRelatedListEventsRepresentation (at "' + path_relatedListEvents_item + '")\n';
425
+ message += referencepath_relatedListEvents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
426
+ return new TypeError(message);
427
+ }
420
428
  }
421
429
  }
422
430
  const obj_title = obj.title;
@@ -2011,6 +2019,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2011
2019
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2012
2020
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2013
2021
  }
2022
+ if (obj.additionalEventData !== undefined) {
2023
+ const obj_additionalEventData = obj.additionalEventData;
2024
+ const path_additionalEventData = path + '.additionalEventData';
2025
+ if (obj_additionalEventData === undefined) {
2026
+ return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
2027
+ }
2028
+ }
2014
2029
  if (obj.anchorReferenceField !== undefined) {
2015
2030
  const obj_anchorReferenceField = obj.anchorReferenceField;
2016
2031
  const path_anchorReferenceField = path + '.anchorReferenceField';
@@ -2073,13 +2088,6 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2073
2088
  message += '\n' + obj_entityLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
2074
2089
  return new TypeError(message);
2075
2090
  }
2076
- if (obj.extraEventData !== undefined) {
2077
- const obj_extraEventData = obj.extraEventData;
2078
- const path_extraEventData = path + '.extraEventData';
2079
- if (obj_extraEventData === undefined) {
2080
- return new TypeError('Expected "defined" but received "' + typeof obj_extraEventData + '" (at "' + path_extraEventData + '")');
2081
- }
2082
- }
2083
2091
  if (obj.fieldsToDisplay !== undefined) {
2084
2092
  const obj_fieldsToDisplay = obj.fieldsToDisplay;
2085
2093
  const path_fieldsToDisplay = path + '.fieldsToDisplay';
@@ -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 = "dafc891f350895ee79f8bf0bd29479de";
2
+ export declare const VERSION = "510dfa00e9cddde8acfa643f2dafc4bb";
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: PathToDmoRepresentation, existing: PathToDmoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PathToDmoRepresentationNormalized;
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface PathToDmoRepresentationNormalized {
17
17
  /** name of the DMO */
18
18
  dmoName: string;
19
- pathToDmoRepresentation: PathToDmoRepresentation;
19
+ pathToDmoRepresentation?: PathToDmoRepresentation;
20
20
  }
21
21
  /**
22
22
  * Output representation for the Path of DMO
@@ -26,5 +26,5 @@ export interface PathToDmoRepresentationNormalized {
26
26
  */
27
27
  export interface PathToDmoRepresentation {
28
28
  dmoName: string;
29
- pathToDmoRepresentation: PathToDmoRepresentation;
29
+ pathToDmoRepresentation?: PathToDmoRepresentation;
30
30
  }
@@ -1,7 +1,7 @@
1
1
  import { TimelineEventFieldRepresentation as TimelineEventFieldRepresentation_TimelineEventFieldRepresentation } from './TimelineEventFieldRepresentation';
2
2
  import { TimelineEngagementRelatedListEventsRepresentation as TimelineEngagementRelatedListEventsRepresentation_TimelineEngagementRelatedListEventsRepresentation } from './TimelineEngagementRelatedListEventsRepresentation';
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 = "ef3b8f2bca49677dc97ac8650c05de2b";
4
+ export declare const VERSION = "d149ee3587c61f95c85c0b94a219b71c";
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: TimelineDataCloudEventRepresentation, existing: TimelineDataCloudEventRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TimelineDataCloudEventRepresentationNormalized;
@@ -17,15 +17,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  */
18
18
  export interface TimelineDataCloudEventRepresentationNormalized {
19
19
  /** Description of the Event Entity */
20
- description: string;
20
+ description?: string;
21
21
  /** Date Time of the Event */
22
22
  eventDateTime: string;
23
23
  /** Fields of the Event */
24
24
  fields: Array<TimelineEventFieldRepresentation_TimelineEventFieldRepresentation>;
25
25
  /** Record Id */
26
- id: string;
26
+ id?: string;
27
27
  /** list of related Lists data */
28
- relatedListEvents: Array<TimelineEngagementRelatedListEventsRepresentation_TimelineEngagementRelatedListEventsRepresentation>;
28
+ relatedListEvents?: Array<TimelineEngagementRelatedListEventsRepresentation_TimelineEngagementRelatedListEventsRepresentation>;
29
29
  /** Title of the Event Entity */
30
30
  title: string;
31
31
  /** Event Entity Type */
@@ -38,11 +38,11 @@ export interface TimelineDataCloudEventRepresentationNormalized {
38
38
  * (none)
39
39
  */
40
40
  export interface TimelineDataCloudEventRepresentation {
41
- description: string;
41
+ description?: string;
42
42
  eventDateTime: string;
43
43
  fields: Array<TimelineEventFieldRepresentation_TimelineEventFieldRepresentation>;
44
- id: string;
45
- relatedListEvents: Array<TimelineEngagementRelatedListEventsRepresentation_TimelineEngagementRelatedListEventsRepresentation>;
44
+ id?: string;
45
+ relatedListEvents?: Array<TimelineEngagementRelatedListEventsRepresentation_TimelineEngagementRelatedListEventsRepresentation>;
46
46
  title: string;
47
47
  type: string;
48
48
  }
@@ -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 = "20e3c92e9ce445e9c36bbba0edc9ce30";
3
+ export declare const VERSION = "a8a2c45599ba9d7f65480375e340a758";
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;
@@ -15,13 +15,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface TimelineEventTypeMetadataRepresentationNormalized {
18
+ /** Event Entity Additional Data */
19
+ additionalEventData?: unknown;
18
20
  anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
19
21
  /** Event Entity API Name */
20
22
  entityApiName: string | null;
21
23
  /** Event Entity Label Name */
22
24
  entityLabel: string | null;
23
- /** Event Entity Extra Data */
24
- extraEventData?: unknown;
25
25
  /** Event Object fieldsToDisplay List */
26
26
  fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
27
27
  /** Whether Event Entity is creatable */
@@ -42,10 +42,10 @@ export interface TimelineEventTypeMetadataRepresentationNormalized {
42
42
  * (none)
43
43
  */
44
44
  export interface TimelineEventTypeMetadataRepresentation {
45
+ additionalEventData?: unknown;
45
46
  anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
46
47
  entityApiName: string | null;
47
48
  entityLabel: string | null;
48
- extraEventData?: unknown;
49
49
  fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
50
50
  isCreatable?: boolean;
51
51
  relatedlistsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-timeline",
3
- "version": "1.282.0",
3
+ "version": "1.284.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",
@@ -39,11 +39,11 @@
39
39
  "test:unit": "jest"
40
40
  },
41
41
  "dependencies": {
42
- "@salesforce/lds-bindings": "^1.282.0"
42
+ "@salesforce/lds-bindings": "^1.284.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.282.0",
46
- "@salesforce/lds-karma": "^1.282.0"
45
+ "@salesforce/lds-compiler-plugins": "^1.284.0",
46
+ "@salesforce/lds-karma": "^1.284.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -967,13 +967,15 @@ function validate$c(obj, path = 'PathToDmoRepresentation') {
967
967
  if (typeof obj_dmoName !== 'string') {
968
968
  return new TypeError('Expected "string" but received "' + typeof obj_dmoName + '" (at "' + path_dmoName + '")');
969
969
  }
970
- const obj_pathToDmoRepresentation = obj.pathToDmoRepresentation;
971
- const path_pathToDmoRepresentation = path + '.pathToDmoRepresentation';
972
- const referencepath_pathToDmoRepresentationValidationError = validate$c(obj_pathToDmoRepresentation, path_pathToDmoRepresentation);
973
- if (referencepath_pathToDmoRepresentationValidationError !== null) {
974
- let message = 'Object doesn\'t match PathToDmoRepresentation (at "' + path_pathToDmoRepresentation + '")\n';
975
- message += referencepath_pathToDmoRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
976
- return new TypeError(message);
970
+ if (obj.pathToDmoRepresentation !== undefined) {
971
+ const obj_pathToDmoRepresentation = obj.pathToDmoRepresentation;
972
+ const path_pathToDmoRepresentation = path + '.pathToDmoRepresentation';
973
+ const referencepath_pathToDmoRepresentationValidationError = validate$c(obj_pathToDmoRepresentation, path_pathToDmoRepresentation);
974
+ if (referencepath_pathToDmoRepresentationValidationError !== null) {
975
+ let message = 'Object doesn\'t match PathToDmoRepresentation (at "' + path_pathToDmoRepresentation + '")\n';
976
+ message += referencepath_pathToDmoRepresentationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
977
+ return new TypeError(message);
978
+ }
977
979
  }
978
980
  })();
979
981
  return v_error === undefined ? null : v_error;
@@ -1069,10 +1071,12 @@ function validate$8(obj, path = 'TimelineDataCloudEventRepresentation') {
1069
1071
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1070
1072
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1071
1073
  }
1072
- const obj_description = obj.description;
1073
- const path_description = path + '.description';
1074
- if (typeof obj_description !== 'string') {
1075
- return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1074
+ if (obj.description !== undefined) {
1075
+ const obj_description = obj.description;
1076
+ const path_description = path + '.description';
1077
+ if (typeof obj_description !== 'string') {
1078
+ return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
1079
+ }
1076
1080
  }
1077
1081
  const obj_eventDateTime = obj.eventDateTime;
1078
1082
  const path_eventDateTime = path + '.eventDateTime';
@@ -1094,24 +1098,28 @@ function validate$8(obj, path = 'TimelineDataCloudEventRepresentation') {
1094
1098
  return new TypeError(message);
1095
1099
  }
1096
1100
  }
1097
- const obj_id = obj.id;
1098
- const path_id = path + '.id';
1099
- if (typeof obj_id !== 'string') {
1100
- return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1101
- }
1102
- const obj_relatedListEvents = obj.relatedListEvents;
1103
- const path_relatedListEvents = path + '.relatedListEvents';
1104
- if (!ArrayIsArray(obj_relatedListEvents)) {
1105
- return new TypeError('Expected "array" but received "' + typeof obj_relatedListEvents + '" (at "' + path_relatedListEvents + '")');
1106
- }
1107
- for (let i = 0; i < obj_relatedListEvents.length; i++) {
1108
- const obj_relatedListEvents_item = obj_relatedListEvents[i];
1109
- const path_relatedListEvents_item = path_relatedListEvents + '[' + i + ']';
1110
- const referencepath_relatedListEvents_itemValidationError = validate$9(obj_relatedListEvents_item, path_relatedListEvents_item);
1111
- if (referencepath_relatedListEvents_itemValidationError !== null) {
1112
- let message = 'Object doesn\'t match TimelineEngagementRelatedListEventsRepresentation (at "' + path_relatedListEvents_item + '")\n';
1113
- message += referencepath_relatedListEvents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1114
- return new TypeError(message);
1101
+ if (obj.id !== undefined) {
1102
+ const obj_id = obj.id;
1103
+ const path_id = path + '.id';
1104
+ if (typeof obj_id !== 'string') {
1105
+ return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
1106
+ }
1107
+ }
1108
+ if (obj.relatedListEvents !== undefined) {
1109
+ const obj_relatedListEvents = obj.relatedListEvents;
1110
+ const path_relatedListEvents = path + '.relatedListEvents';
1111
+ if (!ArrayIsArray(obj_relatedListEvents)) {
1112
+ return new TypeError('Expected "array" but received "' + typeof obj_relatedListEvents + '" (at "' + path_relatedListEvents + '")');
1113
+ }
1114
+ for (let i = 0; i < obj_relatedListEvents.length; i++) {
1115
+ const obj_relatedListEvents_item = obj_relatedListEvents[i];
1116
+ const path_relatedListEvents_item = path_relatedListEvents + '[' + i + ']';
1117
+ const referencepath_relatedListEvents_itemValidationError = validate$9(obj_relatedListEvents_item, path_relatedListEvents_item);
1118
+ if (referencepath_relatedListEvents_itemValidationError !== null) {
1119
+ let message = 'Object doesn\'t match TimelineEngagementRelatedListEventsRepresentation (at "' + path_relatedListEvents_item + '")\n';
1120
+ message += referencepath_relatedListEvents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1121
+ return new TypeError(message);
1122
+ }
1115
1123
  }
1116
1124
  }
1117
1125
  const obj_title = obj.title;
@@ -2021,6 +2029,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2021
2029
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2022
2030
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2023
2031
  }
2032
+ if (obj.additionalEventData !== undefined) {
2033
+ const obj_additionalEventData = obj.additionalEventData;
2034
+ const path_additionalEventData = path + '.additionalEventData';
2035
+ if (obj_additionalEventData === undefined) {
2036
+ return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
2037
+ }
2038
+ }
2024
2039
  if (obj.anchorReferenceField !== undefined) {
2025
2040
  const obj_anchorReferenceField = obj.anchorReferenceField;
2026
2041
  const path_anchorReferenceField = path + '.anchorReferenceField';
@@ -2083,13 +2098,6 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2083
2098
  message += '\n' + obj_entityLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
2084
2099
  return new TypeError(message);
2085
2100
  }
2086
- if (obj.extraEventData !== undefined) {
2087
- const obj_extraEventData = obj.extraEventData;
2088
- const path_extraEventData = path + '.extraEventData';
2089
- if (obj_extraEventData === undefined) {
2090
- return new TypeError('Expected "defined" but received "' + typeof obj_extraEventData + '" (at "' + path_extraEventData + '")');
2091
- }
2092
- }
2093
2101
  if (obj.fieldsToDisplay !== undefined) {
2094
2102
  const obj_fieldsToDisplay = obj.fieldsToDisplay;
2095
2103
  const path_fieldsToDisplay = path + '.fieldsToDisplay';
@@ -2616,4 +2624,4 @@ withDefaultLuvio((luvio) => {
2616
2624
  });
2617
2625
 
2618
2626
  export { getDataGraphMetadata, getDataGraphMetadata_imperative, getDataModelObjects, getDataModelObjects_imperative, getEngagementEvents, getEngagementEvents_imperative, getTimelineData, getTimelineData_imperative, getTimelineMetadata, getTimelineMetadata_imperative };
2619
- // version: 1.282.0-dd2e9831c
2627
+ // version: 1.284.0-8b78b708e
package/src/raml/api.raml CHANGED
@@ -222,6 +222,7 @@ types:
222
222
  pathToDmoRepresentation:
223
223
  description: 'path to DMO in JSON '
224
224
  type: PathToDmoRepresentation
225
+ required: false
225
226
  RelationshipTypeOutputRepresentation:
226
227
  description: Output representation of relationship type
227
228
  type: object
@@ -239,6 +240,7 @@ types:
239
240
  description:
240
241
  description: Description of the Event Entity
241
242
  type: string
243
+ required: false
242
244
  eventDateTime:
243
245
  description: Date Time of the Event
244
246
  type: string
@@ -250,9 +252,11 @@ types:
250
252
  id:
251
253
  description: Record Id
252
254
  type: string
255
+ required: false
253
256
  relatedListEvents:
254
257
  description: list of related Lists data
255
258
  type: array
259
+ required: false
256
260
  items:
257
261
  type: TimelineEngagementRelatedListEventsRepresentation
258
262
  title:
@@ -435,8 +439,8 @@ types:
435
439
  description: Whether Event Entity is creatable
436
440
  type: boolean
437
441
  required: false
438
- extraEventData:
439
- description: Event Entity Extra Data
442
+ additionalEventData:
443
+ description: Event Entity Additional Data
440
444
  type: any
441
445
  required: false
442
446
  fieldsToDisplay: