@salesforce/lds-adapters-marketing-cdp 1.303.0 → 1.305.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 +228 -7
- package/dist/es/es2018/types/src/generated/adapters/createDataGraph.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/adapters/editDataGraph.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataGraphs.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotDataGraphs.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphInputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/DataGraphFullRefreshConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphFullRefreshConfigOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphIncrementalRefreshConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphIncrementalRefreshConfigOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphScheduleInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphScheduleOutputRepresentation.d.ts +31 -0
- package/package.json +4 -4
- package/sfdc/index.js +229 -8
- package/src/raml/api.raml +72 -0
|
@@ -92,7 +92,39 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
|
|
96
|
+
const v_error = (() => {
|
|
97
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
99
|
+
}
|
|
100
|
+
if (obj.schedule !== undefined) {
|
|
101
|
+
const obj_schedule = obj.schedule;
|
|
102
|
+
const path_schedule = path + '.schedule';
|
|
103
|
+
if (typeof obj_schedule !== 'object' || ArrayIsArray(obj_schedule) || obj_schedule === null) {
|
|
104
|
+
return new TypeError('Expected "object" but received "' + typeof obj_schedule + '" (at "' + path_schedule + '")');
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
})();
|
|
108
|
+
return v_error === undefined ? null : v_error;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function validate$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
|
|
112
|
+
const v_error = (() => {
|
|
113
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
114
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
115
|
+
}
|
|
116
|
+
if (obj.enabled !== undefined) {
|
|
117
|
+
const obj_enabled = obj.enabled;
|
|
118
|
+
const path_enabled = path + '.enabled';
|
|
119
|
+
if (typeof obj_enabled !== 'boolean') {
|
|
120
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
})();
|
|
124
|
+
return v_error === undefined ? null : v_error;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function validate$d(obj, path = 'CdpObjectBaseOutputRepresentation') {
|
|
96
128
|
const v_error = (() => {
|
|
97
129
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
130
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -176,13 +208,132 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
176
208
|
};
|
|
177
209
|
return keyBuilder$b(luvio, keyParams);
|
|
178
210
|
}
|
|
179
|
-
function equals$
|
|
211
|
+
function equals$9(existing, incoming) {
|
|
180
212
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
181
213
|
return false;
|
|
182
214
|
}
|
|
183
215
|
return true;
|
|
184
216
|
}
|
|
185
217
|
|
|
218
|
+
function validate$c(obj, path = 'DataGraphScheduleOutputRepresentation') {
|
|
219
|
+
const v_error = (() => {
|
|
220
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
221
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
222
|
+
}
|
|
223
|
+
if (obj.frequency !== undefined) {
|
|
224
|
+
const obj_frequency = obj.frequency;
|
|
225
|
+
const path_frequency = path + '.frequency';
|
|
226
|
+
if (typeof obj_frequency !== 'number' || (typeof obj_frequency === 'number' && Math.floor(obj_frequency) !== obj_frequency)) {
|
|
227
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_frequency + '" (at "' + path_frequency + '")');
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
if (obj.timeGranularity !== undefined) {
|
|
231
|
+
const obj_timeGranularity = obj.timeGranularity;
|
|
232
|
+
const path_timeGranularity = path + '.timeGranularity';
|
|
233
|
+
if (typeof obj_timeGranularity !== 'string') {
|
|
234
|
+
return new TypeError('Expected "string" but received "' + typeof obj_timeGranularity + '" (at "' + path_timeGranularity + '")');
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
})();
|
|
238
|
+
return v_error === undefined ? null : v_error;
|
|
239
|
+
}
|
|
240
|
+
function equals$8(existing, incoming) {
|
|
241
|
+
const existing_frequency = existing.frequency;
|
|
242
|
+
const incoming_frequency = incoming.frequency;
|
|
243
|
+
// if at least one of these optionals is defined
|
|
244
|
+
if (existing_frequency !== undefined || incoming_frequency !== undefined) {
|
|
245
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
246
|
+
// not equal
|
|
247
|
+
if (existing_frequency === undefined || incoming_frequency === undefined) {
|
|
248
|
+
return false;
|
|
249
|
+
}
|
|
250
|
+
if (!(existing_frequency === incoming_frequency)) {
|
|
251
|
+
return false;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
const existing_timeGranularity = existing.timeGranularity;
|
|
255
|
+
const incoming_timeGranularity = incoming.timeGranularity;
|
|
256
|
+
// if at least one of these optionals is defined
|
|
257
|
+
if (existing_timeGranularity !== undefined || incoming_timeGranularity !== undefined) {
|
|
258
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
259
|
+
// not equal
|
|
260
|
+
if (existing_timeGranularity === undefined || incoming_timeGranularity === undefined) {
|
|
261
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
if (!(existing_timeGranularity === incoming_timeGranularity)) {
|
|
264
|
+
return false;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
return true;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function validate$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
|
|
271
|
+
const v_error = (() => {
|
|
272
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
273
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
274
|
+
}
|
|
275
|
+
if (obj.schedule !== undefined) {
|
|
276
|
+
const obj_schedule = obj.schedule;
|
|
277
|
+
const path_schedule = path + '.schedule';
|
|
278
|
+
const referencepath_scheduleValidationError = validate$c(obj_schedule, path_schedule);
|
|
279
|
+
if (referencepath_scheduleValidationError !== null) {
|
|
280
|
+
let message = 'Object doesn\'t match DataGraphScheduleOutputRepresentation (at "' + path_schedule + '")\n';
|
|
281
|
+
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
282
|
+
return new TypeError(message);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
})();
|
|
286
|
+
return v_error === undefined ? null : v_error;
|
|
287
|
+
}
|
|
288
|
+
function equals$7(existing, incoming) {
|
|
289
|
+
const existing_schedule = existing.schedule;
|
|
290
|
+
const incoming_schedule = incoming.schedule;
|
|
291
|
+
// if at least one of these optionals is defined
|
|
292
|
+
if (existing_schedule !== undefined || incoming_schedule !== undefined) {
|
|
293
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
294
|
+
// not equal
|
|
295
|
+
if (existing_schedule === undefined || incoming_schedule === undefined) {
|
|
296
|
+
return false;
|
|
297
|
+
}
|
|
298
|
+
if (!(equals$8(existing_schedule, incoming_schedule))) {
|
|
299
|
+
return false;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
return true;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
function validate$a(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
|
|
306
|
+
const v_error = (() => {
|
|
307
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
308
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
309
|
+
}
|
|
310
|
+
if (obj.enabled !== undefined) {
|
|
311
|
+
const obj_enabled = obj.enabled;
|
|
312
|
+
const path_enabled = path + '.enabled';
|
|
313
|
+
if (typeof obj_enabled !== 'boolean') {
|
|
314
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
})();
|
|
318
|
+
return v_error === undefined ? null : v_error;
|
|
319
|
+
}
|
|
320
|
+
function equals$6(existing, incoming) {
|
|
321
|
+
const existing_enabled = existing.enabled;
|
|
322
|
+
const incoming_enabled = incoming.enabled;
|
|
323
|
+
// if at least one of these optionals is defined
|
|
324
|
+
if (existing_enabled !== undefined || incoming_enabled !== undefined) {
|
|
325
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
326
|
+
// not equal
|
|
327
|
+
if (existing_enabled === undefined || incoming_enabled === undefined) {
|
|
328
|
+
return false;
|
|
329
|
+
}
|
|
330
|
+
if (!(existing_enabled === incoming_enabled)) {
|
|
331
|
+
return false;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
return true;
|
|
335
|
+
}
|
|
336
|
+
|
|
186
337
|
function validate$9(obj, path = 'DependencyOutputRepresentation') {
|
|
187
338
|
const v_error = (() => {
|
|
188
339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -566,9 +717,9 @@ function equals$4(existing, incoming) {
|
|
|
566
717
|
return true;
|
|
567
718
|
}
|
|
568
719
|
|
|
569
|
-
const VERSION$3 = "
|
|
720
|
+
const VERSION$3 = "914866eb765caceadc6621e42fdc77b6";
|
|
570
721
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
571
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
722
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
572
723
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
573
724
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
574
725
|
}
|
|
@@ -588,11 +739,31 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
588
739
|
if (typeof obj_extendedProperties !== 'string') {
|
|
589
740
|
return new TypeError('Expected "string" but received "' + typeof obj_extendedProperties + '" (at "' + path_extendedProperties + '")');
|
|
590
741
|
}
|
|
742
|
+
if (obj.fullRefreshConfig !== undefined) {
|
|
743
|
+
const obj_fullRefreshConfig = obj.fullRefreshConfig;
|
|
744
|
+
const path_fullRefreshConfig = path + '.fullRefreshConfig';
|
|
745
|
+
const referencepath_fullRefreshConfigValidationError = validate$b(obj_fullRefreshConfig, path_fullRefreshConfig);
|
|
746
|
+
if (referencepath_fullRefreshConfigValidationError !== null) {
|
|
747
|
+
let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
|
|
748
|
+
message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
749
|
+
return new TypeError(message);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
591
752
|
const obj_idDmoName = obj.idDmoName;
|
|
592
753
|
const path_idDmoName = path + '.idDmoName';
|
|
593
754
|
if (typeof obj_idDmoName !== 'string') {
|
|
594
755
|
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
595
756
|
}
|
|
757
|
+
if (obj.incrementalRefreshConfig !== undefined) {
|
|
758
|
+
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
759
|
+
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
760
|
+
const referencepath_incrementalRefreshConfigValidationError = validate$a(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
|
|
761
|
+
if (referencepath_incrementalRefreshConfigValidationError !== null) {
|
|
762
|
+
let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
|
|
763
|
+
message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
764
|
+
return new TypeError(message);
|
|
765
|
+
}
|
|
766
|
+
}
|
|
596
767
|
if (obj.isRecordCachingDisabled !== undefined) {
|
|
597
768
|
const obj_isRecordCachingDisabled = obj.isRecordCachingDisabled;
|
|
598
769
|
const path_isRecordCachingDisabled = path + '.isRecordCachingDisabled';
|
|
@@ -685,7 +856,7 @@ const select$a = function CdpDataGraphOutputRepresentationSelect() {
|
|
|
685
856
|
};
|
|
686
857
|
};
|
|
687
858
|
function equals$3(existing, incoming) {
|
|
688
|
-
if (equals$
|
|
859
|
+
if (equals$9(existing, incoming) === false) {
|
|
689
860
|
return false;
|
|
690
861
|
}
|
|
691
862
|
const existing_isRecordCachingDisabled = existing.isRecordCachingDisabled;
|
|
@@ -809,6 +980,32 @@ function equals$3(existing, incoming) {
|
|
|
809
980
|
if (!(existing_version === incoming_version)) {
|
|
810
981
|
return false;
|
|
811
982
|
}
|
|
983
|
+
const existing_fullRefreshConfig = existing.fullRefreshConfig;
|
|
984
|
+
const incoming_fullRefreshConfig = incoming.fullRefreshConfig;
|
|
985
|
+
// if at least one of these optionals is defined
|
|
986
|
+
if (existing_fullRefreshConfig !== undefined || incoming_fullRefreshConfig !== undefined) {
|
|
987
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
988
|
+
// not equal
|
|
989
|
+
if (existing_fullRefreshConfig === undefined || incoming_fullRefreshConfig === undefined) {
|
|
990
|
+
return false;
|
|
991
|
+
}
|
|
992
|
+
if (!(equals$7(existing_fullRefreshConfig, incoming_fullRefreshConfig))) {
|
|
993
|
+
return false;
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
const existing_incrementalRefreshConfig = existing.incrementalRefreshConfig;
|
|
997
|
+
const incoming_incrementalRefreshConfig = incoming.incrementalRefreshConfig;
|
|
998
|
+
// if at least one of these optionals is defined
|
|
999
|
+
if (existing_incrementalRefreshConfig !== undefined || incoming_incrementalRefreshConfig !== undefined) {
|
|
1000
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1001
|
+
// not equal
|
|
1002
|
+
if (existing_incrementalRefreshConfig === undefined || incoming_incrementalRefreshConfig === undefined) {
|
|
1003
|
+
return false;
|
|
1004
|
+
}
|
|
1005
|
+
if (!(equals$6(existing_incrementalRefreshConfig, incoming_incrementalRefreshConfig))) {
|
|
1006
|
+
return false;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
812
1009
|
const existing_sourceObject = existing.sourceObject;
|
|
813
1010
|
const incoming_sourceObject = incoming.sourceObject;
|
|
814
1011
|
if (!(equals$4(existing_sourceObject, incoming_sourceObject))) {
|
|
@@ -889,6 +1086,8 @@ const createDataGraph_ConfigPropertyMetadata = [
|
|
|
889
1086
|
generateParamConfigMetadata('maxRecordsCached', false, 2 /* Body */, 3 /* Integer */),
|
|
890
1087
|
generateParamConfigMetadata('sessionEnd', false, 2 /* Body */, 3 /* Integer */),
|
|
891
1088
|
generateParamConfigMetadata('sessionEndTimeUnit', false, 2 /* Body */, 0 /* String */),
|
|
1089
|
+
generateParamConfigMetadata('fullRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1090
|
+
generateParamConfigMetadata('incrementalRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
892
1091
|
];
|
|
893
1092
|
const createDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataGraph_ConfigPropertyMetadata);
|
|
894
1093
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createDataGraph_ConfigPropertyMetadata);
|
|
@@ -897,6 +1096,16 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
897
1096
|
typeCheckConfig$8(untrustedConfig, config, createDataGraph_ConfigPropertyMetadata);
|
|
898
1097
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
899
1098
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1099
|
+
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1100
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
|
|
1101
|
+
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1102
|
+
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1103
|
+
}
|
|
1104
|
+
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1105
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
|
|
1106
|
+
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1107
|
+
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1108
|
+
}
|
|
900
1109
|
return config;
|
|
901
1110
|
}
|
|
902
1111
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -992,6 +1201,8 @@ const editDataGraph_ConfigPropertyMetadata = [
|
|
|
992
1201
|
generateParamConfigMetadata('maxRecordsCached', false, 2 /* Body */, 3 /* Integer */),
|
|
993
1202
|
generateParamConfigMetadata('sessionEnd', false, 2 /* Body */, 3 /* Integer */),
|
|
994
1203
|
generateParamConfigMetadata('sessionEndTimeUnit', false, 2 /* Body */, 0 /* String */),
|
|
1204
|
+
generateParamConfigMetadata('fullRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1205
|
+
generateParamConfigMetadata('incrementalRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
995
1206
|
];
|
|
996
1207
|
const editDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, editDataGraph_ConfigPropertyMetadata);
|
|
997
1208
|
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$8(editDataGraph_ConfigPropertyMetadata);
|
|
@@ -1000,6 +1211,16 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
1000
1211
|
typeCheckConfig$8(untrustedConfig, config, editDataGraph_ConfigPropertyMetadata);
|
|
1001
1212
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1002
1213
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1214
|
+
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1215
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
|
|
1216
|
+
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1217
|
+
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1218
|
+
}
|
|
1219
|
+
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1220
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
|
|
1221
|
+
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1222
|
+
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1223
|
+
}
|
|
1003
1224
|
return config;
|
|
1004
1225
|
}
|
|
1005
1226
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -1429,7 +1650,7 @@ const retryDataGraphAdapterFactory = (luvio) => {
|
|
|
1429
1650
|
|
|
1430
1651
|
const VERSION$1 = "0c15cc932d3ea4f07bf6a3b0429e3520";
|
|
1431
1652
|
function validate$1(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
1432
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
1653
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
1433
1654
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
1434
1655
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
1435
1656
|
}
|
|
@@ -1474,7 +1695,7 @@ const select$4 = function CdpDataGraphDependencyOutputRepresentationSelect() {
|
|
|
1474
1695
|
};
|
|
1475
1696
|
};
|
|
1476
1697
|
function equals$1(existing, incoming) {
|
|
1477
|
-
if (equals$
|
|
1698
|
+
if (equals$9(existing, incoming) === false) {
|
|
1478
1699
|
return false;
|
|
1479
1700
|
}
|
|
1480
1701
|
const existing_dependency = existing.dependency;
|
|
@@ -1,5 +1,7 @@
|
|
|
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 { DataGraphFullRefreshConfigInputRepresentation as types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from '../types/DataGraphFullRefreshConfigInputRepresentation';
|
|
4
|
+
import { DataGraphIncrementalRefreshConfigInputRepresentation as types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from '../types/DataGraphIncrementalRefreshConfigInputRepresentation';
|
|
3
5
|
import { ResourceRequestConfig as resources_postSsotDataGraphs_ResourceRequestConfig } from '../resources/postSsotDataGraphs';
|
|
4
6
|
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
5
7
|
export declare const adapterName = "createDataGraph";
|
|
@@ -18,6 +20,8 @@ export interface CreateDataGraphConfig {
|
|
|
18
20
|
maxRecordsCached?: number;
|
|
19
21
|
sessionEnd?: number;
|
|
20
22
|
sessionEndTimeUnit?: string;
|
|
23
|
+
fullRefreshConfig?: types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
24
|
+
incrementalRefreshConfig?: types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
21
25
|
}
|
|
22
26
|
export declare const createResourceParams: (config: CreateDataGraphConfig) => resources_postSsotDataGraphs_ResourceRequestConfig;
|
|
23
27
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateDataGraphConfig>): adapter$45$utils_Untrusted<CreateDataGraphConfig>;
|
|
@@ -1,5 +1,7 @@
|
|
|
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 { DataGraphFullRefreshConfigInputRepresentation as types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from '../types/DataGraphFullRefreshConfigInputRepresentation';
|
|
4
|
+
import { DataGraphIncrementalRefreshConfigInputRepresentation as types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from '../types/DataGraphIncrementalRefreshConfigInputRepresentation';
|
|
3
5
|
import { ResourceRequestConfig as resources_putSsotDataGraphs_ResourceRequestConfig } from '../resources/putSsotDataGraphs';
|
|
4
6
|
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
5
7
|
export declare const adapterName = "editDataGraph";
|
|
@@ -18,6 +20,8 @@ export interface EditDataGraphConfig {
|
|
|
18
20
|
maxRecordsCached?: number;
|
|
19
21
|
sessionEnd?: number;
|
|
20
22
|
sessionEndTimeUnit?: string;
|
|
23
|
+
fullRefreshConfig?: types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
24
|
+
incrementalRefreshConfig?: types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
21
25
|
}
|
|
22
26
|
export declare const createResourceParams: (config: EditDataGraphConfig) => resources_putSsotDataGraphs_ResourceRequestConfig;
|
|
23
27
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<EditDataGraphConfig>): adapter$45$utils_Untrusted<EditDataGraphConfig>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DataGraphFullRefreshConfigInputRepresentation as types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from '../types/DataGraphFullRefreshConfigInputRepresentation';
|
|
2
|
+
import { DataGraphIncrementalRefreshConfigInputRepresentation as types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from '../types/DataGraphIncrementalRefreshConfigInputRepresentation';
|
|
1
3
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
4
|
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
3
5
|
export interface ResourceRequestConfig {
|
|
@@ -14,6 +16,8 @@ export interface ResourceRequestConfig {
|
|
|
14
16
|
maxRecordsCached?: number;
|
|
15
17
|
sessionEnd?: number;
|
|
16
18
|
sessionEndTimeUnit?: string;
|
|
19
|
+
fullRefreshConfig?: types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
20
|
+
incrementalRefreshConfig?: types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
17
21
|
};
|
|
18
22
|
}
|
|
19
23
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { DataGraphFullRefreshConfigInputRepresentation as types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from '../types/DataGraphFullRefreshConfigInputRepresentation';
|
|
2
|
+
import { DataGraphIncrementalRefreshConfigInputRepresentation as types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from '../types/DataGraphIncrementalRefreshConfigInputRepresentation';
|
|
1
3
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
4
|
import { CdpDataGraphOutputRepresentation as types_CdpDataGraphOutputRepresentation_CdpDataGraphOutputRepresentation } from '../types/CdpDataGraphOutputRepresentation';
|
|
3
5
|
export interface ResourceRequestConfig {
|
|
@@ -14,6 +16,8 @@ export interface ResourceRequestConfig {
|
|
|
14
16
|
maxRecordsCached?: number;
|
|
15
17
|
sessionEnd?: number;
|
|
16
18
|
sessionEndTimeUnit?: string;
|
|
19
|
+
fullRefreshConfig?: types_DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
20
|
+
incrementalRefreshConfig?: types_DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
17
21
|
};
|
|
18
22
|
}
|
|
19
23
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { DataGraphFullRefreshConfigInputRepresentation as DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation } from './DataGraphFullRefreshConfigInputRepresentation';
|
|
2
|
+
import { DataGraphIncrementalRefreshConfigInputRepresentation as DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation } from './DataGraphIncrementalRefreshConfigInputRepresentation';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "e5b0715060e469e9bb7b2d12c4e80667";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
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;
|
|
@@ -20,6 +22,8 @@ export interface CdpDataGraphInputRepresentationNormalized {
|
|
|
20
22
|
dataspaceName?: string;
|
|
21
23
|
/** description */
|
|
22
24
|
description?: string;
|
|
25
|
+
fullRefreshConfig?: DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
26
|
+
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
23
27
|
/** Is prefetch is disabled for given data graph */
|
|
24
28
|
isRecordCachingDisabled?: boolean;
|
|
25
29
|
/** label */
|
|
@@ -49,6 +53,8 @@ export interface CdpDataGraphInputRepresentation {
|
|
|
49
53
|
cacheDurationInDays?: number;
|
|
50
54
|
dataspaceName?: string;
|
|
51
55
|
description?: string;
|
|
56
|
+
fullRefreshConfig?: DataGraphFullRefreshConfigInputRepresentation_DataGraphFullRefreshConfigInputRepresentation;
|
|
57
|
+
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigInputRepresentation_DataGraphIncrementalRefreshConfigInputRepresentation;
|
|
52
58
|
isRecordCachingDisabled?: boolean;
|
|
53
59
|
label?: string;
|
|
54
60
|
maxRecordsCached?: number;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { keyBuilder as CdpObjectBaseOutputRepresentation_keyBuilder, CdpObjectBaseOutputRepresentation as CdpObjectBaseOutputRepresentation_CdpObjectBaseOutputRepresentation } from './CdpObjectBaseOutputRepresentation';
|
|
2
|
+
import { DataGraphFullRefreshConfigOutputRepresentation as DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation } from './DataGraphFullRefreshConfigOutputRepresentation';
|
|
3
|
+
import { DataGraphIncrementalRefreshConfigOutputRepresentation as DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation } from './DataGraphIncrementalRefreshConfigOutputRepresentation';
|
|
2
4
|
import { CdpDataGraphSourceObjectOutputRepresentation as CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation } from './CdpDataGraphSourceObjectOutputRepresentation';
|
|
3
5
|
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "914866eb765caceadc6621e42fdc77b6";
|
|
5
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
8
|
export declare const RepresentationType: string;
|
|
7
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: Parameters<typeof CdpObjectBaseOutputRepresentation_keyBuilder>[1]): string;
|
|
@@ -24,8 +26,10 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
24
26
|
cacheDurationInDays?: number;
|
|
25
27
|
/** extended properties */
|
|
26
28
|
extendedProperties: string;
|
|
29
|
+
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
27
30
|
/** id_dmo_name */
|
|
28
31
|
idDmoName: string;
|
|
32
|
+
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
29
33
|
/** Is prefetch is disabled for given data graph */
|
|
30
34
|
isRecordCachingDisabled?: boolean;
|
|
31
35
|
/** last run status */
|
|
@@ -58,7 +62,9 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
|
|
|
58
62
|
export interface CdpDataGraphOutputRepresentation extends CdpObjectBaseOutputRepresentation_CdpObjectBaseOutputRepresentation {
|
|
59
63
|
cacheDurationInDays?: number;
|
|
60
64
|
extendedProperties: string;
|
|
65
|
+
fullRefreshConfig?: DataGraphFullRefreshConfigOutputRepresentation_DataGraphFullRefreshConfigOutputRepresentation;
|
|
61
66
|
idDmoName: string;
|
|
67
|
+
incrementalRefreshConfig?: DataGraphIncrementalRefreshConfigOutputRepresentation_DataGraphIncrementalRefreshConfigOutputRepresentation;
|
|
62
68
|
isRecordCachingDisabled?: boolean;
|
|
63
69
|
lastRunStatus?: string;
|
|
64
70
|
maxRecordsCached?: number;
|
package/dist/es/es2018/types/src/generated/types/DataGraphFullRefreshConfigInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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 = "cf06aa834327b83172e8495ce8ac75a2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataGraphFullRefreshConfigInputRepresentation, existing: DataGraphFullRefreshConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphFullRefreshConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataGraphFullRefreshConfigInputRepresentationNormalized, incoming: DataGraphFullRefreshConfigInputRepresentationNormalized): 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: DataGraphFullRefreshConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Data Graph Full Refresh Config input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataGraphFullRefreshConfigInputRepresentationNormalized {
|
|
17
|
+
/** schedule */
|
|
18
|
+
schedule?: {};
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Data Graph Full Refresh Config input representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface DataGraphFullRefreshConfigInputRepresentation {
|
|
27
|
+
schedule?: {};
|
|
28
|
+
}
|
package/dist/es/es2018/types/src/generated/types/DataGraphFullRefreshConfigOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DataGraphScheduleOutputRepresentation as DataGraphScheduleOutputRepresentation_DataGraphScheduleOutputRepresentation } from './DataGraphScheduleOutputRepresentation';
|
|
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 = "357c45150d9c6dd2af30013e75efad2a";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataGraphFullRefreshConfigOutputRepresentation, existing: DataGraphFullRefreshConfigOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphFullRefreshConfigOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DataGraphFullRefreshConfigOutputRepresentationNormalized, incoming: DataGraphFullRefreshConfigOutputRepresentationNormalized): 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: DataGraphFullRefreshConfigOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents Cdp Data Graph Full Refresh Config Output Output
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DataGraphFullRefreshConfigOutputRepresentationNormalized {
|
|
18
|
+
schedule?: DataGraphScheduleOutputRepresentation_DataGraphScheduleOutputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents Cdp Data Graph Full Refresh Config Output Output
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface DataGraphFullRefreshConfigOutputRepresentation {
|
|
27
|
+
schedule?: DataGraphScheduleOutputRepresentation_DataGraphScheduleOutputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "e9dc660f59321295739d61363d0a1dda";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataGraphIncrementalRefreshConfigInputRepresentation, existing: DataGraphIncrementalRefreshConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphIncrementalRefreshConfigInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataGraphIncrementalRefreshConfigInputRepresentationNormalized, incoming: DataGraphIncrementalRefreshConfigInputRepresentationNormalized): 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: DataGraphIncrementalRefreshConfigInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Data Graph Incremental Refresh input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataGraphIncrementalRefreshConfigInputRepresentationNormalized {
|
|
17
|
+
/** enabled */
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Data Graph Incremental Refresh input representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface DataGraphIncrementalRefreshConfigInputRepresentation {
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "6f5a4878a0844e3b7e4faba7696067e0";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataGraphIncrementalRefreshConfigOutputRepresentation, existing: DataGraphIncrementalRefreshConfigOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphIncrementalRefreshConfigOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataGraphIncrementalRefreshConfigOutputRepresentationNormalized, incoming: DataGraphIncrementalRefreshConfigOutputRepresentationNormalized): 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: DataGraphIncrementalRefreshConfigOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents Cdp Data Graph Full Refresh Config Output
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataGraphIncrementalRefreshConfigOutputRepresentationNormalized {
|
|
17
|
+
/** enabled */
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents Cdp Data Graph Full Refresh Config Output
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface DataGraphIncrementalRefreshConfigOutputRepresentation {
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
}
|
|
@@ -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 = "23598e300f7d8b5e01966d5b67754aff";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataGraphScheduleInputRepresentation, existing: DataGraphScheduleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphScheduleInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataGraphScheduleInputRepresentationNormalized, incoming: DataGraphScheduleInputRepresentationNormalized): 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: DataGraphScheduleInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Data Graph Schedule input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataGraphScheduleInputRepresentationNormalized {
|
|
17
|
+
/** frequency */
|
|
18
|
+
frequency?: number;
|
|
19
|
+
/** time granularity */
|
|
20
|
+
timeGranularity?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Data Graph Schedule input representation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataGraphScheduleInputRepresentation {
|
|
29
|
+
frequency?: number;
|
|
30
|
+
timeGranularity?: 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 = "adfde12d47ed74e466536a8a39f9dffa";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DataGraphScheduleOutputRepresentation, existing: DataGraphScheduleOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataGraphScheduleOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DataGraphScheduleOutputRepresentationNormalized, incoming: DataGraphScheduleOutputRepresentationNormalized): 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: DataGraphScheduleOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents Data Graph Full refresh Schedule
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface DataGraphScheduleOutputRepresentationNormalized {
|
|
17
|
+
/** frequency */
|
|
18
|
+
frequency?: number;
|
|
19
|
+
/** time Granularity */
|
|
20
|
+
timeGranularity?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Represents Data Graph Full refresh Schedule
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DataGraphScheduleOutputRepresentation {
|
|
29
|
+
frequency?: number;
|
|
30
|
+
timeGranularity?: string;
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-marketing-cdp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.305.0",
|
|
4
4
|
"description": "LDS adapters for CDP",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/marketing-cdp.js",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:unit": "jest"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/lds-bindings": "^1.
|
|
46
|
+
"@salesforce/lds-bindings": "^1.305.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.305.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.305.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -102,7 +102,39 @@ function createLink(ref) {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
function validate$
|
|
105
|
+
function validate$f(obj, path = 'DataGraphFullRefreshConfigInputRepresentation') {
|
|
106
|
+
const v_error = (() => {
|
|
107
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
109
|
+
}
|
|
110
|
+
if (obj.schedule !== undefined) {
|
|
111
|
+
const obj_schedule = obj.schedule;
|
|
112
|
+
const path_schedule = path + '.schedule';
|
|
113
|
+
if (typeof obj_schedule !== 'object' || ArrayIsArray(obj_schedule) || obj_schedule === null) {
|
|
114
|
+
return new TypeError('Expected "object" but received "' + typeof obj_schedule + '" (at "' + path_schedule + '")');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
})();
|
|
118
|
+
return v_error === undefined ? null : v_error;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function validate$e(obj, path = 'DataGraphIncrementalRefreshConfigInputRepresentation') {
|
|
122
|
+
const v_error = (() => {
|
|
123
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
124
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
125
|
+
}
|
|
126
|
+
if (obj.enabled !== undefined) {
|
|
127
|
+
const obj_enabled = obj.enabled;
|
|
128
|
+
const path_enabled = path + '.enabled';
|
|
129
|
+
if (typeof obj_enabled !== 'boolean') {
|
|
130
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
})();
|
|
134
|
+
return v_error === undefined ? null : v_error;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function validate$d(obj, path = 'CdpObjectBaseOutputRepresentation') {
|
|
106
138
|
const v_error = (() => {
|
|
107
139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
108
140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -186,13 +218,132 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
186
218
|
};
|
|
187
219
|
return keyBuilder$b(luvio, keyParams);
|
|
188
220
|
}
|
|
189
|
-
function equals$
|
|
221
|
+
function equals$9(existing, incoming) {
|
|
190
222
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
191
223
|
return false;
|
|
192
224
|
}
|
|
193
225
|
return true;
|
|
194
226
|
}
|
|
195
227
|
|
|
228
|
+
function validate$c(obj, path = 'DataGraphScheduleOutputRepresentation') {
|
|
229
|
+
const v_error = (() => {
|
|
230
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
231
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
232
|
+
}
|
|
233
|
+
if (obj.frequency !== undefined) {
|
|
234
|
+
const obj_frequency = obj.frequency;
|
|
235
|
+
const path_frequency = path + '.frequency';
|
|
236
|
+
if (typeof obj_frequency !== 'number' || (typeof obj_frequency === 'number' && Math.floor(obj_frequency) !== obj_frequency)) {
|
|
237
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_frequency + '" (at "' + path_frequency + '")');
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (obj.timeGranularity !== undefined) {
|
|
241
|
+
const obj_timeGranularity = obj.timeGranularity;
|
|
242
|
+
const path_timeGranularity = path + '.timeGranularity';
|
|
243
|
+
if (typeof obj_timeGranularity !== 'string') {
|
|
244
|
+
return new TypeError('Expected "string" but received "' + typeof obj_timeGranularity + '" (at "' + path_timeGranularity + '")');
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
})();
|
|
248
|
+
return v_error === undefined ? null : v_error;
|
|
249
|
+
}
|
|
250
|
+
function equals$8(existing, incoming) {
|
|
251
|
+
const existing_frequency = existing.frequency;
|
|
252
|
+
const incoming_frequency = incoming.frequency;
|
|
253
|
+
// if at least one of these optionals is defined
|
|
254
|
+
if (existing_frequency !== undefined || incoming_frequency !== undefined) {
|
|
255
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
256
|
+
// not equal
|
|
257
|
+
if (existing_frequency === undefined || incoming_frequency === undefined) {
|
|
258
|
+
return false;
|
|
259
|
+
}
|
|
260
|
+
if (!(existing_frequency === incoming_frequency)) {
|
|
261
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
const existing_timeGranularity = existing.timeGranularity;
|
|
265
|
+
const incoming_timeGranularity = incoming.timeGranularity;
|
|
266
|
+
// if at least one of these optionals is defined
|
|
267
|
+
if (existing_timeGranularity !== undefined || incoming_timeGranularity !== undefined) {
|
|
268
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
269
|
+
// not equal
|
|
270
|
+
if (existing_timeGranularity === undefined || incoming_timeGranularity === undefined) {
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
if (!(existing_timeGranularity === incoming_timeGranularity)) {
|
|
274
|
+
return false;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return true;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function validate$b(obj, path = 'DataGraphFullRefreshConfigOutputRepresentation') {
|
|
281
|
+
const v_error = (() => {
|
|
282
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
283
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
284
|
+
}
|
|
285
|
+
if (obj.schedule !== undefined) {
|
|
286
|
+
const obj_schedule = obj.schedule;
|
|
287
|
+
const path_schedule = path + '.schedule';
|
|
288
|
+
const referencepath_scheduleValidationError = validate$c(obj_schedule, path_schedule);
|
|
289
|
+
if (referencepath_scheduleValidationError !== null) {
|
|
290
|
+
let message = 'Object doesn\'t match DataGraphScheduleOutputRepresentation (at "' + path_schedule + '")\n';
|
|
291
|
+
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
292
|
+
return new TypeError(message);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
})();
|
|
296
|
+
return v_error === undefined ? null : v_error;
|
|
297
|
+
}
|
|
298
|
+
function equals$7(existing, incoming) {
|
|
299
|
+
const existing_schedule = existing.schedule;
|
|
300
|
+
const incoming_schedule = incoming.schedule;
|
|
301
|
+
// if at least one of these optionals is defined
|
|
302
|
+
if (existing_schedule !== undefined || incoming_schedule !== undefined) {
|
|
303
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
304
|
+
// not equal
|
|
305
|
+
if (existing_schedule === undefined || incoming_schedule === undefined) {
|
|
306
|
+
return false;
|
|
307
|
+
}
|
|
308
|
+
if (!(equals$8(existing_schedule, incoming_schedule))) {
|
|
309
|
+
return false;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return true;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
function validate$a(obj, path = 'DataGraphIncrementalRefreshConfigOutputRepresentation') {
|
|
316
|
+
const v_error = (() => {
|
|
317
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
318
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
319
|
+
}
|
|
320
|
+
if (obj.enabled !== undefined) {
|
|
321
|
+
const obj_enabled = obj.enabled;
|
|
322
|
+
const path_enabled = path + '.enabled';
|
|
323
|
+
if (typeof obj_enabled !== 'boolean') {
|
|
324
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
})();
|
|
328
|
+
return v_error === undefined ? null : v_error;
|
|
329
|
+
}
|
|
330
|
+
function equals$6(existing, incoming) {
|
|
331
|
+
const existing_enabled = existing.enabled;
|
|
332
|
+
const incoming_enabled = incoming.enabled;
|
|
333
|
+
// if at least one of these optionals is defined
|
|
334
|
+
if (existing_enabled !== undefined || incoming_enabled !== undefined) {
|
|
335
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
336
|
+
// not equal
|
|
337
|
+
if (existing_enabled === undefined || incoming_enabled === undefined) {
|
|
338
|
+
return false;
|
|
339
|
+
}
|
|
340
|
+
if (!(existing_enabled === incoming_enabled)) {
|
|
341
|
+
return false;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return true;
|
|
345
|
+
}
|
|
346
|
+
|
|
196
347
|
function validate$9(obj, path = 'DependencyOutputRepresentation') {
|
|
197
348
|
const v_error = (() => {
|
|
198
349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -576,9 +727,9 @@ function equals$4(existing, incoming) {
|
|
|
576
727
|
return true;
|
|
577
728
|
}
|
|
578
729
|
|
|
579
|
-
const VERSION$3 = "
|
|
730
|
+
const VERSION$3 = "914866eb765caceadc6621e42fdc77b6";
|
|
580
731
|
function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
581
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
732
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
582
733
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
583
734
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
584
735
|
}
|
|
@@ -598,11 +749,31 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
|
|
|
598
749
|
if (typeof obj_extendedProperties !== 'string') {
|
|
599
750
|
return new TypeError('Expected "string" but received "' + typeof obj_extendedProperties + '" (at "' + path_extendedProperties + '")');
|
|
600
751
|
}
|
|
752
|
+
if (obj.fullRefreshConfig !== undefined) {
|
|
753
|
+
const obj_fullRefreshConfig = obj.fullRefreshConfig;
|
|
754
|
+
const path_fullRefreshConfig = path + '.fullRefreshConfig';
|
|
755
|
+
const referencepath_fullRefreshConfigValidationError = validate$b(obj_fullRefreshConfig, path_fullRefreshConfig);
|
|
756
|
+
if (referencepath_fullRefreshConfigValidationError !== null) {
|
|
757
|
+
let message = 'Object doesn\'t match DataGraphFullRefreshConfigOutputRepresentation (at "' + path_fullRefreshConfig + '")\n';
|
|
758
|
+
message += referencepath_fullRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
759
|
+
return new TypeError(message);
|
|
760
|
+
}
|
|
761
|
+
}
|
|
601
762
|
const obj_idDmoName = obj.idDmoName;
|
|
602
763
|
const path_idDmoName = path + '.idDmoName';
|
|
603
764
|
if (typeof obj_idDmoName !== 'string') {
|
|
604
765
|
return new TypeError('Expected "string" but received "' + typeof obj_idDmoName + '" (at "' + path_idDmoName + '")');
|
|
605
766
|
}
|
|
767
|
+
if (obj.incrementalRefreshConfig !== undefined) {
|
|
768
|
+
const obj_incrementalRefreshConfig = obj.incrementalRefreshConfig;
|
|
769
|
+
const path_incrementalRefreshConfig = path + '.incrementalRefreshConfig';
|
|
770
|
+
const referencepath_incrementalRefreshConfigValidationError = validate$a(obj_incrementalRefreshConfig, path_incrementalRefreshConfig);
|
|
771
|
+
if (referencepath_incrementalRefreshConfigValidationError !== null) {
|
|
772
|
+
let message = 'Object doesn\'t match DataGraphIncrementalRefreshConfigOutputRepresentation (at "' + path_incrementalRefreshConfig + '")\n';
|
|
773
|
+
message += referencepath_incrementalRefreshConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
774
|
+
return new TypeError(message);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
606
777
|
if (obj.isRecordCachingDisabled !== undefined) {
|
|
607
778
|
const obj_isRecordCachingDisabled = obj.isRecordCachingDisabled;
|
|
608
779
|
const path_isRecordCachingDisabled = path + '.isRecordCachingDisabled';
|
|
@@ -695,7 +866,7 @@ const select$a = function CdpDataGraphOutputRepresentationSelect() {
|
|
|
695
866
|
};
|
|
696
867
|
};
|
|
697
868
|
function equals$3(existing, incoming) {
|
|
698
|
-
if (equals$
|
|
869
|
+
if (equals$9(existing, incoming) === false) {
|
|
699
870
|
return false;
|
|
700
871
|
}
|
|
701
872
|
const existing_isRecordCachingDisabled = existing.isRecordCachingDisabled;
|
|
@@ -819,6 +990,32 @@ function equals$3(existing, incoming) {
|
|
|
819
990
|
if (!(existing_version === incoming_version)) {
|
|
820
991
|
return false;
|
|
821
992
|
}
|
|
993
|
+
const existing_fullRefreshConfig = existing.fullRefreshConfig;
|
|
994
|
+
const incoming_fullRefreshConfig = incoming.fullRefreshConfig;
|
|
995
|
+
// if at least one of these optionals is defined
|
|
996
|
+
if (existing_fullRefreshConfig !== undefined || incoming_fullRefreshConfig !== undefined) {
|
|
997
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
998
|
+
// not equal
|
|
999
|
+
if (existing_fullRefreshConfig === undefined || incoming_fullRefreshConfig === undefined) {
|
|
1000
|
+
return false;
|
|
1001
|
+
}
|
|
1002
|
+
if (!(equals$7(existing_fullRefreshConfig, incoming_fullRefreshConfig))) {
|
|
1003
|
+
return false;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
const existing_incrementalRefreshConfig = existing.incrementalRefreshConfig;
|
|
1007
|
+
const incoming_incrementalRefreshConfig = incoming.incrementalRefreshConfig;
|
|
1008
|
+
// if at least one of these optionals is defined
|
|
1009
|
+
if (existing_incrementalRefreshConfig !== undefined || incoming_incrementalRefreshConfig !== undefined) {
|
|
1010
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1011
|
+
// not equal
|
|
1012
|
+
if (existing_incrementalRefreshConfig === undefined || incoming_incrementalRefreshConfig === undefined) {
|
|
1013
|
+
return false;
|
|
1014
|
+
}
|
|
1015
|
+
if (!(equals$6(existing_incrementalRefreshConfig, incoming_incrementalRefreshConfig))) {
|
|
1016
|
+
return false;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
822
1019
|
const existing_sourceObject = existing.sourceObject;
|
|
823
1020
|
const incoming_sourceObject = incoming.sourceObject;
|
|
824
1021
|
if (!(equals$4(existing_sourceObject, incoming_sourceObject))) {
|
|
@@ -899,6 +1096,8 @@ const createDataGraph_ConfigPropertyMetadata = [
|
|
|
899
1096
|
generateParamConfigMetadata('maxRecordsCached', false, 2 /* Body */, 3 /* Integer */),
|
|
900
1097
|
generateParamConfigMetadata('sessionEnd', false, 2 /* Body */, 3 /* Integer */),
|
|
901
1098
|
generateParamConfigMetadata('sessionEndTimeUnit', false, 2 /* Body */, 0 /* String */),
|
|
1099
|
+
generateParamConfigMetadata('fullRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1100
|
+
generateParamConfigMetadata('incrementalRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
902
1101
|
];
|
|
903
1102
|
const createDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, createDataGraph_ConfigPropertyMetadata);
|
|
904
1103
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$8(createDataGraph_ConfigPropertyMetadata);
|
|
@@ -907,6 +1106,16 @@ function typeCheckConfig$7(untrustedConfig) {
|
|
|
907
1106
|
typeCheckConfig$8(untrustedConfig, config, createDataGraph_ConfigPropertyMetadata);
|
|
908
1107
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
909
1108
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1109
|
+
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1110
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
|
|
1111
|
+
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1112
|
+
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1113
|
+
}
|
|
1114
|
+
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1115
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
|
|
1116
|
+
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1117
|
+
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1118
|
+
}
|
|
910
1119
|
return config;
|
|
911
1120
|
}
|
|
912
1121
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -1086,6 +1295,8 @@ const editDataGraph_ConfigPropertyMetadata = [
|
|
|
1086
1295
|
generateParamConfigMetadata('maxRecordsCached', false, 2 /* Body */, 3 /* Integer */),
|
|
1087
1296
|
generateParamConfigMetadata('sessionEnd', false, 2 /* Body */, 3 /* Integer */),
|
|
1088
1297
|
generateParamConfigMetadata('sessionEndTimeUnit', false, 2 /* Body */, 0 /* String */),
|
|
1298
|
+
generateParamConfigMetadata('fullRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1299
|
+
generateParamConfigMetadata('incrementalRefreshConfig', false, 2 /* Body */, 4 /* Unsupported */),
|
|
1089
1300
|
];
|
|
1090
1301
|
const editDataGraph_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, editDataGraph_ConfigPropertyMetadata);
|
|
1091
1302
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$8(editDataGraph_ConfigPropertyMetadata);
|
|
@@ -1094,6 +1305,16 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
1094
1305
|
typeCheckConfig$8(untrustedConfig, config, editDataGraph_ConfigPropertyMetadata);
|
|
1095
1306
|
const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
|
|
1096
1307
|
config.sourceObject = untrustedConfig_sourceObject;
|
|
1308
|
+
const untrustedConfig_fullRefreshConfig = untrustedConfig.fullRefreshConfig;
|
|
1309
|
+
const referenceDataGraphFullRefreshConfigInputRepresentationValidationError = validate$f(untrustedConfig_fullRefreshConfig);
|
|
1310
|
+
if (referenceDataGraphFullRefreshConfigInputRepresentationValidationError === null) {
|
|
1311
|
+
config.fullRefreshConfig = untrustedConfig_fullRefreshConfig;
|
|
1312
|
+
}
|
|
1313
|
+
const untrustedConfig_incrementalRefreshConfig = untrustedConfig.incrementalRefreshConfig;
|
|
1314
|
+
const referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError = validate$e(untrustedConfig_incrementalRefreshConfig);
|
|
1315
|
+
if (referenceDataGraphIncrementalRefreshConfigInputRepresentationValidationError === null) {
|
|
1316
|
+
config.incrementalRefreshConfig = untrustedConfig_incrementalRefreshConfig;
|
|
1317
|
+
}
|
|
1097
1318
|
return config;
|
|
1098
1319
|
}
|
|
1099
1320
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -1313,7 +1534,7 @@ const notifyChangeFactory$2 = (luvio, options) => {
|
|
|
1313
1534
|
|
|
1314
1535
|
const VERSION$2 = "0c15cc932d3ea4f07bf6a3b0429e3520";
|
|
1315
1536
|
function validate$2(obj, path = 'CdpDataGraphDependencyOutputRepresentation') {
|
|
1316
|
-
const validateCdpObjectBaseOutputRepresentation_validateError = validate$
|
|
1537
|
+
const validateCdpObjectBaseOutputRepresentation_validateError = validate$d(obj, path);
|
|
1317
1538
|
if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
|
|
1318
1539
|
return validateCdpObjectBaseOutputRepresentation_validateError;
|
|
1319
1540
|
}
|
|
@@ -1358,7 +1579,7 @@ const select$6 = function CdpDataGraphDependencyOutputRepresentationSelect() {
|
|
|
1358
1579
|
};
|
|
1359
1580
|
};
|
|
1360
1581
|
function equals$2(existing, incoming) {
|
|
1361
|
-
if (equals$
|
|
1582
|
+
if (equals$9(existing, incoming) === false) {
|
|
1362
1583
|
return false;
|
|
1363
1584
|
}
|
|
1364
1585
|
const existing_dependency = existing.dependency;
|
|
@@ -2122,4 +2343,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2122
2343
|
});
|
|
2123
2344
|
|
|
2124
2345
|
export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
|
|
2125
|
-
// version: 1.
|
|
2346
|
+
// version: 1.305.0-ec92f7304c
|
package/src/raml/api.raml
CHANGED
|
@@ -236,6 +236,14 @@ types:
|
|
|
236
236
|
description: Unit of Session duration
|
|
237
237
|
type: string
|
|
238
238
|
required: false
|
|
239
|
+
fullRefreshConfig:
|
|
240
|
+
description: Full Refresh Config
|
|
241
|
+
type: DataGraphFullRefreshConfigInputRepresentation
|
|
242
|
+
required: false
|
|
243
|
+
incrementalRefreshConfig:
|
|
244
|
+
description: Incremental transform mapping developer name
|
|
245
|
+
type: DataGraphIncrementalRefreshConfigInputRepresentation
|
|
246
|
+
required: false
|
|
239
247
|
CdpDataGraphSourceObjectOutputRepresentation:
|
|
240
248
|
description: Represents Cdp Data Graph Source Output
|
|
241
249
|
type: object
|
|
@@ -351,6 +359,14 @@ types:
|
|
|
351
359
|
description: Unit of Session duration
|
|
352
360
|
type: string
|
|
353
361
|
required: false
|
|
362
|
+
fullRefreshConfig:
|
|
363
|
+
description: full refresh config
|
|
364
|
+
type: DataGraphFullRefreshConfigOutputRepresentation
|
|
365
|
+
required: false
|
|
366
|
+
incrementalRefreshConfig:
|
|
367
|
+
description: incremental refresh config
|
|
368
|
+
type: DataGraphIncrementalRefreshConfigOutputRepresentation
|
|
369
|
+
required: false
|
|
354
370
|
CdpDataGraphPathToParentInputRepresentation:
|
|
355
371
|
description: Data Graph Source Object Path input representation
|
|
356
372
|
type: object
|
|
@@ -493,6 +509,62 @@ types:
|
|
|
493
509
|
jsonSchema:
|
|
494
510
|
description: save data graph draft json schema
|
|
495
511
|
type: string
|
|
512
|
+
DataGraphFullRefreshConfigInputRepresentation:
|
|
513
|
+
description: Data Graph Full Refresh Config input representation
|
|
514
|
+
type: object
|
|
515
|
+
properties:
|
|
516
|
+
schedule:
|
|
517
|
+
description: schedule
|
|
518
|
+
type: object
|
|
519
|
+
required: false
|
|
520
|
+
DataGraphScheduleInputRepresentation:
|
|
521
|
+
description: Data Graph Schedule input representation
|
|
522
|
+
type: object
|
|
523
|
+
properties:
|
|
524
|
+
frequency:
|
|
525
|
+
description: frequency
|
|
526
|
+
type: integer
|
|
527
|
+
required: false
|
|
528
|
+
timeGranularity:
|
|
529
|
+
description: time granularity
|
|
530
|
+
type: string
|
|
531
|
+
required: false
|
|
532
|
+
DataGraphIncrementalRefreshConfigInputRepresentation:
|
|
533
|
+
description: Data Graph Incremental Refresh input representation
|
|
534
|
+
type: object
|
|
535
|
+
properties:
|
|
536
|
+
enabled:
|
|
537
|
+
description: enabled
|
|
538
|
+
type: boolean
|
|
539
|
+
required: false
|
|
540
|
+
DataGraphIncrementalRefreshConfigOutputRepresentation:
|
|
541
|
+
description: Represents Cdp Data Graph Full Refresh Config Output
|
|
542
|
+
type: object
|
|
543
|
+
properties:
|
|
544
|
+
enabled:
|
|
545
|
+
description: enabled
|
|
546
|
+
type: boolean
|
|
547
|
+
required: false
|
|
548
|
+
DataGraphFullRefreshConfigOutputRepresentation:
|
|
549
|
+
description: Represents Cdp Data Graph Full Refresh Config Output Output
|
|
550
|
+
type: object
|
|
551
|
+
properties:
|
|
552
|
+
schedule:
|
|
553
|
+
description: schedule
|
|
554
|
+
type: DataGraphScheduleOutputRepresentation
|
|
555
|
+
required: false
|
|
556
|
+
DataGraphScheduleOutputRepresentation:
|
|
557
|
+
description: Represents Data Graph Full refresh Schedule
|
|
558
|
+
type: object
|
|
559
|
+
properties:
|
|
560
|
+
frequency:
|
|
561
|
+
description: frequency
|
|
562
|
+
type: integer
|
|
563
|
+
required: false
|
|
564
|
+
timeGranularity:
|
|
565
|
+
description: time Granularity
|
|
566
|
+
type: string
|
|
567
|
+
required: false
|
|
496
568
|
/ssot:
|
|
497
569
|
/data-graphs:
|
|
498
570
|
post:
|