@salesforce/lds-adapters-marketing-cdp 1.305.0 → 1.306.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.
- package/dist/es/es2018/marketing-cdp.js +116 -1
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphOutputRepresentation.d.ts +22 -1
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphRelatedSegmentOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +117 -2
- package/src/raml/api.raml +28 -0
|
@@ -551,6 +551,11 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
|
|
|
551
551
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
552
552
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
553
553
|
}
|
|
554
|
+
const obj_id = obj.id;
|
|
555
|
+
const path_id = path + '.id';
|
|
556
|
+
if (typeof obj_id !== 'string') {
|
|
557
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
558
|
+
}
|
|
554
559
|
const obj_label = obj.label;
|
|
555
560
|
const path_label = path + '.label';
|
|
556
561
|
if (typeof obj_label !== 'string') {
|
|
@@ -717,7 +722,7 @@ function equals$4(existing, incoming) {
|
|
|
717
722
|
return true;
|
|
718
723
|
}
|
|
719
724
|
|
|
720
|
-
const VERSION$3 = "
|
|
725
|
+
const VERSION$3 = "ccd13e03e8f6e27eb6bd501431822554";
|
|
721
726
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
722
727
|
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
723
728
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
@@ -734,6 +739,20 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
734
739
|
return new TypeError('Expected "integer" but received "' + typeof obj_cacheDurationInDays + '" (at "' + path_cacheDurationInDays + '")');
|
|
735
740
|
}
|
|
736
741
|
}
|
|
742
|
+
if (obj.dayZeroMappingDevName !== undefined) {
|
|
743
|
+
const obj_dayZeroMappingDevName = obj.dayZeroMappingDevName;
|
|
744
|
+
const path_dayZeroMappingDevName = path + '.dayZeroMappingDevName';
|
|
745
|
+
if (typeof obj_dayZeroMappingDevName !== 'string') {
|
|
746
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayZeroMappingDevName + '" (at "' + path_dayZeroMappingDevName + '")');
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
if (obj.dayZeroTransformDevName !== undefined) {
|
|
750
|
+
const obj_dayZeroTransformDevName = obj.dayZeroTransformDevName;
|
|
751
|
+
const path_dayZeroTransformDevName = path + '.dayZeroTransformDevName';
|
|
752
|
+
if (typeof obj_dayZeroTransformDevName !== 'string') {
|
|
753
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayZeroTransformDevName + '" (at "' + path_dayZeroTransformDevName + '")');
|
|
754
|
+
}
|
|
755
|
+
}
|
|
737
756
|
const obj_extendedProperties = obj.extendedProperties;
|
|
738
757
|
const path_extendedProperties = path + '.extendedProperties';
|
|
739
758
|
if (typeof obj_extendedProperties !== 'string') {
|
|
@@ -749,11 +768,23 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
749
768
|
return new TypeError(message);
|
|
750
769
|
}
|
|
751
770
|
}
|
|
771
|
+
const obj_idDmoLabel = obj.idDmoLabel;
|
|
772
|
+
const path_idDmoLabel = path + '.idDmoLabel';
|
|
773
|
+
if (typeof obj_idDmoLabel !== 'string') {
|
|
774
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoLabel + '" (at "' + path_idDmoLabel + '")');
|
|
775
|
+
}
|
|
752
776
|
const obj_idDmoName = obj.idDmoName;
|
|
753
777
|
const path_idDmoName = path + '.idDmoName';
|
|
754
778
|
if (typeof obj_idDmoName !== 'string') {
|
|
755
779
|
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
756
780
|
}
|
|
781
|
+
if (obj.incrementalMappingDevName !== undefined) {
|
|
782
|
+
const obj_incrementalMappingDevName = obj.incrementalMappingDevName;
|
|
783
|
+
const path_incrementalMappingDevName = path + '.incrementalMappingDevName';
|
|
784
|
+
if (typeof obj_incrementalMappingDevName !== 'string') {
|
|
785
|
+
return new TypeError('Expected "string" but received "' + typeof obj_incrementalMappingDevName + '" (at "' + path_incrementalMappingDevName + '")');
|
|
786
|
+
}
|
|
787
|
+
}
|
|
757
788
|
if (obj.incrementalRefreshConfig !== undefined) {
|
|
758
789
|
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
759
790
|
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
@@ -764,6 +795,13 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
764
795
|
return new TypeError(message);
|
|
765
796
|
}
|
|
766
797
|
}
|
|
798
|
+
if (obj.incrementalTransformDevName !== undefined) {
|
|
799
|
+
const obj_incrementalTransformDevName = obj.incrementalTransformDevName;
|
|
800
|
+
const path_incrementalTransformDevName = path + '.incrementalTransformDevName';
|
|
801
|
+
if (typeof obj_incrementalTransformDevName !== 'string') {
|
|
802
|
+
return new TypeError('Expected "string" but received "' + typeof obj_incrementalTransformDevName + '" (at "' + path_incrementalTransformDevName + '")');
|
|
803
|
+
}
|
|
804
|
+
}
|
|
767
805
|
if (obj.isRecordCachingDisabled !== undefined) {
|
|
768
806
|
const obj_isRecordCachingDisabled = obj.isRecordCachingDisabled;
|
|
769
807
|
const path_isRecordCachingDisabled = path + '.isRecordCachingDisabled';
|
|
@@ -785,6 +823,11 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
785
823
|
return new TypeError('Expected "integer" but received "' + typeof obj_maxRecordsCached + '" (at "' + path_maxRecordsCached + '")');
|
|
786
824
|
}
|
|
787
825
|
}
|
|
826
|
+
const obj_primaryObjectLabel = obj.primaryObjectLabel;
|
|
827
|
+
const path_primaryObjectLabel = path + '.primaryObjectLabel';
|
|
828
|
+
if (typeof obj_primaryObjectLabel !== 'string') {
|
|
829
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectLabel + '" (at "' + path_primaryObjectLabel + '")');
|
|
830
|
+
}
|
|
788
831
|
const obj_primaryObjectName = obj.primaryObjectName;
|
|
789
832
|
const path_primaryObjectName = path + '.primaryObjectName';
|
|
790
833
|
if (typeof obj_primaryObjectName !== 'string') {
|
|
@@ -824,6 +867,11 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
824
867
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
825
868
|
}
|
|
826
869
|
}
|
|
870
|
+
const obj_valuesDmoLabel = obj.valuesDmoLabel;
|
|
871
|
+
const path_valuesDmoLabel = path + '.valuesDmoLabel';
|
|
872
|
+
if (typeof obj_valuesDmoLabel !== 'string') {
|
|
873
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valuesDmoLabel + '" (at "' + path_valuesDmoLabel + '")');
|
|
874
|
+
}
|
|
827
875
|
const obj_valuesDmoName = obj.valuesDmoName;
|
|
828
876
|
const path_valuesDmoName = path + '.valuesDmoName';
|
|
829
877
|
if (typeof obj_valuesDmoName !== 'string') {
|
|
@@ -911,16 +959,73 @@ function equals$3(existing, incoming) {
|
|
|
911
959
|
return false;
|
|
912
960
|
}
|
|
913
961
|
}
|
|
962
|
+
const existing_dayZeroMappingDevName = existing.dayZeroMappingDevName;
|
|
963
|
+
const incoming_dayZeroMappingDevName = incoming.dayZeroMappingDevName;
|
|
964
|
+
// if at least one of these optionals is defined
|
|
965
|
+
if (existing_dayZeroMappingDevName !== undefined || incoming_dayZeroMappingDevName !== undefined) {
|
|
966
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
967
|
+
// not equal
|
|
968
|
+
if (existing_dayZeroMappingDevName === undefined || incoming_dayZeroMappingDevName === undefined) {
|
|
969
|
+
return false;
|
|
970
|
+
}
|
|
971
|
+
if (!(existing_dayZeroMappingDevName === incoming_dayZeroMappingDevName)) {
|
|
972
|
+
return false;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
const existing_dayZeroTransformDevName = existing.dayZeroTransformDevName;
|
|
976
|
+
const incoming_dayZeroTransformDevName = incoming.dayZeroTransformDevName;
|
|
977
|
+
// if at least one of these optionals is defined
|
|
978
|
+
if (existing_dayZeroTransformDevName !== undefined || incoming_dayZeroTransformDevName !== undefined) {
|
|
979
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
980
|
+
// not equal
|
|
981
|
+
if (existing_dayZeroTransformDevName === undefined || incoming_dayZeroTransformDevName === undefined) {
|
|
982
|
+
return false;
|
|
983
|
+
}
|
|
984
|
+
if (!(existing_dayZeroTransformDevName === incoming_dayZeroTransformDevName)) {
|
|
985
|
+
return false;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
914
988
|
const existing_extendedProperties = existing.extendedProperties;
|
|
915
989
|
const incoming_extendedProperties = incoming.extendedProperties;
|
|
916
990
|
if (!(existing_extendedProperties === incoming_extendedProperties)) {
|
|
917
991
|
return false;
|
|
918
992
|
}
|
|
993
|
+
const existing_idDmoLabel = existing.idDmoLabel;
|
|
994
|
+
const incoming_idDmoLabel = incoming.idDmoLabel;
|
|
995
|
+
if (!(existing_idDmoLabel === incoming_idDmoLabel)) {
|
|
996
|
+
return false;
|
|
997
|
+
}
|
|
919
998
|
const existing_idDmoName = existing.idDmoName;
|
|
920
999
|
const incoming_idDmoName = incoming.idDmoName;
|
|
921
1000
|
if (!(existing_idDmoName === incoming_idDmoName)) {
|
|
922
1001
|
return false;
|
|
923
1002
|
}
|
|
1003
|
+
const existing_incrementalMappingDevName = existing.incrementalMappingDevName;
|
|
1004
|
+
const incoming_incrementalMappingDevName = incoming.incrementalMappingDevName;
|
|
1005
|
+
// if at least one of these optionals is defined
|
|
1006
|
+
if (existing_incrementalMappingDevName !== undefined || incoming_incrementalMappingDevName !== undefined) {
|
|
1007
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1008
|
+
// not equal
|
|
1009
|
+
if (existing_incrementalMappingDevName === undefined || incoming_incrementalMappingDevName === undefined) {
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
if (!(existing_incrementalMappingDevName === incoming_incrementalMappingDevName)) {
|
|
1013
|
+
return false;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
const existing_incrementalTransformDevName = existing.incrementalTransformDevName;
|
|
1017
|
+
const incoming_incrementalTransformDevName = incoming.incrementalTransformDevName;
|
|
1018
|
+
// if at least one of these optionals is defined
|
|
1019
|
+
if (existing_incrementalTransformDevName !== undefined || incoming_incrementalTransformDevName !== undefined) {
|
|
1020
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1021
|
+
// not equal
|
|
1022
|
+
if (existing_incrementalTransformDevName === undefined || incoming_incrementalTransformDevName === undefined) {
|
|
1023
|
+
return false;
|
|
1024
|
+
}
|
|
1025
|
+
if (!(existing_incrementalTransformDevName === incoming_incrementalTransformDevName)) {
|
|
1026
|
+
return false;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
924
1029
|
const existing_lastRunStatus = existing.lastRunStatus;
|
|
925
1030
|
const incoming_lastRunStatus = incoming.lastRunStatus;
|
|
926
1031
|
// if at least one of these optionals is defined
|
|
@@ -934,6 +1039,11 @@ function equals$3(existing, incoming) {
|
|
|
934
1039
|
return false;
|
|
935
1040
|
}
|
|
936
1041
|
}
|
|
1042
|
+
const existing_primaryObjectLabel = existing.primaryObjectLabel;
|
|
1043
|
+
const incoming_primaryObjectLabel = incoming.primaryObjectLabel;
|
|
1044
|
+
if (!(existing_primaryObjectLabel === incoming_primaryObjectLabel)) {
|
|
1045
|
+
return false;
|
|
1046
|
+
}
|
|
937
1047
|
const existing_primaryObjectName = existing.primaryObjectName;
|
|
938
1048
|
const incoming_primaryObjectName = incoming.primaryObjectName;
|
|
939
1049
|
if (!(existing_primaryObjectName === incoming_primaryObjectName)) {
|
|
@@ -970,6 +1080,11 @@ function equals$3(existing, incoming) {
|
|
|
970
1080
|
return false;
|
|
971
1081
|
}
|
|
972
1082
|
}
|
|
1083
|
+
const existing_valuesDmoLabel = existing.valuesDmoLabel;
|
|
1084
|
+
const incoming_valuesDmoLabel = incoming.valuesDmoLabel;
|
|
1085
|
+
if (!(existing_valuesDmoLabel === incoming_valuesDmoLabel)) {
|
|
1086
|
+
return false;
|
|
1087
|
+
}
|
|
973
1088
|
const existing_valuesDmoName = existing.valuesDmoName;
|
|
974
1089
|
const incoming_valuesDmoName = incoming.valuesDmoName;
|
|
975
1090
|
if (!(existing_valuesDmoName === incoming_valuesDmoName)) {
|
|
@@ -3,7 +3,7 @@ import { DataGraphFullRefreshConfigOutputRepresentation as DataGraphFullRefreshC
|
|
|
3
3
|
import { DataGraphIncrementalRefreshConfigOutputRepresentation as DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation } from './DataGraphIncrementalRefreshConfigOutputRepresentation';
|
|
4
4
|
import { CdpDataGraphSourceObjectOutputRepresentation as CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation } from './CdpDataGraphSourceObjectOutputRepresentation';
|
|
5
5
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "ccd13e03e8f6e27eb6bd501431822554";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: Parameters<typeof CdpObjectBaseOutputRepresentation_keyBuilder>[1]): string;
|
|
@@ -24,18 +24,30 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
24
24
|
export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBaseOutputRepresentation_CdpObjectBaseOutputRepresentation {
|
|
25
25
|
/** No of days last accessed records are cached */
|
|
26
26
|
cacheDurationInDays?: number;
|
|
27
|
+
/** Day0 dependency mapping developer name */
|
|
28
|
+
dayZeroMappingDevName?: string;
|
|
29
|
+
/** Day0 transform developer name */
|
|
30
|
+
dayZeroTransformDevName?: string;
|
|
27
31
|
/** extended properties */
|
|
28
32
|
extendedProperties: string;
|
|
29
33
|
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
34
|
+
/** id_dmo_Label */
|
|
35
|
+
idDmoLabel: string;
|
|
30
36
|
/** id_dmo_name */
|
|
31
37
|
idDmoName: string;
|
|
38
|
+
/** incremental transform developer name */
|
|
39
|
+
incrementalMappingDevName?: string;
|
|
32
40
|
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
41
|
+
/** incremental dependency mapping developer name */
|
|
42
|
+
incrementalTransformDevName?: string;
|
|
33
43
|
/** Is prefetch is disabled for given data graph */
|
|
34
44
|
isRecordCachingDisabled?: boolean;
|
|
35
45
|
/** last run status */
|
|
36
46
|
lastRunStatus?: string;
|
|
37
47
|
/** Max no of records to cache */
|
|
38
48
|
maxRecordsCached?: number;
|
|
49
|
+
/** primary object Label */
|
|
50
|
+
primaryObjectLabel: string;
|
|
39
51
|
/** primary object developer name */
|
|
40
52
|
primaryObjectName: string;
|
|
41
53
|
/** Session duration */
|
|
@@ -48,6 +60,8 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
48
60
|
status: string;
|
|
49
61
|
/** Data Graph Type */
|
|
50
62
|
type?: string;
|
|
63
|
+
/** values dmo Label */
|
|
64
|
+
valuesDmoLabel: string;
|
|
51
65
|
/** values dmo name */
|
|
52
66
|
valuesDmoName: string;
|
|
53
67
|
/** version */
|
|
@@ -61,19 +75,26 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
61
75
|
*/
|
|
62
76
|
export interface CdpDataGraphOutputRepresentation extends CdpObjectBaseOutputRepresentation_CdpObjectBaseOutputRepresentation {
|
|
63
77
|
cacheDurationInDays?: number;
|
|
78
|
+
dayZeroMappingDevName?: string;
|
|
79
|
+
dayZeroTransformDevName?: string;
|
|
64
80
|
extendedProperties: string;
|
|
65
81
|
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
82
|
+
idDmoLabel: string;
|
|
66
83
|
idDmoName: string;
|
|
84
|
+
incrementalMappingDevName?: string;
|
|
67
85
|
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
86
|
+
incrementalTransformDevName?: string;
|
|
68
87
|
isRecordCachingDisabled?: boolean;
|
|
69
88
|
lastRunStatus?: string;
|
|
70
89
|
maxRecordsCached?: number;
|
|
90
|
+
primaryObjectLabel: string;
|
|
71
91
|
primaryObjectName: string;
|
|
72
92
|
sessionEnd?: number;
|
|
73
93
|
sessionEndTimeUnit?: string;
|
|
74
94
|
sourceObject: CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation;
|
|
75
95
|
status: string;
|
|
76
96
|
type?: string;
|
|
97
|
+
valuesDmoLabel: string;
|
|
77
98
|
valuesDmoName: string;
|
|
78
99
|
version: string;
|
|
79
100
|
}
|
package/dist/es/es2018/types/src/generated/types/CdpDataGraphRelatedSegmentOutputRepresentation.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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "f21720d4349f54ba1f72346d3aa8007c";
|
|
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: CdpDataGraphRelatedSegmentOutputRepresentation, existing: CdpDataGraphRelatedSegmentOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphRelatedSegmentOutputRepresentationNormalized;
|
|
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
|
|
17
|
+
/** id */
|
|
18
|
+
id: string;
|
|
17
19
|
/** label */
|
|
18
20
|
label: string;
|
|
19
21
|
/** name */
|
|
@@ -26,6 +28,7 @@ export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
|
|
|
26
28
|
* (none)
|
|
27
29
|
*/
|
|
28
30
|
export interface CdpDataGraphRelatedSegmentOutputRepresentation {
|
|
31
|
+
id: string;
|
|
29
32
|
label: string;
|
|
30
33
|
name: string;
|
|
31
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-marketing-cdp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.306.0",
|
|
4
4
|
"description": "LDS adapters for CDP",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/marketing-cdp.js",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:unit": "jest"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/lds-bindings": "^1.
|
|
46
|
+
"@salesforce/lds-bindings": "^1.306.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.306.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.306.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -561,6 +561,11 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
|
|
|
561
561
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
562
562
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
563
563
|
}
|
|
564
|
+
const obj_id = obj.id;
|
|
565
|
+
const path_id = path + '.id';
|
|
566
|
+
if (typeof obj_id !== 'string') {
|
|
567
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
568
|
+
}
|
|
564
569
|
const obj_label = obj.label;
|
|
565
570
|
const path_label = path + '.label';
|
|
566
571
|
if (typeof obj_label !== 'string') {
|
|
@@ -727,7 +732,7 @@ function equals$4(existing, incoming) {
|
|
|
727
732
|
return true;
|
|
728
733
|
}
|
|
729
734
|
|
|
730
|
-
const VERSION$3 = "
|
|
735
|
+
const VERSION$3 = "ccd13e03e8f6e27eb6bd501431822554";
|
|
731
736
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
732
737
|
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
733
738
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
@@ -744,6 +749,20 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
744
749
|
return new TypeError('Expected "integer" but received "' + typeof obj_cacheDurationInDays + '" (at "' + path_cacheDurationInDays + '")');
|
|
745
750
|
}
|
|
746
751
|
}
|
|
752
|
+
if (obj.dayZeroMappingDevName !== undefined) {
|
|
753
|
+
const obj_dayZeroMappingDevName = obj.dayZeroMappingDevName;
|
|
754
|
+
const path_dayZeroMappingDevName = path + '.dayZeroMappingDevName';
|
|
755
|
+
if (typeof obj_dayZeroMappingDevName !== 'string') {
|
|
756
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayZeroMappingDevName + '" (at "' + path_dayZeroMappingDevName + '")');
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
if (obj.dayZeroTransformDevName !== undefined) {
|
|
760
|
+
const obj_dayZeroTransformDevName = obj.dayZeroTransformDevName;
|
|
761
|
+
const path_dayZeroTransformDevName = path + '.dayZeroTransformDevName';
|
|
762
|
+
if (typeof obj_dayZeroTransformDevName !== 'string') {
|
|
763
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dayZeroTransformDevName + '" (at "' + path_dayZeroTransformDevName + '")');
|
|
764
|
+
}
|
|
765
|
+
}
|
|
747
766
|
const obj_extendedProperties = obj.extendedProperties;
|
|
748
767
|
const path_extendedProperties = path + '.extendedProperties';
|
|
749
768
|
if (typeof obj_extendedProperties !== 'string') {
|
|
@@ -759,11 +778,23 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
759
778
|
return new TypeError(message);
|
|
760
779
|
}
|
|
761
780
|
}
|
|
781
|
+
const obj_idDmoLabel = obj.idDmoLabel;
|
|
782
|
+
const path_idDmoLabel = path + '.idDmoLabel';
|
|
783
|
+
if (typeof obj_idDmoLabel !== 'string') {
|
|
784
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoLabel + '" (at "' + path_idDmoLabel + '")');
|
|
785
|
+
}
|
|
762
786
|
const obj_idDmoName = obj.idDmoName;
|
|
763
787
|
const path_idDmoName = path + '.idDmoName';
|
|
764
788
|
if (typeof obj_idDmoName !== 'string') {
|
|
765
789
|
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
766
790
|
}
|
|
791
|
+
if (obj.incrementalMappingDevName !== undefined) {
|
|
792
|
+
const obj_incrementalMappingDevName = obj.incrementalMappingDevName;
|
|
793
|
+
const path_incrementalMappingDevName = path + '.incrementalMappingDevName';
|
|
794
|
+
if (typeof obj_incrementalMappingDevName !== 'string') {
|
|
795
|
+
return new TypeError('Expected "string" but received "' + typeof obj_incrementalMappingDevName + '" (at "' + path_incrementalMappingDevName + '")');
|
|
796
|
+
}
|
|
797
|
+
}
|
|
767
798
|
if (obj.incrementalRefreshConfig !== undefined) {
|
|
768
799
|
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
769
800
|
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
@@ -774,6 +805,13 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
774
805
|
return new TypeError(message);
|
|
775
806
|
}
|
|
776
807
|
}
|
|
808
|
+
if (obj.incrementalTransformDevName !== undefined) {
|
|
809
|
+
const obj_incrementalTransformDevName = obj.incrementalTransformDevName;
|
|
810
|
+
const path_incrementalTransformDevName = path + '.incrementalTransformDevName';
|
|
811
|
+
if (typeof obj_incrementalTransformDevName !== 'string') {
|
|
812
|
+
return new TypeError('Expected "string" but received "' + typeof obj_incrementalTransformDevName + '" (at "' + path_incrementalTransformDevName + '")');
|
|
813
|
+
}
|
|
814
|
+
}
|
|
777
815
|
if (obj.isRecordCachingDisabled !== undefined) {
|
|
778
816
|
const obj_isRecordCachingDisabled = obj.isRecordCachingDisabled;
|
|
779
817
|
const path_isRecordCachingDisabled = path + '.isRecordCachingDisabled';
|
|
@@ -795,6 +833,11 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
795
833
|
return new TypeError('Expected "integer" but received "' + typeof obj_maxRecordsCached + '" (at "' + path_maxRecordsCached + '")');
|
|
796
834
|
}
|
|
797
835
|
}
|
|
836
|
+
const obj_primaryObjectLabel = obj.primaryObjectLabel;
|
|
837
|
+
const path_primaryObjectLabel = path + '.primaryObjectLabel';
|
|
838
|
+
if (typeof obj_primaryObjectLabel !== 'string') {
|
|
839
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectLabel + '" (at "' + path_primaryObjectLabel + '")');
|
|
840
|
+
}
|
|
798
841
|
const obj_primaryObjectName = obj.primaryObjectName;
|
|
799
842
|
const path_primaryObjectName = path + '.primaryObjectName';
|
|
800
843
|
if (typeof obj_primaryObjectName !== 'string') {
|
|
@@ -834,6 +877,11 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
834
877
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
835
878
|
}
|
|
836
879
|
}
|
|
880
|
+
const obj_valuesDmoLabel = obj.valuesDmoLabel;
|
|
881
|
+
const path_valuesDmoLabel = path + '.valuesDmoLabel';
|
|
882
|
+
if (typeof obj_valuesDmoLabel !== 'string') {
|
|
883
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valuesDmoLabel + '" (at "' + path_valuesDmoLabel + '")');
|
|
884
|
+
}
|
|
837
885
|
const obj_valuesDmoName = obj.valuesDmoName;
|
|
838
886
|
const path_valuesDmoName = path + '.valuesDmoName';
|
|
839
887
|
if (typeof obj_valuesDmoName !== 'string') {
|
|
@@ -921,16 +969,73 @@ function equals$3(existing, incoming) {
|
|
|
921
969
|
return false;
|
|
922
970
|
}
|
|
923
971
|
}
|
|
972
|
+
const existing_dayZeroMappingDevName = existing.dayZeroMappingDevName;
|
|
973
|
+
const incoming_dayZeroMappingDevName = incoming.dayZeroMappingDevName;
|
|
974
|
+
// if at least one of these optionals is defined
|
|
975
|
+
if (existing_dayZeroMappingDevName !== undefined || incoming_dayZeroMappingDevName !== undefined) {
|
|
976
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
977
|
+
// not equal
|
|
978
|
+
if (existing_dayZeroMappingDevName === undefined || incoming_dayZeroMappingDevName === undefined) {
|
|
979
|
+
return false;
|
|
980
|
+
}
|
|
981
|
+
if (!(existing_dayZeroMappingDevName === incoming_dayZeroMappingDevName)) {
|
|
982
|
+
return false;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
const existing_dayZeroTransformDevName = existing.dayZeroTransformDevName;
|
|
986
|
+
const incoming_dayZeroTransformDevName = incoming.dayZeroTransformDevName;
|
|
987
|
+
// if at least one of these optionals is defined
|
|
988
|
+
if (existing_dayZeroTransformDevName !== undefined || incoming_dayZeroTransformDevName !== undefined) {
|
|
989
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
990
|
+
// not equal
|
|
991
|
+
if (existing_dayZeroTransformDevName === undefined || incoming_dayZeroTransformDevName === undefined) {
|
|
992
|
+
return false;
|
|
993
|
+
}
|
|
994
|
+
if (!(existing_dayZeroTransformDevName === incoming_dayZeroTransformDevName)) {
|
|
995
|
+
return false;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
924
998
|
const existing_extendedProperties = existing.extendedProperties;
|
|
925
999
|
const incoming_extendedProperties = incoming.extendedProperties;
|
|
926
1000
|
if (!(existing_extendedProperties === incoming_extendedProperties)) {
|
|
927
1001
|
return false;
|
|
928
1002
|
}
|
|
1003
|
+
const existing_idDmoLabel = existing.idDmoLabel;
|
|
1004
|
+
const incoming_idDmoLabel = incoming.idDmoLabel;
|
|
1005
|
+
if (!(existing_idDmoLabel === incoming_idDmoLabel)) {
|
|
1006
|
+
return false;
|
|
1007
|
+
}
|
|
929
1008
|
const existing_idDmoName = existing.idDmoName;
|
|
930
1009
|
const incoming_idDmoName = incoming.idDmoName;
|
|
931
1010
|
if (!(existing_idDmoName === incoming_idDmoName)) {
|
|
932
1011
|
return false;
|
|
933
1012
|
}
|
|
1013
|
+
const existing_incrementalMappingDevName = existing.incrementalMappingDevName;
|
|
1014
|
+
const incoming_incrementalMappingDevName = incoming.incrementalMappingDevName;
|
|
1015
|
+
// if at least one of these optionals is defined
|
|
1016
|
+
if (existing_incrementalMappingDevName !== undefined || incoming_incrementalMappingDevName !== undefined) {
|
|
1017
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1018
|
+
// not equal
|
|
1019
|
+
if (existing_incrementalMappingDevName === undefined || incoming_incrementalMappingDevName === undefined) {
|
|
1020
|
+
return false;
|
|
1021
|
+
}
|
|
1022
|
+
if (!(existing_incrementalMappingDevName === incoming_incrementalMappingDevName)) {
|
|
1023
|
+
return false;
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
const existing_incrementalTransformDevName = existing.incrementalTransformDevName;
|
|
1027
|
+
const incoming_incrementalTransformDevName = incoming.incrementalTransformDevName;
|
|
1028
|
+
// if at least one of these optionals is defined
|
|
1029
|
+
if (existing_incrementalTransformDevName !== undefined || incoming_incrementalTransformDevName !== undefined) {
|
|
1030
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1031
|
+
// not equal
|
|
1032
|
+
if (existing_incrementalTransformDevName === undefined || incoming_incrementalTransformDevName === undefined) {
|
|
1033
|
+
return false;
|
|
1034
|
+
}
|
|
1035
|
+
if (!(existing_incrementalTransformDevName === incoming_incrementalTransformDevName)) {
|
|
1036
|
+
return false;
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
934
1039
|
const existing_lastRunStatus = existing.lastRunStatus;
|
|
935
1040
|
const incoming_lastRunStatus = incoming.lastRunStatus;
|
|
936
1041
|
// if at least one of these optionals is defined
|
|
@@ -944,6 +1049,11 @@ function equals$3(existing, incoming) {
|
|
|
944
1049
|
return false;
|
|
945
1050
|
}
|
|
946
1051
|
}
|
|
1052
|
+
const existing_primaryObjectLabel = existing.primaryObjectLabel;
|
|
1053
|
+
const incoming_primaryObjectLabel = incoming.primaryObjectLabel;
|
|
1054
|
+
if (!(existing_primaryObjectLabel === incoming_primaryObjectLabel)) {
|
|
1055
|
+
return false;
|
|
1056
|
+
}
|
|
947
1057
|
const existing_primaryObjectName = existing.primaryObjectName;
|
|
948
1058
|
const incoming_primaryObjectName = incoming.primaryObjectName;
|
|
949
1059
|
if (!(existing_primaryObjectName === incoming_primaryObjectName)) {
|
|
@@ -980,6 +1090,11 @@ function equals$3(existing, incoming) {
|
|
|
980
1090
|
return false;
|
|
981
1091
|
}
|
|
982
1092
|
}
|
|
1093
|
+
const existing_valuesDmoLabel = existing.valuesDmoLabel;
|
|
1094
|
+
const incoming_valuesDmoLabel = incoming.valuesDmoLabel;
|
|
1095
|
+
if (!(existing_valuesDmoLabel === incoming_valuesDmoLabel)) {
|
|
1096
|
+
return false;
|
|
1097
|
+
}
|
|
983
1098
|
const existing_valuesDmoName = existing.valuesDmoName;
|
|
984
1099
|
const incoming_valuesDmoName = incoming.valuesDmoName;
|
|
985
1100
|
if (!(existing_valuesDmoName === incoming_valuesDmoName)) {
|
|
@@ -2343,4 +2458,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2343
2458
|
});
|
|
2344
2459
|
|
|
2345
2460
|
export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
|
|
2346
|
-
// version: 1.
|
|
2461
|
+
// version: 1.306.0-c047984840
|
package/src/raml/api.raml
CHANGED
|
@@ -310,16 +310,38 @@ types:
|
|
|
310
310
|
description: Represents Cdp Data Graph Output
|
|
311
311
|
type: CdpObjectBaseOutputRepresentation
|
|
312
312
|
properties:
|
|
313
|
+
dayZeroMappingDevName:
|
|
314
|
+
description: Day0 dependency mapping developer name
|
|
315
|
+
type: string
|
|
316
|
+
required: false
|
|
317
|
+
dayZeroTransformDevName:
|
|
318
|
+
description: Day0 transform developer name
|
|
319
|
+
type: string
|
|
320
|
+
required: false
|
|
313
321
|
extendedProperties:
|
|
314
322
|
description: extended properties
|
|
315
323
|
type: string
|
|
324
|
+
idDmoLabel:
|
|
325
|
+
description: id_dmo_Label
|
|
326
|
+
type: string
|
|
316
327
|
idDmoName:
|
|
317
328
|
description: id_dmo_name
|
|
318
329
|
type: string
|
|
330
|
+
incrementalMappingDevName:
|
|
331
|
+
description: incremental transform developer name
|
|
332
|
+
type: string
|
|
333
|
+
required: false
|
|
334
|
+
incrementalTransformDevName:
|
|
335
|
+
description: incremental dependency mapping developer name
|
|
336
|
+
type: string
|
|
337
|
+
required: false
|
|
319
338
|
lastRunStatus:
|
|
320
339
|
description: last run status
|
|
321
340
|
type: string
|
|
322
341
|
required: false
|
|
342
|
+
primaryObjectLabel:
|
|
343
|
+
description: primary object Label
|
|
344
|
+
type: string
|
|
323
345
|
primaryObjectName:
|
|
324
346
|
description: primary object developer name
|
|
325
347
|
type: string
|
|
@@ -329,6 +351,9 @@ types:
|
|
|
329
351
|
status:
|
|
330
352
|
description: status
|
|
331
353
|
type: string
|
|
354
|
+
valuesDmoLabel:
|
|
355
|
+
description: values dmo Label
|
|
356
|
+
type: string
|
|
332
357
|
valuesDmoName:
|
|
333
358
|
description: values dmo name
|
|
334
359
|
type: string
|
|
@@ -435,6 +460,9 @@ types:
|
|
|
435
460
|
description: Represents Data Graph Related Segment
|
|
436
461
|
type: object
|
|
437
462
|
properties:
|
|
463
|
+
id:
|
|
464
|
+
description: id
|
|
465
|
+
type: string
|
|
438
466
|
name:
|
|
439
467
|
description: name
|
|
440
468
|
type: string
|