@salesforce/lds-adapters-marketing-cdp 1.309.0-dev16 → 1.309.0-dev17

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.
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
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$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
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$d(obj, path = 'CdpObjectBaseOutputRepresentation') {
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$c(obj, path = 'DataGraphScheduleOutputRepresentation') {
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$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
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$c(obj_schedule, path_schedule);
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$a(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
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$9(obj, path = 'DependencyOutputRepresentation') {
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$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
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$9(obj_dependency_item, path_dependency_item);
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');
@@ -498,7 +498,7 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
498
498
  return v_error === undefined ? null : v_error;
499
499
  }
500
500
 
501
- function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
501
+ function validate$9(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
502
502
  const v_error = (() => {
503
503
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
504
504
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -517,7 +517,7 @@ function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation')
517
517
  return v_error === undefined ? null : v_error;
518
518
  }
519
519
 
520
- function validate$6(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation') {
520
+ function validate$8(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation') {
521
521
  const v_error = (() => {
522
522
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
523
523
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -546,7 +546,7 @@ function validate$6(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation
546
546
  return v_error === undefined ? null : v_error;
547
547
  }
548
548
 
549
- function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation') {
549
+ function validate$7(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation') {
550
550
  const v_error = (() => {
551
551
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
552
552
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -563,6 +563,13 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
563
563
  if (typeof obj_label !== 'string') {
564
564
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
565
565
  }
566
+ if (obj.marketSegmentType !== undefined) {
567
+ const obj_marketSegmentType = obj.marketSegmentType;
568
+ const path_marketSegmentType = path + '.marketSegmentType';
569
+ if (typeof obj_marketSegmentType !== 'string') {
570
+ return new TypeError('Expected "string" but received "' + typeof obj_marketSegmentType + '" (at "' + path_marketSegmentType + '")');
571
+ }
572
+ }
566
573
  const obj_name = obj.name;
567
574
  const path_name = path + '.name';
568
575
  if (typeof obj_name !== 'string') {
@@ -572,6 +579,54 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
572
579
  return v_error === undefined ? null : v_error;
573
580
  }
574
581
 
582
+ function validate$6(obj, path = 'CdpDataGraphTopKSortOrderCriteriaOutputRepresentation') {
583
+ const v_error = (() => {
584
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
585
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
586
+ }
587
+ const obj_fieldApiName = obj.fieldApiName;
588
+ const path_fieldApiName = path + '.fieldApiName';
589
+ if (typeof obj_fieldApiName !== 'string') {
590
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
591
+ }
592
+ const obj_sortOrder = obj.sortOrder;
593
+ const path_sortOrder = path + '.sortOrder';
594
+ if (typeof obj_sortOrder !== 'string') {
595
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
596
+ }
597
+ })();
598
+ return v_error === undefined ? null : v_error;
599
+ }
600
+
601
+ function validate$5(obj, path = 'CdpDataGraphTopKFilterCriteriaOutputRepresentation') {
602
+ const v_error = (() => {
603
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
604
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
605
+ }
606
+ const obj_limit = obj.limit;
607
+ const path_limit = path + '.limit';
608
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
609
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
610
+ }
611
+ const obj_orderCriteria = obj.orderCriteria;
612
+ const path_orderCriteria = path + '.orderCriteria';
613
+ if (!ArrayIsArray(obj_orderCriteria)) {
614
+ return new TypeError('Expected "array" but received "' + typeof obj_orderCriteria + '" (at "' + path_orderCriteria + '")');
615
+ }
616
+ for (let i = 0; i < obj_orderCriteria.length; i++) {
617
+ const obj_orderCriteria_item = obj_orderCriteria[i];
618
+ const path_orderCriteria_item = path_orderCriteria + '[' + i + ']';
619
+ const referencepath_orderCriteria_itemValidationError = validate$6(obj_orderCriteria_item, path_orderCriteria_item);
620
+ if (referencepath_orderCriteria_itemValidationError !== null) {
621
+ let message = 'Object doesn\'t match CdpDataGraphTopKSortOrderCriteriaOutputRepresentation (at "' + path_orderCriteria_item + '")\n';
622
+ message += referencepath_orderCriteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
623
+ return new TypeError(message);
624
+ }
625
+ }
626
+ })();
627
+ return v_error === undefined ? null : v_error;
628
+ }
629
+
575
630
  function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation') {
576
631
  const v_error = (() => {
577
632
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -586,7 +641,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
586
641
  for (let i = 0; i < obj_dependency.length; i++) {
587
642
  const obj_dependency_item = obj_dependency[i];
588
643
  const path_dependency_item = path_dependency + '[' + i + ']';
589
- const referencepath_dependency_itemValidationError = validate$9(obj_dependency_item, path_dependency_item);
644
+ const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
590
645
  if (referencepath_dependency_itemValidationError !== null) {
591
646
  let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
592
647
  message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -609,7 +664,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
609
664
  for (let i = 0; i < obj_fields.length; i++) {
610
665
  const obj_fields_item = obj_fields[i];
611
666
  const path_fields_item = path_fields + '[' + i + ']';
612
- const referencepath_fields_itemValidationError = validate$8(obj_fields_item, path_fields_item);
667
+ const referencepath_fields_itemValidationError = validate$a(obj_fields_item, path_fields_item);
613
668
  if (referencepath_fields_itemValidationError !== null) {
614
669
  let message = 'Object doesn\'t match CdpDataGraphFieldOutputRepresentation (at "' + path_fields_item + '")\n';
615
670
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -646,7 +701,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
646
701
  for (let i = 0; i < obj_path.length; i++) {
647
702
  const obj_path_item = obj_path[i];
648
703
  const path_path_item = path_path + '[' + i + ']';
649
- const referencepath_path_itemValidationError = validate$7(obj_path_item, path_path_item);
704
+ const referencepath_path_itemValidationError = validate$9(obj_path_item, path_path_item);
650
705
  if (referencepath_path_itemValidationError !== null) {
651
706
  let message = 'Object doesn\'t match CdpDataGraphPathToParentOutputRepresentation (at "' + path_path_item + '")\n';
652
707
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -663,7 +718,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
663
718
  for (let i = 0; i < obj_recencyCriteria.length; i++) {
664
719
  const obj_recencyCriteria_item = obj_recencyCriteria[i];
665
720
  const path_recencyCriteria_item = path_recencyCriteria + '[' + i + ']';
666
- const referencepath_recencyCriteria_itemValidationError = validate$6(obj_recencyCriteria_item, path_recencyCriteria_item);
721
+ const referencepath_recencyCriteria_itemValidationError = validate$8(obj_recencyCriteria_item, path_recencyCriteria_item);
667
722
  if (referencepath_recencyCriteria_itemValidationError !== null) {
668
723
  let message = 'Object doesn\'t match CdpDataGraphRecencyCriteriaOutputRepresentation (at "' + path_recencyCriteria_item + '")\n';
669
724
  message += referencepath_recencyCriteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -699,7 +754,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
699
754
  for (let i = 0; i < obj_relatedSegments.length; i++) {
700
755
  const obj_relatedSegments_item = obj_relatedSegments[i];
701
756
  const path_relatedSegments_item = path_relatedSegments + '[' + i + ']';
702
- const referencepath_relatedSegments_itemValidationError = validate$5(obj_relatedSegments_item, path_relatedSegments_item);
757
+ const referencepath_relatedSegments_itemValidationError = validate$7(obj_relatedSegments_item, path_relatedSegments_item);
703
758
  if (referencepath_relatedSegments_itemValidationError !== null) {
704
759
  let message = 'Object doesn\'t match CdpDataGraphRelatedSegmentOutputRepresentation (at "' + path_relatedSegments_item + '")\n';
705
760
  message += referencepath_relatedSegments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -707,6 +762,23 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
707
762
  }
708
763
  }
709
764
  }
765
+ if (obj.segmentOn !== undefined) {
766
+ const obj_segmentOn = obj.segmentOn;
767
+ const path_segmentOn = path + '.segmentOn';
768
+ if (typeof obj_segmentOn !== 'string') {
769
+ return new TypeError('Expected "string" but received "' + typeof obj_segmentOn + '" (at "' + path_segmentOn + '")');
770
+ }
771
+ }
772
+ if (obj.topKFilterCriteria !== undefined) {
773
+ const obj_topKFilterCriteria = obj.topKFilterCriteria;
774
+ const path_topKFilterCriteria = path + '.topKFilterCriteria';
775
+ const referencepath_topKFilterCriteriaValidationError = validate$5(obj_topKFilterCriteria, path_topKFilterCriteria);
776
+ if (referencepath_topKFilterCriteriaValidationError !== null) {
777
+ let message = 'Object doesn\'t match CdpDataGraphTopKFilterCriteriaOutputRepresentation (at "' + path_topKFilterCriteria + '")\n';
778
+ message += referencepath_topKFilterCriteriaValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
779
+ return new TypeError(message);
780
+ }
781
+ }
710
782
  if (obj.type !== undefined) {
711
783
  const obj_type = obj.type;
712
784
  const path_type = path + '.type';
@@ -726,7 +798,7 @@ function equals$4(existing, incoming) {
726
798
 
727
799
  const VERSION$3 = "889a3dcf81525ec28e80f673fa8e8eb5";
728
800
  function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
729
- const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
801
+ const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
730
802
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
731
803
  return validateCdpObjectBaseOutputRepresentation_validateError;
732
804
  }
@@ -763,7 +835,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
763
835
  if (obj.fullRefreshConfig !== undefined) {
764
836
  const obj_fullRefreshConfig = obj.fullRefreshConfig;
765
837
  const path_fullRefreshConfig = path + '.fullRefreshConfig';
766
- const referencepath_fullRefreshConfigValidationError = validate$b(obj_fullRefreshConfig, path_fullRefreshConfig);
838
+ const referencepath_fullRefreshConfigValidationError = validate$d(obj_fullRefreshConfig, path_fullRefreshConfig);
767
839
  if (referencepath_fullRefreshConfigValidationError !== null) {
768
840
  let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
769
841
  message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -794,7 +866,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
794
866
  if (obj.incrementalRefreshConfig !== undefined) {
795
867
  const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
796
868
  const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
797
- const referencepath_incrementalRefreshConfigValidationError = validate$a(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
869
+ const referencepath_incrementalRefreshConfigValidationError = validate$c(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
798
870
  if (referencepath_incrementalRefreshConfigValidationError !== null) {
799
871
  let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
800
872
  message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1232,11 +1304,13 @@ function createResourceRequest$7(config) {
1232
1304
  const adapterName$7 = 'createDataGraph';
1233
1305
  const createDataGraph_ConfigPropertyMetadata = [
1234
1306
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1307
+ generateParamConfigMetadata('dataKitName', false, 2 /* Body */, 0 /* String */),
1235
1308
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1236
1309
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1237
1310
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1238
1311
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
1239
1312
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
1313
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
1240
1314
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1241
1315
  generateParamConfigMetadata('isRecordCachingDisabled', false, 2 /* Body */, 1 /* Boolean */),
1242
1316
  generateParamConfigMetadata('cacheDurationInDays', false, 2 /* Body */, 3 /* Integer */),
@@ -1254,12 +1328,12 @@ function typeCheckConfig$7(untrustedConfig) {
1254
1328
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
1255
1329
  config.sourceObject = untrustedConfig_sourceObject;
1256
1330
  const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
1257
- const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
1331
+ const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
1258
1332
  if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
1259
1333
  config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
1260
1334
  }
1261
1335
  const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
1262
- const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
1336
+ const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
1263
1337
  if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
1264
1338
  config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
1265
1339
  }
@@ -1348,11 +1422,13 @@ const adapterName$6 = 'editDataGraph';
1348
1422
  const editDataGraph_ConfigPropertyMetadata = [
1349
1423
  generateParamConfigMetadata('editScheduleOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
1350
1424
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1425
+ generateParamConfigMetadata('dataKitName', false, 2 /* Body */, 0 /* String */),
1351
1426
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1352
1427
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1353
1428
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1354
1429
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
1355
1430
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
1431
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
1356
1432
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1357
1433
  generateParamConfigMetadata('isRecordCachingDisabled', false, 2 /* Body */, 1 /* Boolean */),
1358
1434
  generateParamConfigMetadata('cacheDurationInDays', false, 2 /* Body */, 3 /* Integer */),
@@ -1370,12 +1446,12 @@ function typeCheckConfig$6(untrustedConfig) {
1370
1446
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
1371
1447
  config.sourceObject = untrustedConfig_sourceObject;
1372
1448
  const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
1373
- const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
1449
+ const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
1374
1450
  if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
1375
1451
  config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
1376
1452
  }
1377
1453
  const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
1378
- const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
1454
+ const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
1379
1455
  if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
1380
1456
  config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
1381
1457
  }
@@ -1808,7 +1884,7 @@ const retryDataGraphAdapterFactory = (luvio) => {
1808
1884
 
1809
1885
  const VERSION$1 = "0c15cc932d3ea4f07bf6a3b0429e3520";
1810
1886
  function validate$1(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
1811
- const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
1887
+ const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
1812
1888
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
1813
1889
  return validateCdpObjectBaseOutputRepresentation_validateError;
1814
1890
  }
@@ -1824,7 +1900,7 @@ function validate$1(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
1824
1900
  for (let i = 0; i < obj_dependency.length; i++) {
1825
1901
  const obj_dependency_item = obj_dependency[i];
1826
1902
  const path_dependency_item = path_dependency + '[' + i + ']';
1827
- const referencepath_dependency_itemValidationError = validate$9(obj_dependency_item, path_dependency_item);
1903
+ const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
1828
1904
  if (referencepath_dependency_itemValidationError !== null) {
1829
1905
  let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
1830
1906
  message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -9,11 +9,13 @@ export declare const createDataGraph_ConfigPropertyMetadata: $64$luvio_engine_Ad
9
9
  export declare const createDataGraph_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
10
10
  export interface CreateDataGraphConfig {
11
11
  dataspaceName?: string;
12
+ dataKitName?: string;
12
13
  description?: string;
13
14
  label?: string;
14
15
  name?: string;
15
16
  primaryObjectName: string;
16
17
  sourceObject: unknown;
18
+ templateName?: string;
17
19
  type?: string;
18
20
  isRecordCachingDisabled?: boolean;
19
21
  cacheDurationInDays?: number;
@@ -10,11 +10,13 @@ export declare const editDataGraph_ConfigPropertyNames: adapter$45$utils_Adapter
10
10
  export interface EditDataGraphConfig {
11
11
  editScheduleOnly?: boolean;
12
12
  dataspaceName?: string;
13
+ dataKitName?: string;
13
14
  description?: string;
14
15
  label?: string;
15
16
  name?: string;
16
17
  primaryObjectName: string;
17
18
  sourceObject: unknown;
19
+ templateName?: string;
18
20
  type?: string;
19
21
  isRecordCachingDisabled?: boolean;
20
22
  cacheDurationInDays?: number;
@@ -5,11 +5,13 @@ import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentat
5
5
  export interface ResourceRequestConfig {
6
6
  body: {
7
7
  dataspaceName?: string;
8
+ dataKitName?: string;
8
9
  description?: string;
9
10
  label?: string;
10
11
  name?: string;
11
12
  primaryObjectName: string;
12
13
  sourceObject: unknown;
14
+ templateName?: string;
13
15
  type?: string;
14
16
  isRecordCachingDisabled?: boolean;
15
17
  cacheDurationInDays?: number;
@@ -8,11 +8,13 @@ export interface ResourceRequestConfig {
8
8
  };
9
9
  body: {
10
10
  dataspaceName?: string;
11
+ dataKitName?: string;
11
12
  description?: string;
12
13
  label?: string;
13
14
  name?: string;
14
15
  primaryObjectName: string;
15
16
  sourceObject: unknown;
17
+ templateName?: string;
16
18
  type?: string;
17
19
  isRecordCachingDisabled?: boolean;
18
20
  cacheDurationInDays?: number;
@@ -1,7 +1,7 @@
1
1
  import { DataGraphFullRefreshConfigInputRepresentation as DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from './DataGraphFullRefreshConfigInputRepresentation';
2
2
  import { DataGraphIncrementalRefreshConfigInputRepresentation as DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from './DataGraphIncrementalRefreshConfigInputRepresentation';
3
3
  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';
4
- export declare const VERSION = "e5b0715060e469e9bb7b2d12c4e80667";
4
+ export declare const VERSION = "b721270c6b3bf911e032cf7e9de1c5a2";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: CdpDataGraphInputRepresentation, existing: CdpDataGraphInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphInputRepresentationNormalized;
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  export interface CdpDataGraphInputRepresentationNormalized {
19
19
  /** No of days last accessed records are cached */
20
20
  cacheDurationInDays?: number;
21
+ /** dataKitName */
22
+ dataKitName?: string;
21
23
  /** dataspaceName */
22
24
  dataspaceName?: string;
23
25
  /** description */
@@ -40,6 +42,8 @@ export interface CdpDataGraphInputRepresentationNormalized {
40
42
  sessionEndTimeUnit?: string;
41
43
  /** source object */
42
44
  sourceObject: unknown;
45
+ /** data graph templateName */
46
+ templateName?: string;
43
47
  /** data graph type */
44
48
  type?: string;
45
49
  }
@@ -51,6 +55,7 @@ export interface CdpDataGraphInputRepresentationNormalized {
51
55
  */
52
56
  export interface CdpDataGraphInputRepresentation {
53
57
  cacheDurationInDays?: number;
58
+ dataKitName?: string;
54
59
  dataspaceName?: string;
55
60
  description?: string;
56
61
  fullRefreshConfig?: DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
@@ -63,5 +68,6 @@ export interface CdpDataGraphInputRepresentation {
63
68
  sessionEnd?: number;
64
69
  sessionEndTimeUnit?: string;
65
70
  sourceObject: unknown;
71
+ templateName?: string;
66
72
  type?: string;
67
73
  }
@@ -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 = "99afedc9b36a81d18e7eb84ff1203a83";
2
+ export declare const VERSION = "9790948f121df2c27d1ccab4ac38fa88";
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;
@@ -18,6 +18,8 @@ export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
18
18
  id?: string;
19
19
  /** label */
20
20
  label: string;
21
+ /** Market Segment Type */
22
+ marketSegmentType?: string;
21
23
  /** name */
22
24
  name: string;
23
25
  }
@@ -30,5 +32,6 @@ export interface CdpDataGraphRelatedSegmentOutputRepresentationNormalized {
30
32
  export interface CdpDataGraphRelatedSegmentOutputRepresentation {
31
33
  id?: string;
32
34
  label: string;
35
+ marketSegmentType?: string;
33
36
  name: string;
34
37
  }
@@ -1,8 +1,9 @@
1
1
  import { CdpObjectBaseInputRepresentation as CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation } from './CdpObjectBaseInputRepresentation';
2
2
  import { CdpDataGraphFieldInputRepresentation as CdpDataGraphFieldInputRepresentation_CdpDataGraphFieldInputRepresentation } from './CdpDataGraphFieldInputRepresentation';
3
3
  import { CdpDataGraphPathToParentInputRepresentation as CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation } from './CdpDataGraphPathToParentInputRepresentation';
4
+ import { CdpDataGraphTopKFilterCriteriaInputRepresentation as CdpDataGraphTopKFilterCriteriaInputRepresentation_CdpDataGraphTopKFilterCriteriaInputRepresentation } from './CdpDataGraphTopKFilterCriteriaInputRepresentation';
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 = "fcd784ab8d7ff7d383a156d418bc6f24";
6
+ export declare const VERSION = "4cca8c519b769ba809a4b323da73f5ac";
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;
@@ -27,6 +28,9 @@ export interface CdpDataGraphSourceInputRepresentationNormalized extends CdpObje
27
28
  recencyCriteria: Array<{}>;
28
29
  /** relatedObjects */
29
30
  relatedObjects: Array<unknown>;
31
+ /** Segment On Object Info */
32
+ segmentOn?: string;
33
+ topKFilterCriteria?: CdpDataGraphTopKFilterCriteriaInputRepresentation_CdpDataGraphTopKFilterCriteriaInputRepresentation;
30
34
  }
31
35
  /**
32
36
  * Data Graph Source Object input representation
@@ -40,4 +44,6 @@ export interface CdpDataGraphSourceInputRepresentation extends CdpObjectBaseInpu
40
44
  path: Array<CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation>;
41
45
  recencyCriteria: Array<{}>;
42
46
  relatedObjects: Array<unknown>;
47
+ segmentOn?: string;
48
+ topKFilterCriteria?: CdpDataGraphTopKFilterCriteriaInputRepresentation_CdpDataGraphTopKFilterCriteriaInputRepresentation;
43
49
  }
@@ -3,8 +3,9 @@ import { CdpDataGraphFieldOutputRepresentation as CdpDataGraphFieldOutputReprese
3
3
  import { CdpDataGraphPathToParentOutputRepresentation as CdpDataGraphPathToParentOutputRepresentation_CdpDataGraphPathToParentOutputRepresentation } from './CdpDataGraphPathToParentOutputRepresentation';
4
4
  import { CdpDataGraphRecencyCriteriaOutputRepresentation as CdpDataGraphRecencyCriteriaOutputRepresentation_CdpDataGraphRecencyCriteriaOutputRepresentation } from './CdpDataGraphRecencyCriteriaOutputRepresentation';
5
5
  import { CdpDataGraphRelatedSegmentOutputRepresentation as CdpDataGraphRelatedSegmentOutputRepresentation_CdpDataGraphRelatedSegmentOutputRepresentation } from './CdpDataGraphRelatedSegmentOutputRepresentation';
6
+ import { CdpDataGraphTopKFilterCriteriaOutputRepresentation as CdpDataGraphTopKFilterCriteriaOutputRepresentation_CdpDataGraphTopKFilterCriteriaOutputRepresentation } from './CdpDataGraphTopKFilterCriteriaOutputRepresentation';
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 = "0b0bb8e05dbaadc7993d9cc10fe4d8f0";
8
+ export declare const VERSION = "60dfaca7b43daf0a162360fe834c5a19";
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;
@@ -41,6 +42,9 @@ export interface CdpDataGraphSourceObjectOutputRepresentationNormalized {
41
42
  relatedObjects: Array<unknown>;
42
43
  /** relatedSegments */
43
44
  relatedSegments?: Array<CdpDataGraphRelatedSegmentOutputRepresentation_CdpDataGraphRelatedSegmentOutputRepresentation>;
45
+ /** Segment On Object Info */
46
+ segmentOn?: string;
47
+ topKFilterCriteria?: CdpDataGraphTopKFilterCriteriaOutputRepresentation_CdpDataGraphTopKFilterCriteriaOutputRepresentation;
44
48
  /** type */
45
49
  type?: string;
46
50
  }
@@ -62,5 +66,7 @@ export interface CdpDataGraphSourceObjectOutputRepresentation {
62
66
  referenceDeveloperName?: string;
63
67
  relatedObjects: Array<unknown>;
64
68
  relatedSegments?: Array<CdpDataGraphRelatedSegmentOutputRepresentation_CdpDataGraphRelatedSegmentOutputRepresentation>;
69
+ segmentOn?: string;
70
+ topKFilterCriteria?: CdpDataGraphTopKFilterCriteriaOutputRepresentation_CdpDataGraphTopKFilterCriteriaOutputRepresentation;
65
71
  type?: string;
66
72
  }
@@ -0,0 +1,32 @@
1
+ import { CdpDataGraphTopKSortOrderCriteriaInputRepresentation as CdpDataGraphTopKSortOrderCriteriaInputRepresentation_CdpDataGraphTopKSortOrderCriteriaInputRepresentation } from './CdpDataGraphTopKSortOrderCriteriaInputRepresentation';
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 = "b0a964358f72fd8a59d9c74f1c02db81";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpDataGraphTopKFilterCriteriaInputRepresentation, existing: CdpDataGraphTopKFilterCriteriaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphTopKFilterCriteriaInputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CdpDataGraphTopKFilterCriteriaInputRepresentationNormalized, incoming: CdpDataGraphTopKFilterCriteriaInputRepresentationNormalized): 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: CdpDataGraphTopKFilterCriteriaInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Data Graph TopK Filter Criteria input representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpDataGraphTopKFilterCriteriaInputRepresentationNormalized {
18
+ /** TopK Filter Sort Order Limit */
19
+ limit: number;
20
+ /** TopK Filter Sort Order Criteria */
21
+ orderCriteria: Array<CdpDataGraphTopKSortOrderCriteriaInputRepresentation_CdpDataGraphTopKSortOrderCriteriaInputRepresentation>;
22
+ }
23
+ /**
24
+ * Data Graph TopK Filter Criteria input representation
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface CdpDataGraphTopKFilterCriteriaInputRepresentation {
30
+ limit: number;
31
+ orderCriteria: Array<CdpDataGraphTopKSortOrderCriteriaInputRepresentation_CdpDataGraphTopKSortOrderCriteriaInputRepresentation>;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { CdpDataGraphTopKSortOrderCriteriaOutputRepresentation as CdpDataGraphTopKSortOrderCriteriaOutputRepresentation_CdpDataGraphTopKSortOrderCriteriaOutputRepresentation } from './CdpDataGraphTopKSortOrderCriteriaOutputRepresentation';
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 = "bc25d7c75eadf7b35c038a67830c21ba";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpDataGraphTopKFilterCriteriaOutputRepresentation, existing: CdpDataGraphTopKFilterCriteriaOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphTopKFilterCriteriaOutputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CdpDataGraphTopKFilterCriteriaOutputRepresentationNormalized, incoming: CdpDataGraphTopKFilterCriteriaOutputRepresentationNormalized): 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: CdpDataGraphTopKFilterCriteriaOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Data Graph TopK Filter Criteria Output Representation
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpDataGraphTopKFilterCriteriaOutputRepresentationNormalized {
18
+ /** limit */
19
+ limit: number;
20
+ /** orderCriteria */
21
+ orderCriteria: Array<CdpDataGraphTopKSortOrderCriteriaOutputRepresentation_CdpDataGraphTopKSortOrderCriteriaOutputRepresentation>;
22
+ }
23
+ /**
24
+ * Data Graph TopK Filter Criteria Output Representation
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface CdpDataGraphTopKFilterCriteriaOutputRepresentation {
30
+ limit: number;
31
+ orderCriteria: Array<CdpDataGraphTopKSortOrderCriteriaOutputRepresentation_CdpDataGraphTopKSortOrderCriteriaOutputRepresentation>;
32
+ }
@@ -0,0 +1,31 @@
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 = "867afd34623331a7edb5c225c954a23c";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpDataGraphTopKSortOrderCriteriaInputRepresentation, existing: CdpDataGraphTopKSortOrderCriteriaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphTopKSortOrderCriteriaInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CdpDataGraphTopKSortOrderCriteriaInputRepresentationNormalized, incoming: CdpDataGraphTopKSortOrderCriteriaInputRepresentationNormalized): 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: CdpDataGraphTopKSortOrderCriteriaInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Data Graph TopK Sort Order Criteria input representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpDataGraphTopKSortOrderCriteriaInputRepresentationNormalized {
17
+ /** TopK Filter Field Developer Name */
18
+ fieldApiName: string;
19
+ /** TopK Filter Sort Order Type */
20
+ sortOrder: string;
21
+ }
22
+ /**
23
+ * Data Graph TopK Sort Order Criteria input representation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface CdpDataGraphTopKSortOrderCriteriaInputRepresentation {
29
+ fieldApiName: string;
30
+ sortOrder: string;
31
+ }
@@ -0,0 +1,31 @@
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 = "faa644f8f65dd66197cf2d4fd3289d01";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpDataGraphTopKSortOrderCriteriaOutputRepresentation, existing: CdpDataGraphTopKSortOrderCriteriaOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphTopKSortOrderCriteriaOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CdpDataGraphTopKSortOrderCriteriaOutputRepresentationNormalized, incoming: CdpDataGraphTopKSortOrderCriteriaOutputRepresentationNormalized): 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: CdpDataGraphTopKSortOrderCriteriaOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Data Graph TopK Filter Sort Order Criteria Output Representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpDataGraphTopKSortOrderCriteriaOutputRepresentationNormalized {
17
+ /** fieldApiName */
18
+ fieldApiName: string;
19
+ /** sortOrder */
20
+ sortOrder: string;
21
+ }
22
+ /**
23
+ * Data Graph TopK Filter Sort Order Criteria Output Representation
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface CdpDataGraphTopKSortOrderCriteriaOutputRepresentation {
29
+ fieldApiName: string;
30
+ sortOrder: string;
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-marketing-cdp",
3
- "version": "1.309.0-dev16",
3
+ "version": "1.309.0-dev17",
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.309.0-dev16"
46
+ "@salesforce/lds-bindings": "^1.309.0-dev17"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev16",
50
- "@salesforce/lds-karma": "^1.309.0-dev16"
49
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev17",
50
+ "@salesforce/lds-karma": "^1.309.0-dev17"
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$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
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$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
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$d(obj, path = 'CdpObjectBaseOutputRepresentation') {
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$c(obj, path = 'DataGraphScheduleOutputRepresentation') {
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$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
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$c(obj_schedule, path_schedule);
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$a(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
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$9(obj, path = 'DependencyOutputRepresentation') {
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$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
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$9(obj_dependency_item, path_dependency_item);
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');
@@ -508,7 +508,7 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
508
508
  return v_error === undefined ? null : v_error;
509
509
  }
510
510
 
511
- function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
511
+ function validate$9(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
512
512
  const v_error = (() => {
513
513
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
514
514
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -527,7 +527,7 @@ function validate$7(obj, path = 'CdpDataGraphPathToParentOutputRepresentation')
527
527
  return v_error === undefined ? null : v_error;
528
528
  }
529
529
 
530
- function validate$6(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation') {
530
+ function validate$8(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation') {
531
531
  const v_error = (() => {
532
532
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
533
533
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -556,7 +556,7 @@ function validate$6(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation
556
556
  return v_error === undefined ? null : v_error;
557
557
  }
558
558
 
559
- function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation') {
559
+ function validate$7(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation') {
560
560
  const v_error = (() => {
561
561
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
562
562
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -573,6 +573,13 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
573
573
  if (typeof obj_label !== 'string') {
574
574
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
575
575
  }
576
+ if (obj.marketSegmentType !== undefined) {
577
+ const obj_marketSegmentType = obj.marketSegmentType;
578
+ const path_marketSegmentType = path + '.marketSegmentType';
579
+ if (typeof obj_marketSegmentType !== 'string') {
580
+ return new TypeError('Expected "string" but received "' + typeof obj_marketSegmentType + '" (at "' + path_marketSegmentType + '")');
581
+ }
582
+ }
576
583
  const obj_name = obj.name;
577
584
  const path_name = path + '.name';
578
585
  if (typeof obj_name !== 'string') {
@@ -582,6 +589,54 @@ function validate$5(obj, path = 'CdpDataGraphRelatedSegmentOutputRepresentation'
582
589
  return v_error === undefined ? null : v_error;
583
590
  }
584
591
 
592
+ function validate$6(obj, path = 'CdpDataGraphTopKSortOrderCriteriaOutputRepresentation') {
593
+ const v_error = (() => {
594
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
595
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
596
+ }
597
+ const obj_fieldApiName = obj.fieldApiName;
598
+ const path_fieldApiName = path + '.fieldApiName';
599
+ if (typeof obj_fieldApiName !== 'string') {
600
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
601
+ }
602
+ const obj_sortOrder = obj.sortOrder;
603
+ const path_sortOrder = path + '.sortOrder';
604
+ if (typeof obj_sortOrder !== 'string') {
605
+ return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
606
+ }
607
+ })();
608
+ return v_error === undefined ? null : v_error;
609
+ }
610
+
611
+ function validate$5(obj, path = 'CdpDataGraphTopKFilterCriteriaOutputRepresentation') {
612
+ const v_error = (() => {
613
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
614
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
615
+ }
616
+ const obj_limit = obj.limit;
617
+ const path_limit = path + '.limit';
618
+ if (typeof obj_limit !== 'number' || (typeof obj_limit === 'number' && Math.floor(obj_limit) !== obj_limit)) {
619
+ return new TypeError('Expected "integer" but received "' + typeof obj_limit + '" (at "' + path_limit + '")');
620
+ }
621
+ const obj_orderCriteria = obj.orderCriteria;
622
+ const path_orderCriteria = path + '.orderCriteria';
623
+ if (!ArrayIsArray(obj_orderCriteria)) {
624
+ return new TypeError('Expected "array" but received "' + typeof obj_orderCriteria + '" (at "' + path_orderCriteria + '")');
625
+ }
626
+ for (let i = 0; i < obj_orderCriteria.length; i++) {
627
+ const obj_orderCriteria_item = obj_orderCriteria[i];
628
+ const path_orderCriteria_item = path_orderCriteria + '[' + i + ']';
629
+ const referencepath_orderCriteria_itemValidationError = validate$6(obj_orderCriteria_item, path_orderCriteria_item);
630
+ if (referencepath_orderCriteria_itemValidationError !== null) {
631
+ let message = 'Object doesn\'t match CdpDataGraphTopKSortOrderCriteriaOutputRepresentation (at "' + path_orderCriteria_item + '")\n';
632
+ message += referencepath_orderCriteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
633
+ return new TypeError(message);
634
+ }
635
+ }
636
+ })();
637
+ return v_error === undefined ? null : v_error;
638
+ }
639
+
585
640
  function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation') {
586
641
  const v_error = (() => {
587
642
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -596,7 +651,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
596
651
  for (let i = 0; i < obj_dependency.length; i++) {
597
652
  const obj_dependency_item = obj_dependency[i];
598
653
  const path_dependency_item = path_dependency + '[' + i + ']';
599
- const referencepath_dependency_itemValidationError = validate$9(obj_dependency_item, path_dependency_item);
654
+ const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
600
655
  if (referencepath_dependency_itemValidationError !== null) {
601
656
  let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
602
657
  message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -619,7 +674,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
619
674
  for (let i = 0; i < obj_fields.length; i++) {
620
675
  const obj_fields_item = obj_fields[i];
621
676
  const path_fields_item = path_fields + '[' + i + ']';
622
- const referencepath_fields_itemValidationError = validate$8(obj_fields_item, path_fields_item);
677
+ const referencepath_fields_itemValidationError = validate$a(obj_fields_item, path_fields_item);
623
678
  if (referencepath_fields_itemValidationError !== null) {
624
679
  let message = 'Object doesn\'t match CdpDataGraphFieldOutputRepresentation (at "' + path_fields_item + '")\n';
625
680
  message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -656,7 +711,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
656
711
  for (let i = 0; i < obj_path.length; i++) {
657
712
  const obj_path_item = obj_path[i];
658
713
  const path_path_item = path_path + '[' + i + ']';
659
- const referencepath_path_itemValidationError = validate$7(obj_path_item, path_path_item);
714
+ const referencepath_path_itemValidationError = validate$9(obj_path_item, path_path_item);
660
715
  if (referencepath_path_itemValidationError !== null) {
661
716
  let message = 'Object doesn\'t match CdpDataGraphPathToParentOutputRepresentation (at "' + path_path_item + '")\n';
662
717
  message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -673,7 +728,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
673
728
  for (let i = 0; i < obj_recencyCriteria.length; i++) {
674
729
  const obj_recencyCriteria_item = obj_recencyCriteria[i];
675
730
  const path_recencyCriteria_item = path_recencyCriteria + '[' + i + ']';
676
- const referencepath_recencyCriteria_itemValidationError = validate$6(obj_recencyCriteria_item, path_recencyCriteria_item);
731
+ const referencepath_recencyCriteria_itemValidationError = validate$8(obj_recencyCriteria_item, path_recencyCriteria_item);
677
732
  if (referencepath_recencyCriteria_itemValidationError !== null) {
678
733
  let message = 'Object doesn\'t match CdpDataGraphRecencyCriteriaOutputRepresentation (at "' + path_recencyCriteria_item + '")\n';
679
734
  message += referencepath_recencyCriteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -709,7 +764,7 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
709
764
  for (let i = 0; i < obj_relatedSegments.length; i++) {
710
765
  const obj_relatedSegments_item = obj_relatedSegments[i];
711
766
  const path_relatedSegments_item = path_relatedSegments + '[' + i + ']';
712
- const referencepath_relatedSegments_itemValidationError = validate$5(obj_relatedSegments_item, path_relatedSegments_item);
767
+ const referencepath_relatedSegments_itemValidationError = validate$7(obj_relatedSegments_item, path_relatedSegments_item);
713
768
  if (referencepath_relatedSegments_itemValidationError !== null) {
714
769
  let message = 'Object doesn\'t match CdpDataGraphRelatedSegmentOutputRepresentation (at "' + path_relatedSegments_item + '")\n';
715
770
  message += referencepath_relatedSegments_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -717,6 +772,23 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
717
772
  }
718
773
  }
719
774
  }
775
+ if (obj.segmentOn !== undefined) {
776
+ const obj_segmentOn = obj.segmentOn;
777
+ const path_segmentOn = path + '.segmentOn';
778
+ if (typeof obj_segmentOn !== 'string') {
779
+ return new TypeError('Expected "string" but received "' + typeof obj_segmentOn + '" (at "' + path_segmentOn + '")');
780
+ }
781
+ }
782
+ if (obj.topKFilterCriteria !== undefined) {
783
+ const obj_topKFilterCriteria = obj.topKFilterCriteria;
784
+ const path_topKFilterCriteria = path + '.topKFilterCriteria';
785
+ const referencepath_topKFilterCriteriaValidationError = validate$5(obj_topKFilterCriteria, path_topKFilterCriteria);
786
+ if (referencepath_topKFilterCriteriaValidationError !== null) {
787
+ let message = 'Object doesn\'t match CdpDataGraphTopKFilterCriteriaOutputRepresentation (at "' + path_topKFilterCriteria + '")\n';
788
+ message += referencepath_topKFilterCriteriaValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
789
+ return new TypeError(message);
790
+ }
791
+ }
720
792
  if (obj.type !== undefined) {
721
793
  const obj_type = obj.type;
722
794
  const path_type = path + '.type';
@@ -736,7 +808,7 @@ function equals$4(existing, incoming) {
736
808
 
737
809
  const VERSION$3 = "889a3dcf81525ec28e80f673fa8e8eb5";
738
810
  function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
739
- const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
811
+ const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
740
812
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
741
813
  return validateCdpObjectBaseOutputRepresentation_validateError;
742
814
  }
@@ -773,7 +845,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
773
845
  if (obj.fullRefreshConfig !== undefined) {
774
846
  const obj_fullRefreshConfig = obj.fullRefreshConfig;
775
847
  const path_fullRefreshConfig = path + '.fullRefreshConfig';
776
- const referencepath_fullRefreshConfigValidationError = validate$b(obj_fullRefreshConfig, path_fullRefreshConfig);
848
+ const referencepath_fullRefreshConfigValidationError = validate$d(obj_fullRefreshConfig, path_fullRefreshConfig);
777
849
  if (referencepath_fullRefreshConfigValidationError !== null) {
778
850
  let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
779
851
  message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -804,7 +876,7 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
804
876
  if (obj.incrementalRefreshConfig !== undefined) {
805
877
  const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
806
878
  const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
807
- const referencepath_incrementalRefreshConfigValidationError = validate$a(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
879
+ const referencepath_incrementalRefreshConfigValidationError = validate$c(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
808
880
  if (referencepath_incrementalRefreshConfigValidationError !== null) {
809
881
  let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
810
882
  message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1242,11 +1314,13 @@ function createResourceRequest$7(config) {
1242
1314
  const adapterName$7 = 'createDataGraph';
1243
1315
  const createDataGraph_ConfigPropertyMetadata = [
1244
1316
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1317
+ generateParamConfigMetadata('dataKitName', false, 2 /* Body */, 0 /* String */),
1245
1318
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1246
1319
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1247
1320
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1248
1321
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
1249
1322
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
1323
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
1250
1324
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1251
1325
  generateParamConfigMetadata('isRecordCachingDisabled', false, 2 /* Body */, 1 /* Boolean */),
1252
1326
  generateParamConfigMetadata('cacheDurationInDays', false, 2 /* Body */, 3 /* Integer */),
@@ -1264,12 +1338,12 @@ function typeCheckConfig$7(untrustedConfig) {
1264
1338
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
1265
1339
  config.sourceObject = untrustedConfig_sourceObject;
1266
1340
  const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
1267
- const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
1341
+ const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
1268
1342
  if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
1269
1343
  config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
1270
1344
  }
1271
1345
  const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
1272
- const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
1346
+ const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
1273
1347
  if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
1274
1348
  config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
1275
1349
  }
@@ -1442,11 +1516,13 @@ const adapterName$5 = 'editDataGraph';
1442
1516
  const editDataGraph_ConfigPropertyMetadata = [
1443
1517
  generateParamConfigMetadata('editScheduleOnly', false, 1 /* QueryParameter */, 1 /* Boolean */),
1444
1518
  generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
1519
+ generateParamConfigMetadata('dataKitName', false, 2 /* Body */, 0 /* String */),
1445
1520
  generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
1446
1521
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
1447
1522
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
1448
1523
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
1449
1524
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
1525
+ generateParamConfigMetadata('templateName', false, 2 /* Body */, 0 /* String */),
1450
1526
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
1451
1527
  generateParamConfigMetadata('isRecordCachingDisabled', false, 2 /* Body */, 1 /* Boolean */),
1452
1528
  generateParamConfigMetadata('cacheDurationInDays', false, 2 /* Body */, 3 /* Integer */),
@@ -1464,12 +1540,12 @@ function typeCheckConfig$5(untrustedConfig) {
1464
1540
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
1465
1541
  config.sourceObject = untrustedConfig_sourceObject;
1466
1542
  const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
1467
- const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
1543
+ const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$h(untrustedConfig_fullRefreshConfig);
1468
1544
  if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
1469
1545
  config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
1470
1546
  }
1471
1547
  const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
1472
- const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
1548
+ const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$g(untrustedConfig_incrementalRefreshConfig);
1473
1549
  if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
1474
1550
  config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
1475
1551
  }
@@ -1692,7 +1768,7 @@ const notifyChangeFactory$2 = (luvio, options) => {
1692
1768
 
1693
1769
  const VERSION$2 = "0c15cc932d3ea4f07bf6a3b0429e3520";
1694
1770
  function validate$2(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
1695
- const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
1771
+ const validateCdpObjectBaseOutputRepresentation_validateError = validate$f(obj, path);
1696
1772
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
1697
1773
  return validateCdpObjectBaseOutputRepresentation_validateError;
1698
1774
  }
@@ -1708,7 +1784,7 @@ function validate$2(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
1708
1784
  for (let i = 0; i < obj_dependency.length; i++) {
1709
1785
  const obj_dependency_item = obj_dependency[i];
1710
1786
  const path_dependency_item = path_dependency + '[' + i + ']';
1711
- const referencepath_dependency_itemValidationError = validate$9(obj_dependency_item, path_dependency_item);
1787
+ const referencepath_dependency_itemValidationError = validate$b(obj_dependency_item, path_dependency_item);
1712
1788
  if (referencepath_dependency_itemValidationError !== null) {
1713
1789
  let message = 'Object doesn\'t match DependencyOutputRepresentation (at "' + path_dependency_item + '")\n';
1714
1790
  message += referencepath_dependency_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2501,4 +2577,4 @@ withDefaultLuvio((luvio) => {
2501
2577
  });
2502
2578
 
2503
2579
  export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
2504
- // version: 1.309.0-dev16-189d0681ed
2580
+ // version: 1.309.0-dev17-63f305eea5
package/src/raml/api.raml CHANGED
@@ -194,6 +194,10 @@ types:
194
194
  description: dataspaceName
195
195
  type: string
196
196
  required: false
197
+ dataKitName:
198
+ description: dataKitName
199
+ type: string
200
+ required: false
197
201
  description:
198
202
  description: description
199
203
  type: string
@@ -212,6 +216,10 @@ types:
212
216
  sourceObject:
213
217
  description: source object
214
218
  type: any
219
+ templateName:
220
+ description: data graph templateName
221
+ type: string
222
+ required: false
215
223
  type:
216
224
  description: data graph type
217
225
  type: string
@@ -302,10 +310,40 @@ types:
302
310
  items:
303
311
  type: CdpDataGraphRelatedSegmentOutputRepresentation
304
312
  required: false
313
+ topKFilterCriteria:
314
+ description: topKFilterCriteria
315
+ type: CdpDataGraphTopKFilterCriteriaOutputRepresentation
316
+ required: false
305
317
  type:
306
318
  description: type
307
319
  type: string
308
320
  required: false
321
+ segmentOn:
322
+ description: Segment On Object Info
323
+ type: string
324
+ required: false
325
+ CdpDataGraphTopKFilterCriteriaOutputRepresentation:
326
+ description: Data Graph TopK Filter Criteria Output Representation
327
+ type: object
328
+ properties:
329
+ limit:
330
+ description: limit
331
+ type: integer
332
+ orderCriteria:
333
+ description: orderCriteria
334
+ type: array
335
+ items:
336
+ type: CdpDataGraphTopKSortOrderCriteriaOutputRepresentation
337
+ CdpDataGraphTopKSortOrderCriteriaOutputRepresentation:
338
+ description: Data Graph TopK Filter Sort Order Criteria Output Representation
339
+ type: object
340
+ properties:
341
+ fieldApiName:
342
+ description: fieldApiName
343
+ type: string
344
+ sortOrder:
345
+ description: sortOrder
346
+ type: string
309
347
  CdpDataGraphOutputRepresentation:
310
348
  description: Represents Cdp Data Graph Output
311
349
  type: CdpObjectBaseOutputRepresentation
@@ -460,6 +498,36 @@ types:
460
498
  type: array
461
499
  items:
462
500
  type: any
501
+ topKFilterCriteria:
502
+ description: TopK Filter Criteria
503
+ type: CdpDataGraphTopKFilterCriteriaInputRepresentation
504
+ required: false
505
+ segmentOn:
506
+ description: Segment On Object Info
507
+ type: string
508
+ required: false
509
+ CdpDataGraphTopKFilterCriteriaInputRepresentation:
510
+ description: Data Graph TopK Filter Criteria input representation
511
+ type: object
512
+ properties:
513
+ limit:
514
+ description: TopK Filter Sort Order Limit
515
+ type: integer
516
+ orderCriteria:
517
+ description: TopK Filter Sort Order Criteria
518
+ type: array
519
+ items:
520
+ type: CdpDataGraphTopKSortOrderCriteriaInputRepresentation
521
+ CdpDataGraphTopKSortOrderCriteriaInputRepresentation:
522
+ description: Data Graph TopK Sort Order Criteria input representation
523
+ type: object
524
+ properties:
525
+ fieldApiName:
526
+ description: TopK Filter Field Developer Name
527
+ type: string
528
+ sortOrder:
529
+ description: TopK Filter Sort Order Type
530
+ type: string
463
531
  CdpDataGraphRelatedSegmentOutputRepresentation:
464
532
  description: Represents Data Graph Related Segment
465
533
  type: object
@@ -474,6 +542,10 @@ types:
474
542
  label:
475
543
  description: label
476
544
  type: string
545
+ marketSegmentType:
546
+ description: Market Segment Type
547
+ type: string
548
+ required: false
477
549
  CdpDataGraphRetryInputRepresentation:
478
550
  description: Input representation for retry running error state CDP Data Graph
479
551
  type: object