@salesforce/lds-adapters-marketing-cdp 1.368.0 → 1.370.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 +93 -21
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterConditionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterCriteriaInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterCriteriaOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphSourceInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphSourceObjectOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +94 -22
- package/src/raml/api.raml +65 -0
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$h(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -108,7 +108,7 @@ function validate$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation')
|
|
|
108
108
|
return v_error === undefined ? null : v_error;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
function validate$
|
|
111
|
+
function validate$g(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
|
|
112
112
|
const v_error = (() => {
|
|
113
113
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
114
114
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -124,7 +124,7 @@ function validate$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresent
|
|
|
124
124
|
return v_error === undefined ? null : v_error;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
function validate$
|
|
127
|
+
function validate$f(obj, path = 'CdpObjectBaseOutputRepresentation') {
|
|
128
128
|
const v_error = (() => {
|
|
129
129
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
130
130
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -215,7 +215,7 @@ function equals$9(existing, incoming) {
|
|
|
215
215
|
return true;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
function validate$
|
|
218
|
+
function validate$e(obj, path = 'DataGraphScheduleOutputRepresentation') {
|
|
219
219
|
const v_error = (() => {
|
|
220
220
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
221
221
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -267,7 +267,7 @@ function equals$8(existing, incoming) {
|
|
|
267
267
|
return true;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
function validate$
|
|
270
|
+
function validate$d(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
|
|
271
271
|
const v_error = (() => {
|
|
272
272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
273
273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -275,7 +275,7 @@ function validate$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation'
|
|
|
275
275
|
if (obj.schedule !== undefined) {
|
|
276
276
|
const obj_schedule = obj.schedule;
|
|
277
277
|
const path_schedule = path + '.schedule';
|
|
278
|
-
const referencepath_scheduleValidationError = validate$
|
|
278
|
+
const referencepath_scheduleValidationError = validate$e(obj_schedule, path_schedule);
|
|
279
279
|
if (referencepath_scheduleValidationError !== null) {
|
|
280
280
|
let message = 'Object doesn\'t match DataGraphScheduleOutputRepresentation (at "' + path_schedule + '")\n';
|
|
281
281
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -302,7 +302,7 @@ function equals$7(existing, incoming) {
|
|
|
302
302
|
return true;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
function validate$
|
|
305
|
+
function validate$c(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
|
|
306
306
|
const v_error = (() => {
|
|
307
307
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
308
308
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -334,7 +334,7 @@ function equals$6(existing, incoming) {
|
|
|
334
334
|
return true;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
function validate$
|
|
337
|
+
function validate$b(obj, path = 'DependencyOutputRepresentation') {
|
|
338
338
|
const v_error = (() => {
|
|
339
339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
340
340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -406,7 +406,7 @@ function equals$5(existing, incoming) {
|
|
|
406
406
|
return true;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
function validate$
|
|
409
|
+
function validate$a(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
410
410
|
const v_error = (() => {
|
|
411
411
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
412
412
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -441,7 +441,7 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
|
441
441
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
442
442
|
const obj_dependency_item = obj_dependency[i];
|
|
443
443
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
444
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
444
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
445
445
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
446
446
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
447
447
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -505,6 +505,68 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
|
505
505
|
return v_error === undefined ? null : v_error;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
function validate$9(obj, path = 'CdpDataGraphFilterConditionOutputRepresentation') {
|
|
509
|
+
const v_error = (() => {
|
|
510
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
511
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
512
|
+
}
|
|
513
|
+
const obj_fieldName = obj.fieldName;
|
|
514
|
+
const path_fieldName = path + '.fieldName';
|
|
515
|
+
if (typeof obj_fieldName !== 'string') {
|
|
516
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
|
|
517
|
+
}
|
|
518
|
+
const obj_operator = obj.operator;
|
|
519
|
+
const path_operator = path + '.operator';
|
|
520
|
+
if (typeof obj_operator !== 'string') {
|
|
521
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
522
|
+
}
|
|
523
|
+
if (obj.values !== undefined) {
|
|
524
|
+
const obj_values = obj.values;
|
|
525
|
+
const path_values = path + '.values';
|
|
526
|
+
if (!ArrayIsArray(obj_values)) {
|
|
527
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
528
|
+
}
|
|
529
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
530
|
+
const obj_values_item = obj_values[i];
|
|
531
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
532
|
+
if (typeof obj_values_item !== 'string') {
|
|
533
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
})();
|
|
538
|
+
return v_error === undefined ? null : v_error;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
function validate$8(obj, path = 'CdpDataGraphFilterCriteriaOutputRepresentation') {
|
|
542
|
+
const v_error = (() => {
|
|
543
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
544
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
545
|
+
}
|
|
546
|
+
const obj_conditions = obj.conditions;
|
|
547
|
+
const path_conditions = path + '.conditions';
|
|
548
|
+
if (!ArrayIsArray(obj_conditions)) {
|
|
549
|
+
return new TypeError('Expected "array" but received "' + typeof obj_conditions + '" (at "' + path_conditions + '")');
|
|
550
|
+
}
|
|
551
|
+
for (let i = 0; i < obj_conditions.length; i++) {
|
|
552
|
+
const obj_conditions_item = obj_conditions[i];
|
|
553
|
+
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
554
|
+
const referencepath_conditions_itemValidationError = validate$9(obj_conditions_item, path_conditions_item);
|
|
555
|
+
if (referencepath_conditions_itemValidationError !== null) {
|
|
556
|
+
let message = 'Object doesn\'t match CdpDataGraphFilterConditionOutputRepresentation (at "' + path_conditions_item + '")\n';
|
|
557
|
+
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
558
|
+
return new TypeError(message);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
const obj_operator = obj.operator;
|
|
562
|
+
const path_operator = path + '.operator';
|
|
563
|
+
if (typeof obj_operator !== 'string') {
|
|
564
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
565
|
+
}
|
|
566
|
+
})();
|
|
567
|
+
return v_error === undefined ? null : v_error;
|
|
568
|
+
}
|
|
569
|
+
|
|
508
570
|
function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
|
|
509
571
|
const v_error = (() => {
|
|
510
572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -593,7 +655,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
|
|
|
593
655
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
594
656
|
const obj_dependency_item = obj_dependency[i];
|
|
595
657
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
596
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
658
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
597
659
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
598
660
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
599
661
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -616,13 +678,23 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
|
|
|
616
678
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
617
679
|
const obj_fields_item = obj_fields[i];
|
|
618
680
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
619
|
-
const referencepath_fields_itemValidationError = validate$
|
|
681
|
+
const referencepath_fields_itemValidationError = validate$a(obj_fields_item, path_fields_item);
|
|
620
682
|
if (referencepath_fields_itemValidationError !== null) {
|
|
621
683
|
let message = 'Object doesn\'t match CdpDataGraphFieldOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
622
684
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
623
685
|
return new TypeError(message);
|
|
624
686
|
}
|
|
625
687
|
}
|
|
688
|
+
if (obj.filterCriteria !== undefined) {
|
|
689
|
+
const obj_filterCriteria = obj.filterCriteria;
|
|
690
|
+
const path_filterCriteria = path + '.filterCriteria';
|
|
691
|
+
const referencepath_filterCriteriaValidationError = validate$8(obj_filterCriteria, path_filterCriteria);
|
|
692
|
+
if (referencepath_filterCriteriaValidationError !== null) {
|
|
693
|
+
let message = 'Object doesn\'t match CdpDataGraphFilterCriteriaOutputRepresentation (at "' + path_filterCriteria + '")\n';
|
|
694
|
+
message += referencepath_filterCriteriaValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
695
|
+
return new TypeError(message);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
626
698
|
if (obj.fragmentDMOLabel !== undefined) {
|
|
627
699
|
const obj_fragmentDMOLabel = obj.fragmentDMOLabel;
|
|
628
700
|
const path_fragmentDMOLabel = path + '.fragmentDMOLabel';
|
|
@@ -733,7 +805,7 @@ function equals$4(existing, incoming) {
|
|
|
733
805
|
|
|
734
806
|
const VERSION$3 = "71e8434340c0370a30fb856ebad9a123";
|
|
735
807
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
736
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
808
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
|
|
737
809
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
738
810
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
739
811
|
}
|
|
@@ -770,7 +842,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
770
842
|
if (obj.fullRefreshConfig !== undefined) {
|
|
771
843
|
const obj_fullRefreshConfig = obj.fullRefreshConfig;
|
|
772
844
|
const path_fullRefreshConfig = path + '.fullRefreshConfig';
|
|
773
|
-
const referencepath_fullRefreshConfigValidationError = validate$
|
|
845
|
+
const referencepath_fullRefreshConfigValidationError = validate$d(obj_fullRefreshConfig, path_fullRefreshConfig);
|
|
774
846
|
if (referencepath_fullRefreshConfigValidationError !== null) {
|
|
775
847
|
let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
|
|
776
848
|
message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -801,7 +873,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
801
873
|
if (obj.incrementalRefreshConfig !== undefined) {
|
|
802
874
|
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
803
875
|
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
804
|
-
const referencepath_incrementalRefreshConfigValidationError = validate$
|
|
876
|
+
const referencepath_incrementalRefreshConfigValidationError = validate$c(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
|
|
805
877
|
if (referencepath_incrementalRefreshConfigValidationError !== null) {
|
|
806
878
|
let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
|
|
807
879
|
message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1284,12 +1356,12 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
1284
1356
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1285
1357
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1286
1358
|
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1287
|
-
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$
|
|
1359
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
|
|
1288
1360
|
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1289
1361
|
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1290
1362
|
}
|
|
1291
1363
|
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1292
|
-
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$
|
|
1364
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
|
|
1293
1365
|
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1294
1366
|
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1295
1367
|
}
|
|
@@ -1403,12 +1475,12 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
1403
1475
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1404
1476
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1405
1477
|
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1406
|
-
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$
|
|
1478
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
|
|
1407
1479
|
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1408
1480
|
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1409
1481
|
}
|
|
1410
1482
|
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1411
|
-
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$
|
|
1483
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
|
|
1412
1484
|
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1413
1485
|
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1414
1486
|
}
|
|
@@ -1841,7 +1913,7 @@ const retryDataGraphAdapterFactory = (luvio) => {
|
|
|
1841
1913
|
|
|
1842
1914
|
const VERSION$1 = "0c15cc932d3ea4f07bf6a3b0429e3520";
|
|
1843
1915
|
function validate$1(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
1844
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
1916
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
|
|
1845
1917
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
1846
1918
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
1847
1919
|
}
|
|
@@ -1857,7 +1929,7 @@ function validate$1(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
|
1857
1929
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
1858
1930
|
const obj_dependency_item = obj_dependency[i];
|
|
1859
1931
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
1860
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
1932
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
1861
1933
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
1862
1934
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
1863
1935
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterConditionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 = "48e15f150275797ded01ec86216f02e3";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CdpDataGraphFilterConditionInputRepresentation, existing: CdpDataGraphFilterConditionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFilterConditionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CdpDataGraphFilterConditionInputRepresentationNormalized, incoming: CdpDataGraphFilterConditionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphFilterConditionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Data Graph Filter Condition input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CdpDataGraphFilterConditionInputRepresentationNormalized {
|
|
17
|
+
/** field Name */
|
|
18
|
+
fieldName: string;
|
|
19
|
+
/** comparison operators for Data Graph filter conditions */
|
|
20
|
+
operator: string;
|
|
21
|
+
/** adhoc filter values */
|
|
22
|
+
values?: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Data Graph Filter Condition input representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface CdpDataGraphFilterConditionInputRepresentation {
|
|
31
|
+
fieldName: string;
|
|
32
|
+
operator: string;
|
|
33
|
+
values?: Array<string>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 = "a6089cd518ffb02d145065030cdedd34";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CdpDataGraphFilterConditionOutputRepresentation, existing: CdpDataGraphFilterConditionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFilterConditionOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CdpDataGraphFilterConditionOutputRepresentationNormalized, incoming: CdpDataGraphFilterConditionOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphFilterConditionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents Cdp Data Graph Filter Condition Output
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CdpDataGraphFilterConditionOutputRepresentationNormalized {
|
|
17
|
+
/** field API name */
|
|
18
|
+
fieldName: string;
|
|
19
|
+
/** comparison operators for Data Graph filter conditions */
|
|
20
|
+
operator: string;
|
|
21
|
+
/** Adhoc filter values */
|
|
22
|
+
values?: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Represents Cdp Data Graph Filter Condition Output
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface CdpDataGraphFilterConditionOutputRepresentation {
|
|
31
|
+
fieldName: string;
|
|
32
|
+
operator: string;
|
|
33
|
+
values?: Array<string>;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterCriteriaInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CdpDataGraphFilterConditionInputRepresentation as CdpDataGraphFilterConditionInputRepresentation_CdpDataGraphFilterConditionInputRepresentation } from './CdpDataGraphFilterConditionInputRepresentation';
|
|
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 = "a76c4cfd36f071fbe0744eef5de50304";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: CdpDataGraphFilterCriteriaInputRepresentation, existing: CdpDataGraphFilterCriteriaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFilterCriteriaInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: CdpDataGraphFilterCriteriaInputRepresentationNormalized, incoming: CdpDataGraphFilterCriteriaInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphFilterCriteriaInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Data Graph Filter Criteria input representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface CdpDataGraphFilterCriteriaInputRepresentationNormalized {
|
|
18
|
+
/** filter conditions */
|
|
19
|
+
conditions: Array<CdpDataGraphFilterConditionInputRepresentation_CdpDataGraphFilterConditionInputRepresentation>;
|
|
20
|
+
/** Filter operators to combine conditions. Example, 'And, 'Or' */
|
|
21
|
+
operator: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Data Graph Filter Criteria input representation
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface CdpDataGraphFilterCriteriaInputRepresentation {
|
|
30
|
+
conditions: Array<CdpDataGraphFilterConditionInputRepresentation_CdpDataGraphFilterConditionInputRepresentation>;
|
|
31
|
+
operator: string;
|
|
32
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CdpDataGraphFilterCriteriaOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CdpDataGraphFilterConditionOutputRepresentation as CdpDataGraphFilterConditionOutputRepresentation_CdpDataGraphFilterConditionOutputRepresentation } from './CdpDataGraphFilterConditionOutputRepresentation';
|
|
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 = "86b0e328cf129cb60e5da929d6e0e9e5";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: CdpDataGraphFilterCriteriaOutputRepresentation, existing: CdpDataGraphFilterCriteriaOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFilterCriteriaOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: CdpDataGraphFilterCriteriaOutputRepresentationNormalized, incoming: CdpDataGraphFilterCriteriaOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphFilterCriteriaOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents Cdp Data Graph Filter Criteria Output
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface CdpDataGraphFilterCriteriaOutputRepresentationNormalized {
|
|
18
|
+
/** filter conditions */
|
|
19
|
+
conditions: Array<CdpDataGraphFilterConditionOutputRepresentation_CdpDataGraphFilterConditionOutputRepresentation>;
|
|
20
|
+
/** Filter operators to combine conditions. Example, 'And, 'Or' */
|
|
21
|
+
operator: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents Cdp Data Graph Filter Criteria Output
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface CdpDataGraphFilterCriteriaOutputRepresentation {
|
|
30
|
+
conditions: Array<CdpDataGraphFilterConditionOutputRepresentation_CdpDataGraphFilterConditionOutputRepresentation>;
|
|
31
|
+
operator: string;
|
|
32
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CdpObjectBaseInputRepresentation as CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation } from './CdpObjectBaseInputRepresentation';
|
|
2
2
|
import { CdpDataGraphFieldInputRepresentation as CdpDataGraphFieldInputRepresentation_CdpDataGraphFieldInputRepresentation } from './CdpDataGraphFieldInputRepresentation';
|
|
3
|
+
import { CdpDataGraphFilterCriteriaInputRepresentation as CdpDataGraphFilterCriteriaInputRepresentation_CdpDataGraphFilterCriteriaInputRepresentation } from './CdpDataGraphFilterCriteriaInputRepresentation';
|
|
3
4
|
import { CdpDataGraphPathToParentInputRepresentation as CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation } from './CdpDataGraphPathToParentInputRepresentation';
|
|
4
5
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "2f1be6888dc40d5500a62043085f1e26";
|
|
6
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
8
|
export declare const RepresentationType: string;
|
|
8
9
|
export declare function normalize(input: CdpDataGraphSourceInputRepresentation, existing: CdpDataGraphSourceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphSourceInputRepresentationNormalized;
|
|
@@ -19,6 +20,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
19
20
|
export interface CdpDataGraphSourceInputRepresentationNormalized extends CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation {
|
|
20
21
|
/** fields */
|
|
21
22
|
fields: Array<CdpDataGraphFieldInputRepresentation_CdpDataGraphFieldInputRepresentation>;
|
|
23
|
+
filterCriteria?: CdpDataGraphFilterCriteriaInputRepresentation_CdpDataGraphFilterCriteriaInputRepresentation;
|
|
22
24
|
/** jsonPath */
|
|
23
25
|
jsonPath?: string;
|
|
24
26
|
/** path */
|
|
@@ -36,6 +38,7 @@ export interface CdpDataGraphSourceInputRepresentationNormalized extends CdpObje
|
|
|
36
38
|
*/
|
|
37
39
|
export interface CdpDataGraphSourceInputRepresentation extends CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation {
|
|
38
40
|
fields: Array<CdpDataGraphFieldInputRepresentation_CdpDataGraphFieldInputRepresentation>;
|
|
41
|
+
filterCriteria?: CdpDataGraphFilterCriteriaInputRepresentation_CdpDataGraphFilterCriteriaInputRepresentation;
|
|
39
42
|
jsonPath?: string;
|
|
40
43
|
path: Array<CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation>;
|
|
41
44
|
recencyCriteria: Array<{}>;
|
package/dist/es/es2018/types/src/generated/types/CdpDataGraphSourceObjectOutputRepresentation.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { DependencyOutputRepresentation as DependencyOutputRepresentation_DependencyOutputRepresentation } from './DependencyOutputRepresentation';
|
|
2
2
|
import { CdpDataGraphFieldOutputRepresentation as CdpDataGraphFieldOutputRepresentation_CdpDataGraphFieldOutputRepresentation } from './CdpDataGraphFieldOutputRepresentation';
|
|
3
|
+
import { CdpDataGraphFilterCriteriaOutputRepresentation as CdpDataGraphFilterCriteriaOutputRepresentation_CdpDataGraphFilterCriteriaOutputRepresentation } from './CdpDataGraphFilterCriteriaOutputRepresentation';
|
|
3
4
|
import { CdpDataGraphPathToParentOutputRepresentation as CdpDataGraphPathToParentOutputRepresentation_CdpDataGraphPathToParentOutputRepresentation } from './CdpDataGraphPathToParentOutputRepresentation';
|
|
4
5
|
import { CdpDataGraphRecencyCriteriaOutputRepresentation as CdpDataGraphRecencyCriteriaOutputRepresentation_CdpDataGraphRecencyCriteriaOutputRepresentation } from './CdpDataGraphRecencyCriteriaOutputRepresentation';
|
|
5
6
|
import { CdpDataGraphRelatedSegmentOutputRepresentation as CdpDataGraphRelatedSegmentOutputRepresentation_CdpDataGraphRelatedSegmentOutputRepresentation } from './CdpDataGraphRelatedSegmentOutputRepresentation';
|
|
6
7
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
7
|
-
export declare const VERSION = "
|
|
8
|
+
export declare const VERSION = "af38397a7f5ddaa33289be0b963f70a9";
|
|
8
9
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
10
|
export declare const RepresentationType: string;
|
|
10
11
|
export declare function normalize(input: CdpDataGraphSourceObjectOutputRepresentation, existing: CdpDataGraphSourceObjectOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphSourceObjectOutputRepresentationNormalized;
|
|
@@ -25,6 +26,7 @@ export interface CdpDataGraphSourceObjectOutputRepresentationNormalized {
|
|
|
25
26
|
devName?: string;
|
|
26
27
|
/** fields */
|
|
27
28
|
fields: Array<$64$luvio_engine_StoreLink>;
|
|
29
|
+
filterCriteria?: CdpDataGraphFilterCriteriaOutputRepresentation_CdpDataGraphFilterCriteriaOutputRepresentation;
|
|
28
30
|
/** fragmentDMOLabel */
|
|
29
31
|
fragmentDMOLabel?: string;
|
|
30
32
|
/** fragmentDMOName */
|
|
@@ -54,6 +56,7 @@ export interface CdpDataGraphSourceObjectOutputRepresentation {
|
|
|
54
56
|
dependency?: Array<DependencyOutputRepresentation_DependencyOutputRepresentation>;
|
|
55
57
|
devName?: string;
|
|
56
58
|
fields: Array<CdpDataGraphFieldOutputRepresentation_CdpDataGraphFieldOutputRepresentation>;
|
|
59
|
+
filterCriteria?: CdpDataGraphFilterCriteriaOutputRepresentation_CdpDataGraphFilterCriteriaOutputRepresentation;
|
|
57
60
|
fragmentDMOLabel?: string;
|
|
58
61
|
fragmentDMOName?: string;
|
|
59
62
|
jsonPath?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-marketing-cdp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.370.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.370.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.370.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.370.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,7 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$h(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -118,7 +118,7 @@ function validate$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation')
|
|
|
118
118
|
return v_error === undefined ? null : v_error;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
function validate$
|
|
121
|
+
function validate$g(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
|
|
122
122
|
const v_error = (() => {
|
|
123
123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
124
124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -134,7 +134,7 @@ function validate$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresent
|
|
|
134
134
|
return v_error === undefined ? null : v_error;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
function validate$
|
|
137
|
+
function validate$f(obj, path = 'CdpObjectBaseOutputRepresentation') {
|
|
138
138
|
const v_error = (() => {
|
|
139
139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
140
140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -225,7 +225,7 @@ function equals$9(existing, incoming) {
|
|
|
225
225
|
return true;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
function validate$
|
|
228
|
+
function validate$e(obj, path = 'DataGraphScheduleOutputRepresentation') {
|
|
229
229
|
const v_error = (() => {
|
|
230
230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
231
231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -277,7 +277,7 @@ function equals$8(existing, incoming) {
|
|
|
277
277
|
return true;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
function validate$
|
|
280
|
+
function validate$d(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
|
|
281
281
|
const v_error = (() => {
|
|
282
282
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
283
283
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -285,7 +285,7 @@ function validate$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation'
|
|
|
285
285
|
if (obj.schedule !== undefined) {
|
|
286
286
|
const obj_schedule = obj.schedule;
|
|
287
287
|
const path_schedule = path + '.schedule';
|
|
288
|
-
const referencepath_scheduleValidationError = validate$
|
|
288
|
+
const referencepath_scheduleValidationError = validate$e(obj_schedule, path_schedule);
|
|
289
289
|
if (referencepath_scheduleValidationError !== null) {
|
|
290
290
|
let message = 'Object doesn\'t match DataGraphScheduleOutputRepresentation (at "' + path_schedule + '")\n';
|
|
291
291
|
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -312,7 +312,7 @@ function equals$7(existing, incoming) {
|
|
|
312
312
|
return true;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
function validate$
|
|
315
|
+
function validate$c(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
|
|
316
316
|
const v_error = (() => {
|
|
317
317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
318
318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -344,7 +344,7 @@ function equals$6(existing, incoming) {
|
|
|
344
344
|
return true;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
function validate$
|
|
347
|
+
function validate$b(obj, path = 'DependencyOutputRepresentation') {
|
|
348
348
|
const v_error = (() => {
|
|
349
349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
350
350
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -416,7 +416,7 @@ function equals$5(existing, incoming) {
|
|
|
416
416
|
return true;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
function validate$
|
|
419
|
+
function validate$a(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
420
420
|
const v_error = (() => {
|
|
421
421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
422
422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -451,7 +451,7 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
|
451
451
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
452
452
|
const obj_dependency_item = obj_dependency[i];
|
|
453
453
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
454
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
454
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
455
455
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
456
456
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
457
457
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -515,6 +515,68 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
|
515
515
|
return v_error === undefined ? null : v_error;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
+
function validate$9(obj, path = 'CdpDataGraphFilterConditionOutputRepresentation') {
|
|
519
|
+
const v_error = (() => {
|
|
520
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
521
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
522
|
+
}
|
|
523
|
+
const obj_fieldName = obj.fieldName;
|
|
524
|
+
const path_fieldName = path + '.fieldName';
|
|
525
|
+
if (typeof obj_fieldName !== 'string') {
|
|
526
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
|
|
527
|
+
}
|
|
528
|
+
const obj_operator = obj.operator;
|
|
529
|
+
const path_operator = path + '.operator';
|
|
530
|
+
if (typeof obj_operator !== 'string') {
|
|
531
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
532
|
+
}
|
|
533
|
+
if (obj.values !== undefined) {
|
|
534
|
+
const obj_values = obj.values;
|
|
535
|
+
const path_values = path + '.values';
|
|
536
|
+
if (!ArrayIsArray(obj_values)) {
|
|
537
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
538
|
+
}
|
|
539
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
540
|
+
const obj_values_item = obj_values[i];
|
|
541
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
542
|
+
if (typeof obj_values_item !== 'string') {
|
|
543
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
})();
|
|
548
|
+
return v_error === undefined ? null : v_error;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
function validate$8(obj, path = 'CdpDataGraphFilterCriteriaOutputRepresentation') {
|
|
552
|
+
const v_error = (() => {
|
|
553
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
554
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
555
|
+
}
|
|
556
|
+
const obj_conditions = obj.conditions;
|
|
557
|
+
const path_conditions = path + '.conditions';
|
|
558
|
+
if (!ArrayIsArray(obj_conditions)) {
|
|
559
|
+
return new TypeError('Expected "array" but received "' + typeof obj_conditions + '" (at "' + path_conditions + '")');
|
|
560
|
+
}
|
|
561
|
+
for (let i = 0; i < obj_conditions.length; i++) {
|
|
562
|
+
const obj_conditions_item = obj_conditions[i];
|
|
563
|
+
const path_conditions_item = path_conditions + '[' + i + ']';
|
|
564
|
+
const referencepath_conditions_itemValidationError = validate$9(obj_conditions_item, path_conditions_item);
|
|
565
|
+
if (referencepath_conditions_itemValidationError !== null) {
|
|
566
|
+
let message = 'Object doesn\'t match CdpDataGraphFilterConditionOutputRepresentation (at "' + path_conditions_item + '")\n';
|
|
567
|
+
message += referencepath_conditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
568
|
+
return new TypeError(message);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
const obj_operator = obj.operator;
|
|
572
|
+
const path_operator = path + '.operator';
|
|
573
|
+
if (typeof obj_operator !== 'string') {
|
|
574
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
575
|
+
}
|
|
576
|
+
})();
|
|
577
|
+
return v_error === undefined ? null : v_error;
|
|
578
|
+
}
|
|
579
|
+
|
|
518
580
|
function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
|
|
519
581
|
const v_error = (() => {
|
|
520
582
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -603,7 +665,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
|
|
|
603
665
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
604
666
|
const obj_dependency_item = obj_dependency[i];
|
|
605
667
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
606
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
668
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
607
669
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
608
670
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
609
671
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -626,13 +688,23 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
|
|
|
626
688
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
627
689
|
const obj_fields_item = obj_fields[i];
|
|
628
690
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
629
|
-
const referencepath_fields_itemValidationError = validate$
|
|
691
|
+
const referencepath_fields_itemValidationError = validate$a(obj_fields_item, path_fields_item);
|
|
630
692
|
if (referencepath_fields_itemValidationError !== null) {
|
|
631
693
|
let message = 'Object doesn\'t match CdpDataGraphFieldOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
632
694
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
633
695
|
return new TypeError(message);
|
|
634
696
|
}
|
|
635
697
|
}
|
|
698
|
+
if (obj.filterCriteria !== undefined) {
|
|
699
|
+
const obj_filterCriteria = obj.filterCriteria;
|
|
700
|
+
const path_filterCriteria = path + '.filterCriteria';
|
|
701
|
+
const referencepath_filterCriteriaValidationError = validate$8(obj_filterCriteria, path_filterCriteria);
|
|
702
|
+
if (referencepath_filterCriteriaValidationError !== null) {
|
|
703
|
+
let message = 'Object doesn\'t match CdpDataGraphFilterCriteriaOutputRepresentation (at "' + path_filterCriteria + '")\n';
|
|
704
|
+
message += referencepath_filterCriteriaValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
705
|
+
return new TypeError(message);
|
|
706
|
+
}
|
|
707
|
+
}
|
|
636
708
|
if (obj.fragmentDMOLabel !== undefined) {
|
|
637
709
|
const obj_fragmentDMOLabel = obj.fragmentDMOLabel;
|
|
638
710
|
const path_fragmentDMOLabel = path + '.fragmentDMOLabel';
|
|
@@ -743,7 +815,7 @@ function equals$4(existing, incoming) {
|
|
|
743
815
|
|
|
744
816
|
const VERSION$3 = "71e8434340c0370a30fb856ebad9a123";
|
|
745
817
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
746
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
818
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
|
|
747
819
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
748
820
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
749
821
|
}
|
|
@@ -780,7 +852,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
780
852
|
if (obj.fullRefreshConfig !== undefined) {
|
|
781
853
|
const obj_fullRefreshConfig = obj.fullRefreshConfig;
|
|
782
854
|
const path_fullRefreshConfig = path + '.fullRefreshConfig';
|
|
783
|
-
const referencepath_fullRefreshConfigValidationError = validate$
|
|
855
|
+
const referencepath_fullRefreshConfigValidationError = validate$d(obj_fullRefreshConfig, path_fullRefreshConfig);
|
|
784
856
|
if (referencepath_fullRefreshConfigValidationError !== null) {
|
|
785
857
|
let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
|
|
786
858
|
message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -811,7 +883,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
811
883
|
if (obj.incrementalRefreshConfig !== undefined) {
|
|
812
884
|
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
813
885
|
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
814
|
-
const referencepath_incrementalRefreshConfigValidationError = validate$
|
|
886
|
+
const referencepath_incrementalRefreshConfigValidationError = validate$c(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
|
|
815
887
|
if (referencepath_incrementalRefreshConfigValidationError !== null) {
|
|
816
888
|
let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
|
|
817
889
|
message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1294,12 +1366,12 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
1294
1366
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1295
1367
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1296
1368
|
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1297
|
-
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$
|
|
1369
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
|
|
1298
1370
|
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1299
1371
|
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1300
1372
|
}
|
|
1301
1373
|
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1302
|
-
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$
|
|
1374
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
|
|
1303
1375
|
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1304
1376
|
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1305
1377
|
}
|
|
@@ -1497,12 +1569,12 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
1497
1569
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1498
1570
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1499
1571
|
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1500
|
-
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$
|
|
1572
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
|
|
1501
1573
|
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1502
1574
|
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1503
1575
|
}
|
|
1504
1576
|
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1505
|
-
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$
|
|
1577
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
|
|
1506
1578
|
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1507
1579
|
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1508
1580
|
}
|
|
@@ -1725,7 +1797,7 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
1725
1797
|
|
|
1726
1798
|
const VERSION$2 = "0c15cc932d3ea4f07bf6a3b0429e3520";
|
|
1727
1799
|
function validate$2(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
1728
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
1800
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
|
|
1729
1801
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
1730
1802
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
1731
1803
|
}
|
|
@@ -1741,7 +1813,7 @@ function validate$2(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
|
1741
1813
|
for (let i = 0; i < obj_dependency.length; i++) {
|
|
1742
1814
|
const obj_dependency_item = obj_dependency[i];
|
|
1743
1815
|
const path_dependency_item = path_dependency + '[' + i + ']';
|
|
1744
|
-
const referencepath_dependency_itemValidationError = validate$
|
|
1816
|
+
const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
|
|
1745
1817
|
if (referencepath_dependency_itemValidationError !== null) {
|
|
1746
1818
|
let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
|
|
1747
1819
|
message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2534,4 +2606,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2534
2606
|
});
|
|
2535
2607
|
|
|
2536
2608
|
export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
|
|
2537
|
-
// version: 1.
|
|
2609
|
+
// version: 1.370.0-7c1df2520b
|
package/src/raml/api.raml
CHANGED
|
@@ -291,6 +291,10 @@ types:
|
|
|
291
291
|
items:
|
|
292
292
|
type: CdpDataGraphPathToParentOutputRepresentation
|
|
293
293
|
required: false
|
|
294
|
+
filterCriteria:
|
|
295
|
+
description: filterCriteria
|
|
296
|
+
type: CdpDataGraphFilterCriteriaOutputRepresentation
|
|
297
|
+
required: false
|
|
294
298
|
recencyCriteria:
|
|
295
299
|
description: recencyCriteria
|
|
296
300
|
type: array
|
|
@@ -478,6 +482,10 @@ types:
|
|
|
478
482
|
type: array
|
|
479
483
|
items:
|
|
480
484
|
type: CdpDataGraphPathToParentInputRepresentation
|
|
485
|
+
filterCriteria:
|
|
486
|
+
description: filter Criteria
|
|
487
|
+
type: CdpDataGraphFilterCriteriaInputRepresentation
|
|
488
|
+
required: false
|
|
481
489
|
recencyCriteria:
|
|
482
490
|
description: recencyCriteria
|
|
483
491
|
type: array
|
|
@@ -626,6 +634,63 @@ types:
|
|
|
626
634
|
description: time Granularity
|
|
627
635
|
type: string
|
|
628
636
|
required: false
|
|
637
|
+
CdpDataGraphFilterConditionInputRepresentation:
|
|
638
|
+
description: Data Graph Filter Condition input representation
|
|
639
|
+
type: object
|
|
640
|
+
properties:
|
|
641
|
+
fieldName:
|
|
642
|
+
description: field Name
|
|
643
|
+
type: string
|
|
644
|
+
operator:
|
|
645
|
+
description: comparison operators for Data Graph filter conditions
|
|
646
|
+
type: string
|
|
647
|
+
values:
|
|
648
|
+
description: adhoc filter values
|
|
649
|
+
type: array
|
|
650
|
+
items:
|
|
651
|
+
type: string
|
|
652
|
+
required: false
|
|
653
|
+
CdpDataGraphFilterConditionOutputRepresentation:
|
|
654
|
+
description: Represents Cdp Data Graph Filter Condition Output
|
|
655
|
+
type: object
|
|
656
|
+
properties:
|
|
657
|
+
fieldName:
|
|
658
|
+
description: field API name
|
|
659
|
+
type: string
|
|
660
|
+
operator:
|
|
661
|
+
description: comparison operators for Data Graph filter conditions
|
|
662
|
+
type: string
|
|
663
|
+
values:
|
|
664
|
+
description: Adhoc filter values
|
|
665
|
+
type: array
|
|
666
|
+
items:
|
|
667
|
+
type: string
|
|
668
|
+
required: false
|
|
669
|
+
CdpDataGraphFilterCriteriaInputRepresentation:
|
|
670
|
+
description: Data Graph Filter Criteria input representation
|
|
671
|
+
type: object
|
|
672
|
+
properties:
|
|
673
|
+
conditions:
|
|
674
|
+
description: filter conditions
|
|
675
|
+
type: array
|
|
676
|
+
items:
|
|
677
|
+
type: CdpDataGraphFilterConditionInputRepresentation
|
|
678
|
+
operator:
|
|
679
|
+
description: Filter operators to combine conditions. Example, 'And, 'Or'
|
|
680
|
+
type: string
|
|
681
|
+
CdpDataGraphFilterCriteriaOutputRepresentation:
|
|
682
|
+
description: Represents Cdp Data Graph Filter Criteria Output
|
|
683
|
+
type: object
|
|
684
|
+
properties:
|
|
685
|
+
conditions:
|
|
686
|
+
description: filter conditions
|
|
687
|
+
type: array
|
|
688
|
+
items:
|
|
689
|
+
type: CdpDataGraphFilterConditionOutputRepresentation
|
|
690
|
+
operator:
|
|
691
|
+
description: Filter operators to combine conditions. Example, 'And, 'Or'
|
|
692
|
+
type: string
|
|
693
|
+
|
|
629
694
|
/ssot:
|
|
630
695
|
/data-graphs:
|
|
631
696
|
post:
|