@salesforce/lds-adapters-marketing-cdp 1.217.0 → 1.219.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/marketing-cdp.js +73 -46
- package/dist/es/es2018/types/src/generated/adapters/createDataGraph.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteDataGraph.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataGraph.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/retryDataGraph.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -6
- package/dist/es/es2018/types/src/generated/resources/{deleteSsotApplicationDataGraphsByAdgName.d.ts → deleteSsotDataGraphsByDataGraphName.d.ts} +1 -1
- package/dist/es/es2018/types/src/generated/resources/{getSsotApplicationDataGraphsByAdgName.d.ts → getSsotDataGraphsByDataGraphName.d.ts} +6 -6
- package/dist/es/es2018/types/src/generated/resources/{postSsotApplicationDataGraphs.d.ts → postSsotDataGraphs.d.ts} +3 -3
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphDataRecencyInputRepresentation.d.ts → CdpDataGraphDataRecencyInputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphFieldInputRepresentation.d.ts → CdpDataGraphFieldInputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphFieldOutputRepresentation.d.ts → CdpDataGraphFieldOutputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphInputRepresentation.d.ts → CdpDataGraphInputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphOutputRepresentation.d.ts → CdpDataGraphOutputRepresentation.d.ts} +13 -10
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphPathToParentInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphPathToParentOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/{CdpApplicationDataGraphRecencyCriteriaOutputRepresentation.d.ts → CdpDataGraphRecencyCriteriaOutputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphSourceInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphSourceObjectOutputRepresentation.d.ts +46 -0
- package/package.json +1 -1
- package/sfdc/index.js +93 -66
- package/src/raml/api.raml +47 -39
- package/src/raml/luvio.raml +13 -13
- package/dist/es/es2018/types/src/generated/adapters/createAdg.d.ts +0 -21
- package/dist/es/es2018/types/src/generated/adapters/deleteAdg.d.ts +0 -14
- package/dist/es/es2018/types/src/generated/adapters/getAdg.d.ts +0 -29
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentInputRepresentation.d.ts +0 -31
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentOutputRepresentation.d.ts +0 -31
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceInputRepresentation.d.ts +0 -43
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceObjectOutputRepresentation.d.ts +0 -43
- /package/dist/es/es2018/types/src/generated/resources/{putSsotApplicationDataGraphsRetry.d.ts → putSsotDataGraphsRetry.d.ts} +0 -0
|
@@ -170,7 +170,7 @@ function equals$3(existing, incoming) {
|
|
|
170
170
|
return true;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
function validate$5(obj, path = '
|
|
173
|
+
function validate$5(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
|
|
174
174
|
const v_error = (() => {
|
|
175
175
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
176
176
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -196,7 +196,7 @@ function validate$5(obj, path = 'CdpApplicationDataGraphFieldOutputRepresentatio
|
|
|
196
196
|
return v_error === undefined ? null : v_error;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
function validate$4(obj, path = '
|
|
199
|
+
function validate$4(obj, path = 'CdpDataGraphPathToParentOutputRepresentation') {
|
|
200
200
|
const v_error = (() => {
|
|
201
201
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
202
202
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -215,7 +215,7 @@ function validate$4(obj, path = 'CdpApplicationDataGraphPathToParentOutputRepres
|
|
|
215
215
|
return v_error === undefined ? null : v_error;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
function validate$3(obj, path = '
|
|
218
|
+
function validate$3(obj, path = 'CdpDataGraphRecencyCriteriaOutputRepresentation') {
|
|
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 + '")');
|
|
@@ -244,7 +244,7 @@ function validate$3(obj, path = 'CdpApplicationDataGraphRecencyCriteriaOutputRep
|
|
|
244
244
|
return v_error === undefined ? null : v_error;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
function validate$2(obj, path = '
|
|
247
|
+
function validate$2(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation') {
|
|
248
248
|
const v_error = (() => {
|
|
249
249
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
250
250
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -259,11 +259,18 @@ function validate$2(obj, path = 'CdpApplicationDataGraphSourceObjectOutputRepres
|
|
|
259
259
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
260
260
|
const referencepath_fields_itemValidationError = validate$5(obj_fields_item, path_fields_item);
|
|
261
261
|
if (referencepath_fields_itemValidationError !== null) {
|
|
262
|
-
let message = 'Object doesn\'t match
|
|
262
|
+
let message = 'Object doesn\'t match CdpDataGraphFieldOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
263
263
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
264
264
|
return new TypeError(message);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
+
if (obj.fragmentDMOName !== undefined) {
|
|
268
|
+
const obj_fragmentDMOName = obj.fragmentDMOName;
|
|
269
|
+
const path_fragmentDMOName = path + '.fragmentDMOName';
|
|
270
|
+
if (typeof obj_fragmentDMOName !== 'string') {
|
|
271
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fragmentDMOName + '" (at "' + path_fragmentDMOName + '")');
|
|
272
|
+
}
|
|
273
|
+
}
|
|
267
274
|
if (obj.path !== undefined) {
|
|
268
275
|
const obj_path = obj.path;
|
|
269
276
|
const path_path = path + '.path';
|
|
@@ -275,7 +282,7 @@ function validate$2(obj, path = 'CdpApplicationDataGraphSourceObjectOutputRepres
|
|
|
275
282
|
const path_path_item = path_path + '[' + i + ']';
|
|
276
283
|
const referencepath_path_itemValidationError = validate$4(obj_path_item, path_path_item);
|
|
277
284
|
if (referencepath_path_itemValidationError !== null) {
|
|
278
|
-
let message = 'Object doesn\'t match
|
|
285
|
+
let message = 'Object doesn\'t match CdpDataGraphPathToParentOutputRepresentation (at "' + path_path_item + '")\n';
|
|
279
286
|
message += referencepath_path_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
280
287
|
return new TypeError(message);
|
|
281
288
|
}
|
|
@@ -292,7 +299,7 @@ function validate$2(obj, path = 'CdpApplicationDataGraphSourceObjectOutputRepres
|
|
|
292
299
|
const path_recencyCriteria_item = path_recencyCriteria + '[' + i + ']';
|
|
293
300
|
const referencepath_recencyCriteria_itemValidationError = validate$3(obj_recencyCriteria_item, path_recencyCriteria_item);
|
|
294
301
|
if (referencepath_recencyCriteria_itemValidationError !== null) {
|
|
295
|
-
let message = 'Object doesn\'t match
|
|
302
|
+
let message = 'Object doesn\'t match CdpDataGraphRecencyCriteriaOutputRepresentation (at "' + path_recencyCriteria_item + '")\n';
|
|
296
303
|
message += referencepath_recencyCriteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
297
304
|
return new TypeError(message);
|
|
298
305
|
}
|
|
@@ -325,8 +332,8 @@ function equals$2(existing, incoming) {
|
|
|
325
332
|
return true;
|
|
326
333
|
}
|
|
327
334
|
|
|
328
|
-
const VERSION$1 = "
|
|
329
|
-
function validate$1(obj, path = '
|
|
335
|
+
const VERSION$1 = "bbd243dcf96b6ef88e2f90d2491e63f0";
|
|
336
|
+
function validate$1(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
330
337
|
const validateCdpObjectBaseOutputRepresentation_validateError = validate$6(obj, path);
|
|
331
338
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
332
339
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
@@ -345,6 +352,13 @@ function validate$1(obj, path = 'CdpApplicationDataGraphOutputRepresentation') {
|
|
|
345
352
|
if (typeof obj_idDmoName !== 'string') {
|
|
346
353
|
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
347
354
|
}
|
|
355
|
+
if (obj.lastRunStatus !== undefined) {
|
|
356
|
+
const obj_lastRunStatus = obj.lastRunStatus;
|
|
357
|
+
const path_lastRunStatus = path + '.lastRunStatus';
|
|
358
|
+
if (typeof obj_lastRunStatus !== 'string') {
|
|
359
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastRunStatus + '" (at "' + path_lastRunStatus + '")');
|
|
360
|
+
}
|
|
361
|
+
}
|
|
348
362
|
const obj_primaryObjectName = obj.primaryObjectName;
|
|
349
363
|
const path_primaryObjectName = path + '.primaryObjectName';
|
|
350
364
|
if (typeof obj_primaryObjectName !== 'string') {
|
|
@@ -359,7 +373,7 @@ function validate$1(obj, path = 'CdpApplicationDataGraphOutputRepresentation') {
|
|
|
359
373
|
const path_sourceObject = path + '.sourceObject';
|
|
360
374
|
const referencepath_sourceObjectValidationError = validate$2(obj_sourceObject, path_sourceObject);
|
|
361
375
|
if (referencepath_sourceObjectValidationError !== null) {
|
|
362
|
-
let message = 'Object doesn\'t match
|
|
376
|
+
let message = 'Object doesn\'t match CdpDataGraphSourceObjectOutputRepresentation (at "' + path_sourceObject + '")\n';
|
|
363
377
|
message += referencepath_sourceObjectValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
364
378
|
return new TypeError(message);
|
|
365
379
|
}
|
|
@@ -381,7 +395,7 @@ function validate$1(obj, path = 'CdpApplicationDataGraphOutputRepresentation') {
|
|
|
381
395
|
})();
|
|
382
396
|
return v_error === undefined ? null : v_error;
|
|
383
397
|
}
|
|
384
|
-
const RepresentationType$1 = '
|
|
398
|
+
const RepresentationType$1 = 'CdpDataGraphOutputRepresentation';
|
|
385
399
|
function keyBuilder$4(luvio, config) {
|
|
386
400
|
return keyBuilder$5(luvio, config);
|
|
387
401
|
}
|
|
@@ -391,7 +405,7 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
391
405
|
function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
392
406
|
return input;
|
|
393
407
|
}
|
|
394
|
-
const select$4 = function
|
|
408
|
+
const select$4 = function CdpDataGraphOutputRepresentationSelect() {
|
|
395
409
|
return {
|
|
396
410
|
kind: 'Fragment',
|
|
397
411
|
version: VERSION$1,
|
|
@@ -413,6 +427,19 @@ function equals$1(existing, incoming) {
|
|
|
413
427
|
if (!(existing_idDmoName === incoming_idDmoName)) {
|
|
414
428
|
return false;
|
|
415
429
|
}
|
|
430
|
+
const existing_lastRunStatus = existing.lastRunStatus;
|
|
431
|
+
const incoming_lastRunStatus = incoming.lastRunStatus;
|
|
432
|
+
// if at least one of these optionals is defined
|
|
433
|
+
if (existing_lastRunStatus !== undefined || incoming_lastRunStatus !== undefined) {
|
|
434
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
435
|
+
// not equal
|
|
436
|
+
if (existing_lastRunStatus === undefined || incoming_lastRunStatus === undefined) {
|
|
437
|
+
return false;
|
|
438
|
+
}
|
|
439
|
+
if (!(existing_lastRunStatus === incoming_lastRunStatus)) {
|
|
440
|
+
return false;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
416
443
|
const existing_primaryObjectName = existing.primaryObjectName;
|
|
417
444
|
const incoming_primaryObjectName = incoming.primaryObjectName;
|
|
418
445
|
if (!(existing_primaryObjectName === incoming_primaryObjectName)) {
|
|
@@ -445,7 +472,7 @@ function equals$1(existing, incoming) {
|
|
|
445
472
|
}
|
|
446
473
|
return true;
|
|
447
474
|
}
|
|
448
|
-
const ingest$1 = function
|
|
475
|
+
const ingest$1 = function CdpDataGraphOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
449
476
|
if (process.env.NODE_ENV !== 'production') {
|
|
450
477
|
const validateError = validate$1(input);
|
|
451
478
|
if (validateError !== null) {
|
|
@@ -494,7 +521,7 @@ function createResourceRequest$3(config) {
|
|
|
494
521
|
const headers = {};
|
|
495
522
|
return {
|
|
496
523
|
baseUri: '/services/data/v58.0',
|
|
497
|
-
basePath: '/ssot/
|
|
524
|
+
basePath: '/ssot/data-graphs',
|
|
498
525
|
method: 'post',
|
|
499
526
|
body: config.body,
|
|
500
527
|
urlParams: {},
|
|
@@ -504,8 +531,8 @@ function createResourceRequest$3(config) {
|
|
|
504
531
|
};
|
|
505
532
|
}
|
|
506
533
|
|
|
507
|
-
const adapterName$3 = '
|
|
508
|
-
const
|
|
534
|
+
const adapterName$3 = 'createDataGraph';
|
|
535
|
+
const createDataGraph_ConfigPropertyMetadata = [
|
|
509
536
|
generateParamConfigMetadata('dataspaceName', false, 2 /* Body */, 0 /* String */),
|
|
510
537
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
511
538
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
@@ -514,11 +541,11 @@ const createAdg_ConfigPropertyMetadata = [
|
|
|
514
541
|
generateParamConfigMetadata('primaryObjectType', true, 2 /* Body */, 0 /* String */),
|
|
515
542
|
generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
|
|
516
543
|
];
|
|
517
|
-
const
|
|
518
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(
|
|
544
|
+
const createDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, createDataGraph_ConfigPropertyMetadata);
|
|
545
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$4(createDataGraph_ConfigPropertyMetadata);
|
|
519
546
|
function typeCheckConfig$3(untrustedConfig) {
|
|
520
547
|
const config = {};
|
|
521
|
-
typeCheckConfig$4(untrustedConfig, config,
|
|
548
|
+
typeCheckConfig$4(untrustedConfig, config, createDataGraph_ConfigPropertyMetadata);
|
|
522
549
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
523
550
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
524
551
|
return config;
|
|
@@ -554,12 +581,12 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
554
581
|
throw response;
|
|
555
582
|
});
|
|
556
583
|
}
|
|
557
|
-
const
|
|
558
|
-
return function
|
|
559
|
-
const config = validateAdapterConfig$3(untrustedConfig,
|
|
584
|
+
const createDataGraphAdapterFactory = (luvio) => {
|
|
585
|
+
return function createDataGraph(untrustedConfig) {
|
|
586
|
+
const config = validateAdapterConfig$3(untrustedConfig, createDataGraph_ConfigPropertyNames);
|
|
560
587
|
// Invalid or incomplete config
|
|
561
588
|
if (config === null) {
|
|
562
|
-
throw new Error('Invalid config for "
|
|
589
|
+
throw new Error('Invalid config for "createDataGraph"');
|
|
563
590
|
}
|
|
564
591
|
return buildNetworkSnapshot$3(luvio, config);
|
|
565
592
|
};
|
|
@@ -570,7 +597,7 @@ function select$2(luvio, params) {
|
|
|
570
597
|
}
|
|
571
598
|
function keyBuilder$3(luvio, params) {
|
|
572
599
|
return keyBuilder$4(luvio, {
|
|
573
|
-
name: params.urlParams.
|
|
600
|
+
name: params.urlParams.dataGraphName
|
|
574
601
|
});
|
|
575
602
|
}
|
|
576
603
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -603,7 +630,7 @@ function createResourceRequest$2(config) {
|
|
|
603
630
|
const headers = {};
|
|
604
631
|
return {
|
|
605
632
|
baseUri: '/services/data/v58.0',
|
|
606
|
-
basePath: '/ssot/
|
|
633
|
+
basePath: '/ssot/data-graphs/' + config.urlParams.dataGraphName + '',
|
|
607
634
|
method: 'get',
|
|
608
635
|
body: null,
|
|
609
636
|
urlParams: config.urlParams,
|
|
@@ -613,19 +640,19 @@ function createResourceRequest$2(config) {
|
|
|
613
640
|
};
|
|
614
641
|
}
|
|
615
642
|
|
|
616
|
-
const adapterName$2 = '
|
|
617
|
-
const
|
|
618
|
-
generateParamConfigMetadata('
|
|
643
|
+
const adapterName$2 = 'getDataGraph';
|
|
644
|
+
const getDataGraph_ConfigPropertyMetadata = [
|
|
645
|
+
generateParamConfigMetadata('dataGraphName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
619
646
|
];
|
|
620
|
-
const
|
|
621
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(
|
|
647
|
+
const getDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getDataGraph_ConfigPropertyMetadata);
|
|
648
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$4(getDataGraph_ConfigPropertyMetadata);
|
|
622
649
|
function keyBuilder$2(luvio, config) {
|
|
623
650
|
const resourceParams = createResourceParams$2(config);
|
|
624
651
|
return keyBuilder$3(luvio, resourceParams);
|
|
625
652
|
}
|
|
626
653
|
function typeCheckConfig$2(untrustedConfig) {
|
|
627
654
|
const config = {};
|
|
628
|
-
typeCheckConfig$4(untrustedConfig, config,
|
|
655
|
+
typeCheckConfig$4(untrustedConfig, config, getDataGraph_ConfigPropertyMetadata);
|
|
629
656
|
return config;
|
|
630
657
|
}
|
|
631
658
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -689,8 +716,8 @@ function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
|
689
716
|
});
|
|
690
717
|
return cacheSnapshot;
|
|
691
718
|
}
|
|
692
|
-
const
|
|
693
|
-
const config = validateAdapterConfig$2(untrustedConfig,
|
|
719
|
+
const getDataGraphAdapterFactory = (luvio) => function CDP__getDataGraph(untrustedConfig, requestContext) {
|
|
720
|
+
const config = validateAdapterConfig$2(untrustedConfig, getDataGraph_ConfigPropertyNames);
|
|
694
721
|
// Invalid or incomplete config
|
|
695
722
|
if (config === null) {
|
|
696
723
|
return null;
|
|
@@ -701,7 +728,7 @@ const getAdgAdapterFactory = (luvio) => function CDP__getAdg(untrustedConfig, re
|
|
|
701
728
|
|
|
702
729
|
function keyBuilder$1(luvio, params) {
|
|
703
730
|
return keyBuilder$4(luvio, {
|
|
704
|
-
name: params.urlParams.
|
|
731
|
+
name: params.urlParams.dataGraphName
|
|
705
732
|
});
|
|
706
733
|
}
|
|
707
734
|
function getResponseCacheKeys$1(cacheKeyMap, luvio, resourceParams) {
|
|
@@ -720,7 +747,7 @@ function createResourceRequest$1(config) {
|
|
|
720
747
|
const headers = {};
|
|
721
748
|
return {
|
|
722
749
|
baseUri: '/services/data/v58.0',
|
|
723
|
-
basePath: '/ssot/
|
|
750
|
+
basePath: '/ssot/data-graphs/' + config.urlParams.dataGraphName + '',
|
|
724
751
|
method: 'delete',
|
|
725
752
|
body: null,
|
|
726
753
|
urlParams: config.urlParams,
|
|
@@ -730,15 +757,15 @@ function createResourceRequest$1(config) {
|
|
|
730
757
|
};
|
|
731
758
|
}
|
|
732
759
|
|
|
733
|
-
const adapterName$1 = '
|
|
734
|
-
const
|
|
735
|
-
generateParamConfigMetadata('
|
|
760
|
+
const adapterName$1 = 'deleteDataGraph';
|
|
761
|
+
const deleteDataGraph_ConfigPropertyMetadata = [
|
|
762
|
+
generateParamConfigMetadata('dataGraphName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
736
763
|
];
|
|
737
|
-
const
|
|
738
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(
|
|
764
|
+
const deleteDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, deleteDataGraph_ConfigPropertyMetadata);
|
|
765
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$4(deleteDataGraph_ConfigPropertyMetadata);
|
|
739
766
|
function typeCheckConfig$1(untrustedConfig) {
|
|
740
767
|
const config = {};
|
|
741
|
-
typeCheckConfig$4(untrustedConfig, config,
|
|
768
|
+
typeCheckConfig$4(untrustedConfig, config, deleteDataGraph_ConfigPropertyMetadata);
|
|
742
769
|
return config;
|
|
743
770
|
}
|
|
744
771
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -772,9 +799,9 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
772
799
|
throw response;
|
|
773
800
|
});
|
|
774
801
|
}
|
|
775
|
-
const
|
|
776
|
-
return function
|
|
777
|
-
const config = validateAdapterConfig$1(untrustedConfig,
|
|
802
|
+
const deleteDataGraphAdapterFactory = (luvio) => {
|
|
803
|
+
return function CDPdeleteDataGraph(untrustedConfig) {
|
|
804
|
+
const config = validateAdapterConfig$1(untrustedConfig, deleteDataGraph_ConfigPropertyNames);
|
|
778
805
|
// Invalid or incomplete config
|
|
779
806
|
if (config === null) {
|
|
780
807
|
throw new Error(`Invalid config for "${adapterName$1}"`);
|
|
@@ -883,7 +910,7 @@ function createResourceRequest(config) {
|
|
|
883
910
|
const headers = {};
|
|
884
911
|
return {
|
|
885
912
|
baseUri: '/services/data/v58.0',
|
|
886
|
-
basePath: '/ssot/
|
|
913
|
+
basePath: '/ssot/data-graphs/retry',
|
|
887
914
|
method: 'put',
|
|
888
915
|
body: config.body,
|
|
889
916
|
urlParams: {},
|
|
@@ -946,4 +973,4 @@ const retryDataGraphAdapterFactory = (luvio) => {
|
|
|
946
973
|
};
|
|
947
974
|
};
|
|
948
975
|
|
|
949
|
-
export {
|
|
976
|
+
export { createDataGraphAdapterFactory, deleteDataGraphAdapterFactory, getDataGraphAdapterFactory, retryDataGraphAdapterFactory };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postSsotDataGraphs_ResourceRequestConfig } from '../resources/postSsotDataGraphs';
|
|
4
|
+
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createDataGraph";
|
|
6
|
+
export declare const createDataGraph_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createDataGraph_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateDataGraphConfig {
|
|
9
|
+
dataspaceName?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
primaryObjectName: string;
|
|
14
|
+
primaryObjectType: string;
|
|
15
|
+
sourceObject: unknown;
|
|
16
|
+
}
|
|
17
|
+
export declare const createResourceParams: (config: CreateDataGraphConfig) => resources_postSsotDataGraphs_ResourceRequestConfig;
|
|
18
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataGraphConfig>): adapter$45$utils_Untrusted<CreateDataGraphConfig>;
|
|
19
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateDataGraphConfig | null;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateDataGraphConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>>;
|
|
21
|
+
export declare const createDataGraphAdapterFactory: $64$luvio_engine_AdapterFactory<CreateDataGraphConfig, types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, DeleteAdapterFactory as $64$luvio_engine_DeleteAdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_deleteSsotDataGraphsByDataGraphName_ResourceRequestConfig } from '../resources/deleteSsotDataGraphsByDataGraphName';
|
|
4
|
+
export declare const adapterName = "deleteDataGraph";
|
|
5
|
+
export declare const deleteDataGraph_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
|
+
export declare const deleteDataGraph_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface DeleteDataGraphConfig {
|
|
8
|
+
dataGraphName: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: DeleteDataGraphConfig) => resources_deleteSsotDataGraphsByDataGraphName_ResourceRequestConfig;
|
|
11
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteDataGraphConfig>): adapter$45$utils_Untrusted<DeleteDataGraphConfig>;
|
|
12
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteDataGraphConfig | null;
|
|
13
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteDataGraphConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
14
|
+
export declare const deleteDataGraphAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteDataGraphConfig>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getSsotDataGraphsByDataGraphName_ResourceRequestConfig } from '../resources/getSsotDataGraphsByDataGraphName';
|
|
4
|
+
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
5
|
+
import { KeyParams as types_CdpObjectBaseOutputRepresentation_KeyParams } from '../types/CdpObjectBaseOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "getDataGraph";
|
|
7
|
+
export declare const getDataGraph_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getDataGraph_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetDataGraphConfig {
|
|
10
|
+
dataGraphName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetDataGraphConfig) => resources_getSsotDataGraphsByDataGraphName_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetDataGraphConfig>): adapter$45$utils_Untrusted<GetDataGraphConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetDataGraphConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig): $64$luvio_engine_Snapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig, resourceParams: resources_getSsotDataGraphsByDataGraphName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig, resourceParams: resources_getSsotDataGraphsByDataGraphName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDataGraphConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetDataGraphConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>): $64$luvio_engine_Snapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>;
|
|
28
|
+
export declare const getDataGraphAdapterFactory: $64$luvio_engine_AdapterFactory<GetDataGraphConfig, types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_CdpObjectBaseOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as
|
|
3
|
+
import { ResourceRequestConfig as resources_putSsotDataGraphsRetry_ResourceRequestConfig } from '../resources/putSsotDataGraphsRetry';
|
|
4
4
|
import { CdpDataGraphRetryOutputRepresentation as types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation } from '../types/CdpDataGraphRetryOutputRepresentation';
|
|
5
5
|
export declare const adapterName = "retryDataGraph";
|
|
6
6
|
export declare const retryDataGraph_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
@@ -8,7 +8,7 @@ export declare const retryDataGraph_ConfigPropertyNames: adapter$45$utils_Adapte
|
|
|
8
8
|
export interface RetryDataGraphConfig {
|
|
9
9
|
dataGraphName: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const createResourceParams: (config: RetryDataGraphConfig) =>
|
|
11
|
+
export declare const createResourceParams: (config: RetryDataGraphConfig) => resources_putSsotDataGraphsRetry_ResourceRequestConfig;
|
|
12
12
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<RetryDataGraphConfig>): adapter$45$utils_Untrusted<RetryDataGraphConfig>;
|
|
13
13
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): RetryDataGraphConfig | null;
|
|
14
14
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: RetryDataGraphConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpDataGraphRetryOutputRepresentation_CdpDataGraphRetryOutputRepresentation, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { createDataGraphAdapterFactory } from '../adapters/createDataGraph';
|
|
2
|
+
export { getDataGraphAdapterFactory } from '../adapters/getDataGraph';
|
|
3
|
+
export { deleteDataGraphAdapterFactory } from '../adapters/deleteDataGraph';
|
|
4
4
|
export { retryDataGraphAdapterFactory } from '../adapters/retryDataGraph';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
declare let
|
|
3
|
-
declare let
|
|
4
|
-
declare let
|
|
1
|
+
declare let createDataGraph: any;
|
|
2
|
+
declare let deleteDataGraph: any;
|
|
3
|
+
declare let getDataGraph: any;
|
|
4
|
+
declare let getDataGraphNotifyChange: any;
|
|
5
5
|
declare let retryDataGraph: any;
|
|
6
|
-
declare let
|
|
7
|
-
export {
|
|
6
|
+
declare let getDataGraph_imperative: any;
|
|
7
|
+
export { createDataGraph, deleteDataGraph, getDataGraph, getDataGraphNotifyChange, retryDataGraph, getDataGraph_imperative };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
export interface ResourceRequestConfig {
|
|
3
3
|
urlParams: {
|
|
4
|
-
|
|
4
|
+
dataGraphName: string;
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
7
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
-
import {
|
|
2
|
+
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
dataGraphName: string;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
12
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
13
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
15
|
export default createResourceRequest;
|
|
16
|
-
export declare function createResourceRequestFromRepresentation(representation:
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
-
import {
|
|
2
|
+
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
body: {
|
|
5
5
|
dataspaceName?: string;
|
|
@@ -12,7 +12,7 @@ export interface ResourceRequestConfig {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
16
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation, any>;
|
|
17
17
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
18
|
export default createResourceRequest;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "8d7586a7232db663b786a80e7903d605";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input:
|
|
5
|
+
export declare function normalize(input: CdpDataGraphDataRecencyInputRepresentation, existing: CdpDataGraphDataRecencyInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphDataRecencyInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing:
|
|
7
|
+
export declare function equals(existing: CdpDataGraphDataRecencyInputRepresentationNormalized, incoming: CdpDataGraphDataRecencyInputRepresentationNormalized): boolean;
|
|
8
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:
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphDataRecencyInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Data Graph Recency Criteria input representation
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface CdpDataGraphDataRecencyInputRepresentationNormalized {
|
|
17
17
|
/** field_name */
|
|
18
18
|
fieldName: string;
|
|
19
19
|
/** value */
|
|
@@ -24,12 +24,12 @@ export interface CdpApplicationDataGraphDataRecencyInputRepresentationNormalized
|
|
|
24
24
|
valueUnit: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Data Graph Recency Criteria input representation
|
|
28
28
|
*
|
|
29
29
|
* Keys:
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
|
-
export interface
|
|
32
|
+
export interface CdpDataGraphDataRecencyInputRepresentation {
|
|
33
33
|
fieldName: string;
|
|
34
34
|
value: number;
|
|
35
35
|
valueType: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "ad1a850ee4aa5f91675ef372a4c77ebb";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input:
|
|
5
|
+
export declare function normalize(input: CdpDataGraphFieldInputRepresentation, existing: CdpDataGraphFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFieldInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing:
|
|
7
|
+
export declare function equals(existing: CdpDataGraphFieldInputRepresentationNormalized, incoming: CdpDataGraphFieldInputRepresentationNormalized): boolean;
|
|
8
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:
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpDataGraphFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Data Graph Field input representation
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface CdpDataGraphFieldInputRepresentationNormalized {
|
|
17
17
|
/** Field Data Type */
|
|
18
18
|
dataType?: string;
|
|
19
19
|
/** is column a key */
|
|
@@ -22,12 +22,12 @@ export interface CdpApplicationDataGraphFieldInputRepresentationNormalized {
|
|
|
22
22
|
sourceFieldName: string;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Data Graph Field input representation
|
|
26
26
|
*
|
|
27
27
|
* Keys:
|
|
28
28
|
* (none)
|
|
29
29
|
*/
|
|
30
|
-
export interface
|
|
30
|
+
export interface CdpDataGraphFieldInputRepresentation {
|
|
31
31
|
dataType?: string;
|
|
32
32
|
isKeyColumn: boolean;
|
|
33
33
|
sourceFieldName: string;
|