@salesforce/lds-adapters-marketing-cdp 1.307.0 → 1.308.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 +73 -30
- package/dist/es/es2018/types/src/generated/adapters/editDataGraph.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotDataGraphs.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphOutputRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphRelatedSegmentOutputRepresentation.d.ts +3 -3
- package/package.json +4 -4
- package/sfdc/index.js +74 -31
- package/src/raml/api.raml +9 -0
|
@@ -551,10 +551,12 @@ 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
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
554
|
+
if (obj.id !== undefined) {
|
|
555
|
+
const obj_id = obj.id;
|
|
556
|
+
const path_id = path + '.id';
|
|
557
|
+
if (typeof obj_id !== 'string') {
|
|
558
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
559
|
+
}
|
|
558
560
|
}
|
|
559
561
|
const obj_label = obj.label;
|
|
560
562
|
const path_label = path + '.label';
|
|
@@ -722,7 +724,7 @@ function equals$4(existing, incoming) {
|
|
|
722
724
|
return true;
|
|
723
725
|
}
|
|
724
726
|
|
|
725
|
-
const VERSION$3 = "
|
|
727
|
+
const VERSION$3 = "889a3dcf81525ec28e80f673fa8e8eb5";
|
|
726
728
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
727
729
|
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
728
730
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
@@ -768,15 +770,19 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
768
770
|
return new TypeError(message);
|
|
769
771
|
}
|
|
770
772
|
}
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
773
|
+
if (obj.idDmoLabel !== undefined) {
|
|
774
|
+
const obj_idDmoLabel = obj.idDmoLabel;
|
|
775
|
+
const path_idDmoLabel = path + '.idDmoLabel';
|
|
776
|
+
if (typeof obj_idDmoLabel !== 'string') {
|
|
777
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoLabel + '" (at "' + path_idDmoLabel + '")');
|
|
778
|
+
}
|
|
775
779
|
}
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
+
if (obj.idDmoName !== undefined) {
|
|
781
|
+
const obj_idDmoName = obj.idDmoName;
|
|
782
|
+
const path_idDmoName = path + '.idDmoName';
|
|
783
|
+
if (typeof obj_idDmoName !== 'string') {
|
|
784
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
785
|
+
}
|
|
780
786
|
}
|
|
781
787
|
if (obj.incrementalMappingDevName !== undefined) {
|
|
782
788
|
const obj_incrementalMappingDevName = obj.incrementalMappingDevName;
|
|
@@ -823,10 +829,12 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
823
829
|
return new TypeError('Expected "integer" but received "' + typeof obj_maxRecordsCached + '" (at "' + path_maxRecordsCached + '")');
|
|
824
830
|
}
|
|
825
831
|
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
832
|
+
if (obj.primaryObjectLabel !== undefined) {
|
|
833
|
+
const obj_primaryObjectLabel = obj.primaryObjectLabel;
|
|
834
|
+
const path_primaryObjectLabel = path + '.primaryObjectLabel';
|
|
835
|
+
if (typeof obj_primaryObjectLabel !== 'string') {
|
|
836
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectLabel + '" (at "' + path_primaryObjectLabel + '")');
|
|
837
|
+
}
|
|
830
838
|
}
|
|
831
839
|
const obj_primaryObjectName = obj.primaryObjectName;
|
|
832
840
|
const path_primaryObjectName = path + '.primaryObjectName';
|
|
@@ -867,10 +875,12 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
867
875
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
868
876
|
}
|
|
869
877
|
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
878
|
+
if (obj.valuesDmoLabel !== undefined) {
|
|
879
|
+
const obj_valuesDmoLabel = obj.valuesDmoLabel;
|
|
880
|
+
const path_valuesDmoLabel = path + '.valuesDmoLabel';
|
|
881
|
+
if (typeof obj_valuesDmoLabel !== 'string') {
|
|
882
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valuesDmoLabel + '" (at "' + path_valuesDmoLabel + '")');
|
|
883
|
+
}
|
|
874
884
|
}
|
|
875
885
|
const obj_valuesDmoName = obj.valuesDmoName;
|
|
876
886
|
const path_valuesDmoName = path + '.valuesDmoName';
|
|
@@ -992,13 +1002,29 @@ function equals$3(existing, incoming) {
|
|
|
992
1002
|
}
|
|
993
1003
|
const existing_idDmoLabel = existing.idDmoLabel;
|
|
994
1004
|
const incoming_idDmoLabel = incoming.idDmoLabel;
|
|
995
|
-
if
|
|
996
|
-
|
|
1005
|
+
// if at least one of these optionals is defined
|
|
1006
|
+
if (existing_idDmoLabel !== undefined || incoming_idDmoLabel !== undefined) {
|
|
1007
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1008
|
+
// not equal
|
|
1009
|
+
if (existing_idDmoLabel === undefined || incoming_idDmoLabel === undefined) {
|
|
1010
|
+
return false;
|
|
1011
|
+
}
|
|
1012
|
+
if (!(existing_idDmoLabel === incoming_idDmoLabel)) {
|
|
1013
|
+
return false;
|
|
1014
|
+
}
|
|
997
1015
|
}
|
|
998
1016
|
const existing_idDmoName = existing.idDmoName;
|
|
999
1017
|
const incoming_idDmoName = incoming.idDmoName;
|
|
1000
|
-
if
|
|
1001
|
-
|
|
1018
|
+
// if at least one of these optionals is defined
|
|
1019
|
+
if (existing_idDmoName !== undefined || incoming_idDmoName !== undefined) {
|
|
1020
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1021
|
+
// not equal
|
|
1022
|
+
if (existing_idDmoName === undefined || incoming_idDmoName === undefined) {
|
|
1023
|
+
return false;
|
|
1024
|
+
}
|
|
1025
|
+
if (!(existing_idDmoName === incoming_idDmoName)) {
|
|
1026
|
+
return false;
|
|
1027
|
+
}
|
|
1002
1028
|
}
|
|
1003
1029
|
const existing_incrementalMappingDevName = existing.incrementalMappingDevName;
|
|
1004
1030
|
const incoming_incrementalMappingDevName = incoming.incrementalMappingDevName;
|
|
@@ -1041,8 +1067,16 @@ function equals$3(existing, incoming) {
|
|
|
1041
1067
|
}
|
|
1042
1068
|
const existing_primaryObjectLabel = existing.primaryObjectLabel;
|
|
1043
1069
|
const incoming_primaryObjectLabel = incoming.primaryObjectLabel;
|
|
1044
|
-
if
|
|
1045
|
-
|
|
1070
|
+
// if at least one of these optionals is defined
|
|
1071
|
+
if (existing_primaryObjectLabel !== undefined || incoming_primaryObjectLabel !== undefined) {
|
|
1072
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1073
|
+
// not equal
|
|
1074
|
+
if (existing_primaryObjectLabel === undefined || incoming_primaryObjectLabel === undefined) {
|
|
1075
|
+
return false;
|
|
1076
|
+
}
|
|
1077
|
+
if (!(existing_primaryObjectLabel === incoming_primaryObjectLabel)) {
|
|
1078
|
+
return false;
|
|
1079
|
+
}
|
|
1046
1080
|
}
|
|
1047
1081
|
const existing_primaryObjectName = existing.primaryObjectName;
|
|
1048
1082
|
const incoming_primaryObjectName = incoming.primaryObjectName;
|
|
@@ -1082,8 +1116,16 @@ function equals$3(existing, incoming) {
|
|
|
1082
1116
|
}
|
|
1083
1117
|
const existing_valuesDmoLabel = existing.valuesDmoLabel;
|
|
1084
1118
|
const incoming_valuesDmoLabel = incoming.valuesDmoLabel;
|
|
1085
|
-
if
|
|
1086
|
-
|
|
1119
|
+
// if at least one of these optionals is defined
|
|
1120
|
+
if (existing_valuesDmoLabel !== undefined || incoming_valuesDmoLabel !== undefined) {
|
|
1121
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1122
|
+
// not equal
|
|
1123
|
+
if (existing_valuesDmoLabel === undefined || incoming_valuesDmoLabel === undefined) {
|
|
1124
|
+
return false;
|
|
1125
|
+
}
|
|
1126
|
+
if (!(existing_valuesDmoLabel === incoming_valuesDmoLabel)) {
|
|
1127
|
+
return false;
|
|
1128
|
+
}
|
|
1087
1129
|
}
|
|
1088
1130
|
const existing_valuesDmoName = existing.valuesDmoName;
|
|
1089
1131
|
const incoming_valuesDmoName = incoming.valuesDmoName;
|
|
@@ -1296,7 +1338,7 @@ function createResourceRequest$6(config) {
|
|
|
1296
1338
|
method: 'put',
|
|
1297
1339
|
body: config.body,
|
|
1298
1340
|
urlParams: {},
|
|
1299
|
-
queryParams:
|
|
1341
|
+
queryParams: config.queryParams,
|
|
1300
1342
|
headers,
|
|
1301
1343
|
priority: 'normal',
|
|
1302
1344
|
};
|
|
@@ -1304,6 +1346,7 @@ function createResourceRequest$6(config) {
|
|
|
1304
1346
|
|
|
1305
1347
|
const adapterName$6 = 'editDataGraph';
|
|
1306
1348
|
const editDataGraph_ConfigPropertyMetadata = [
|
|
1349
|
+
generateParamConfigMetadata('editScheduleOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1307
1350
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
1308
1351
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1309
1352
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
@@ -8,6 +8,7 @@ export declare const adapterName = "editDataGraph";
|
|
|
8
8
|
export declare const editDataGraph_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
9
|
export declare const editDataGraph_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
10
|
export interface EditDataGraphConfig {
|
|
11
|
+
editScheduleOnly?: boolean;
|
|
11
12
|
dataspaceName?: string;
|
|
12
13
|
description?: string;
|
|
13
14
|
label?: string;
|
|
@@ -3,6 +3,9 @@ import { DataGraphIncrementalRefreshConfigInputRepresentation as types_DataGraph
|
|
|
3
3
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
4
|
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
5
5
|
export interface ResourceRequestConfig {
|
|
6
|
+
queryParams: {
|
|
7
|
+
editScheduleOnly?: boolean;
|
|
8
|
+
};
|
|
6
9
|
body: {
|
|
7
10
|
dataspaceName?: string;
|
|
8
11
|
description?: string;
|
|
@@ -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 = "889a3dcf81525ec28e80f673fa8e8eb5";
|
|
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;
|
|
@@ -32,9 +32,9 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
32
32
|
extendedProperties: string;
|
|
33
33
|
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
34
34
|
/** id_dmo_Label */
|
|
35
|
-
idDmoLabel
|
|
35
|
+
idDmoLabel?: string;
|
|
36
36
|
/** id_dmo_name */
|
|
37
|
-
idDmoName
|
|
37
|
+
idDmoName?: string;
|
|
38
38
|
/** incremental transform developer name */
|
|
39
39
|
incrementalMappingDevName?: string;
|
|
40
40
|
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
@@ -47,7 +47,7 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
47
47
|
/** Max no of records to cache */
|
|
48
48
|
maxRecordsCached?: number;
|
|
49
49
|
/** primary object Label */
|
|
50
|
-
primaryObjectLabel
|
|
50
|
+
primaryObjectLabel?: string;
|
|
51
51
|
/** primary object developer name */
|
|
52
52
|
primaryObjectName: string;
|
|
53
53
|
/** Session duration */
|
|
@@ -61,7 +61,7 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
61
61
|
/** Data Graph Type */
|
|
62
62
|
type?: string;
|
|
63
63
|
/** values dmo Label */
|
|
64
|
-
valuesDmoLabel
|
|
64
|
+
valuesDmoLabel?: string;
|
|
65
65
|
/** values dmo name */
|
|
66
66
|
valuesDmoName: string;
|
|
67
67
|
/** version */
|
|
@@ -79,22 +79,22 @@ export interface CdpDataGraphOutputRepresentation extends CdpObjectBaseOutputRep
|
|
|
79
79
|
dayZeroTransformDevName?: string;
|
|
80
80
|
extendedProperties: string;
|
|
81
81
|
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
82
|
-
idDmoLabel
|
|
83
|
-
idDmoName
|
|
82
|
+
idDmoLabel?: string;
|
|
83
|
+
idDmoName?: string;
|
|
84
84
|
incrementalMappingDevName?: string;
|
|
85
85
|
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
86
86
|
incrementalTransformDevName?: string;
|
|
87
87
|
isRecordCachingDisabled?: boolean;
|
|
88
88
|
lastRunStatus?: string;
|
|
89
89
|
maxRecordsCached?: number;
|
|
90
|
-
primaryObjectLabel
|
|
90
|
+
primaryObjectLabel?: string;
|
|
91
91
|
primaryObjectName: string;
|
|
92
92
|
sessionEnd?: number;
|
|
93
93
|
sessionEndTimeUnit?: string;
|
|
94
94
|
sourceObject: CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation;
|
|
95
95
|
status: string;
|
|
96
96
|
type?: string;
|
|
97
|
-
valuesDmoLabel
|
|
97
|
+
valuesDmoLabel?: string;
|
|
98
98
|
valuesDmoName: string;
|
|
99
99
|
version: string;
|
|
100
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 = "99afedc9b36a81d18e7eb84ff1203a83";
|
|
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;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
|
|
17
17
|
/** id */
|
|
18
|
-
id
|
|
18
|
+
id?: string;
|
|
19
19
|
/** label */
|
|
20
20
|
label: string;
|
|
21
21
|
/** name */
|
|
@@ -28,7 +28,7 @@ export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
|
|
|
28
28
|
* (none)
|
|
29
29
|
*/
|
|
30
30
|
export interface CdpDataGraphRelatedSegmentOutputRepresentation {
|
|
31
|
-
id
|
|
31
|
+
id?: string;
|
|
32
32
|
label: string;
|
|
33
33
|
name: string;
|
|
34
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.308.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.308.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.308.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.308.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -561,10 +561,12 @@ 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
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
564
|
+
if (obj.id !== undefined) {
|
|
565
|
+
const obj_id = obj.id;
|
|
566
|
+
const path_id = path + '.id';
|
|
567
|
+
if (typeof obj_id !== 'string') {
|
|
568
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
569
|
+
}
|
|
568
570
|
}
|
|
569
571
|
const obj_label = obj.label;
|
|
570
572
|
const path_label = path + '.label';
|
|
@@ -732,7 +734,7 @@ function equals$4(existing, incoming) {
|
|
|
732
734
|
return true;
|
|
733
735
|
}
|
|
734
736
|
|
|
735
|
-
const VERSION$3 = "
|
|
737
|
+
const VERSION$3 = "889a3dcf81525ec28e80f673fa8e8eb5";
|
|
736
738
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
737
739
|
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
738
740
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
@@ -778,15 +780,19 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
778
780
|
return new TypeError(message);
|
|
779
781
|
}
|
|
780
782
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
783
|
+
if (obj.idDmoLabel !== undefined) {
|
|
784
|
+
const obj_idDmoLabel = obj.idDmoLabel;
|
|
785
|
+
const path_idDmoLabel = path + '.idDmoLabel';
|
|
786
|
+
if (typeof obj_idDmoLabel !== 'string') {
|
|
787
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoLabel + '" (at "' + path_idDmoLabel + '")');
|
|
788
|
+
}
|
|
785
789
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
+
if (obj.idDmoName !== undefined) {
|
|
791
|
+
const obj_idDmoName = obj.idDmoName;
|
|
792
|
+
const path_idDmoName = path + '.idDmoName';
|
|
793
|
+
if (typeof obj_idDmoName !== 'string') {
|
|
794
|
+
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
795
|
+
}
|
|
790
796
|
}
|
|
791
797
|
if (obj.incrementalMappingDevName !== undefined) {
|
|
792
798
|
const obj_incrementalMappingDevName = obj.incrementalMappingDevName;
|
|
@@ -833,10 +839,12 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
833
839
|
return new TypeError('Expected "integer" but received "' + typeof obj_maxRecordsCached + '" (at "' + path_maxRecordsCached + '")');
|
|
834
840
|
}
|
|
835
841
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
842
|
+
if (obj.primaryObjectLabel !== undefined) {
|
|
843
|
+
const obj_primaryObjectLabel = obj.primaryObjectLabel;
|
|
844
|
+
const path_primaryObjectLabel = path + '.primaryObjectLabel';
|
|
845
|
+
if (typeof obj_primaryObjectLabel !== 'string') {
|
|
846
|
+
return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectLabel + '" (at "' + path_primaryObjectLabel + '")');
|
|
847
|
+
}
|
|
840
848
|
}
|
|
841
849
|
const obj_primaryObjectName = obj.primaryObjectName;
|
|
842
850
|
const path_primaryObjectName = path + '.primaryObjectName';
|
|
@@ -877,10 +885,12 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
877
885
|
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
878
886
|
}
|
|
879
887
|
}
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
888
|
+
if (obj.valuesDmoLabel !== undefined) {
|
|
889
|
+
const obj_valuesDmoLabel = obj.valuesDmoLabel;
|
|
890
|
+
const path_valuesDmoLabel = path + '.valuesDmoLabel';
|
|
891
|
+
if (typeof obj_valuesDmoLabel !== 'string') {
|
|
892
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valuesDmoLabel + '" (at "' + path_valuesDmoLabel + '")');
|
|
893
|
+
}
|
|
884
894
|
}
|
|
885
895
|
const obj_valuesDmoName = obj.valuesDmoName;
|
|
886
896
|
const path_valuesDmoName = path + '.valuesDmoName';
|
|
@@ -1002,13 +1012,29 @@ function equals$3(existing, incoming) {
|
|
|
1002
1012
|
}
|
|
1003
1013
|
const existing_idDmoLabel = existing.idDmoLabel;
|
|
1004
1014
|
const incoming_idDmoLabel = incoming.idDmoLabel;
|
|
1005
|
-
if
|
|
1006
|
-
|
|
1015
|
+
// if at least one of these optionals is defined
|
|
1016
|
+
if (existing_idDmoLabel !== undefined || incoming_idDmoLabel !== undefined) {
|
|
1017
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1018
|
+
// not equal
|
|
1019
|
+
if (existing_idDmoLabel === undefined || incoming_idDmoLabel === undefined) {
|
|
1020
|
+
return false;
|
|
1021
|
+
}
|
|
1022
|
+
if (!(existing_idDmoLabel === incoming_idDmoLabel)) {
|
|
1023
|
+
return false;
|
|
1024
|
+
}
|
|
1007
1025
|
}
|
|
1008
1026
|
const existing_idDmoName = existing.idDmoName;
|
|
1009
1027
|
const incoming_idDmoName = incoming.idDmoName;
|
|
1010
|
-
if
|
|
1011
|
-
|
|
1028
|
+
// if at least one of these optionals is defined
|
|
1029
|
+
if (existing_idDmoName !== undefined || incoming_idDmoName !== undefined) {
|
|
1030
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1031
|
+
// not equal
|
|
1032
|
+
if (existing_idDmoName === undefined || incoming_idDmoName === undefined) {
|
|
1033
|
+
return false;
|
|
1034
|
+
}
|
|
1035
|
+
if (!(existing_idDmoName === incoming_idDmoName)) {
|
|
1036
|
+
return false;
|
|
1037
|
+
}
|
|
1012
1038
|
}
|
|
1013
1039
|
const existing_incrementalMappingDevName = existing.incrementalMappingDevName;
|
|
1014
1040
|
const incoming_incrementalMappingDevName = incoming.incrementalMappingDevName;
|
|
@@ -1051,8 +1077,16 @@ function equals$3(existing, incoming) {
|
|
|
1051
1077
|
}
|
|
1052
1078
|
const existing_primaryObjectLabel = existing.primaryObjectLabel;
|
|
1053
1079
|
const incoming_primaryObjectLabel = incoming.primaryObjectLabel;
|
|
1054
|
-
if
|
|
1055
|
-
|
|
1080
|
+
// if at least one of these optionals is defined
|
|
1081
|
+
if (existing_primaryObjectLabel !== undefined || incoming_primaryObjectLabel !== undefined) {
|
|
1082
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1083
|
+
// not equal
|
|
1084
|
+
if (existing_primaryObjectLabel === undefined || incoming_primaryObjectLabel === undefined) {
|
|
1085
|
+
return false;
|
|
1086
|
+
}
|
|
1087
|
+
if (!(existing_primaryObjectLabel === incoming_primaryObjectLabel)) {
|
|
1088
|
+
return false;
|
|
1089
|
+
}
|
|
1056
1090
|
}
|
|
1057
1091
|
const existing_primaryObjectName = existing.primaryObjectName;
|
|
1058
1092
|
const incoming_primaryObjectName = incoming.primaryObjectName;
|
|
@@ -1092,8 +1126,16 @@ function equals$3(existing, incoming) {
|
|
|
1092
1126
|
}
|
|
1093
1127
|
const existing_valuesDmoLabel = existing.valuesDmoLabel;
|
|
1094
1128
|
const incoming_valuesDmoLabel = incoming.valuesDmoLabel;
|
|
1095
|
-
if
|
|
1096
|
-
|
|
1129
|
+
// if at least one of these optionals is defined
|
|
1130
|
+
if (existing_valuesDmoLabel !== undefined || incoming_valuesDmoLabel !== undefined) {
|
|
1131
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1132
|
+
// not equal
|
|
1133
|
+
if (existing_valuesDmoLabel === undefined || incoming_valuesDmoLabel === undefined) {
|
|
1134
|
+
return false;
|
|
1135
|
+
}
|
|
1136
|
+
if (!(existing_valuesDmoLabel === incoming_valuesDmoLabel)) {
|
|
1137
|
+
return false;
|
|
1138
|
+
}
|
|
1097
1139
|
}
|
|
1098
1140
|
const existing_valuesDmoName = existing.valuesDmoName;
|
|
1099
1141
|
const incoming_valuesDmoName = incoming.valuesDmoName;
|
|
@@ -1390,7 +1432,7 @@ function createResourceRequest$5(config) {
|
|
|
1390
1432
|
method: 'put',
|
|
1391
1433
|
body: config.body,
|
|
1392
1434
|
urlParams: {},
|
|
1393
|
-
queryParams:
|
|
1435
|
+
queryParams: config.queryParams,
|
|
1394
1436
|
headers,
|
|
1395
1437
|
priority: 'normal',
|
|
1396
1438
|
};
|
|
@@ -1398,6 +1440,7 @@ function createResourceRequest$5(config) {
|
|
|
1398
1440
|
|
|
1399
1441
|
const adapterName$5 = 'editDataGraph';
|
|
1400
1442
|
const editDataGraph_ConfigPropertyMetadata = [
|
|
1443
|
+
generateParamConfigMetadata('editScheduleOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1401
1444
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
1402
1445
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1403
1446
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
@@ -2458,4 +2501,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2458
2501
|
});
|
|
2459
2502
|
|
|
2460
2503
|
export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
|
|
2461
|
-
// version: 1.
|
|
2504
|
+
// version: 1.308.0-e148a73d6a
|
package/src/raml/api.raml
CHANGED
|
@@ -324,9 +324,11 @@ types:
|
|
|
324
324
|
idDmoLabel:
|
|
325
325
|
description: id_dmo_Label
|
|
326
326
|
type: string
|
|
327
|
+
required: false
|
|
327
328
|
idDmoName:
|
|
328
329
|
description: id_dmo_name
|
|
329
330
|
type: string
|
|
331
|
+
required: false
|
|
330
332
|
incrementalMappingDevName:
|
|
331
333
|
description: incremental transform developer name
|
|
332
334
|
type: string
|
|
@@ -342,6 +344,7 @@ types:
|
|
|
342
344
|
primaryObjectLabel:
|
|
343
345
|
description: primary object Label
|
|
344
346
|
type: string
|
|
347
|
+
required: false
|
|
345
348
|
primaryObjectName:
|
|
346
349
|
description: primary object developer name
|
|
347
350
|
type: string
|
|
@@ -354,6 +357,7 @@ types:
|
|
|
354
357
|
valuesDmoLabel:
|
|
355
358
|
description: values dmo Label
|
|
356
359
|
type: string
|
|
360
|
+
required: false
|
|
357
361
|
valuesDmoName:
|
|
358
362
|
description: values dmo name
|
|
359
363
|
type: string
|
|
@@ -463,6 +467,7 @@ types:
|
|
|
463
467
|
id:
|
|
464
468
|
description: id
|
|
465
469
|
type: string
|
|
470
|
+
required: false
|
|
466
471
|
name:
|
|
467
472
|
description: name
|
|
468
473
|
type: string
|
|
@@ -617,6 +622,10 @@ types:
|
|
|
617
622
|
body:
|
|
618
623
|
application/json:
|
|
619
624
|
type: CdpDataGraphOutputRepresentation
|
|
625
|
+
queryParameters:
|
|
626
|
+
editScheduleOnly:
|
|
627
|
+
type: boolean
|
|
628
|
+
required: false
|
|
620
629
|
body:
|
|
621
630
|
application/json:
|
|
622
631
|
type: CdpDataGraphInputRepresentation
|