@salesforce/lds-adapters-industries-recordaggregation 1.344.0 → 1.346.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/industries-recordaggregation.js +324 -197
- package/dist/es/es2018/types/src/generated/adapters/performBulkRecordRollupSyncExecution.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregationBulkRecordRollupSyncExecution.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/BulkRecordRollupSyncExecutionInputRepresentation.d.ts +7 -9
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultLastUpdatedInfoOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/RecordRollupSyncExecutionInputRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +293 -166
- package/src/raml/api.raml +31 -7
|
@@ -112,7 +112,7 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$s(obj, path = 'RecordAggregationFilterRowInputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -141,7 +141,7 @@ function validate$q(obj, path = 'RecordAggregationFilterRowInputRepresentation')
|
|
|
141
141
|
return v_error === undefined ? null : v_error;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
function validate$
|
|
144
|
+
function validate$r(obj, path = 'RecordAggregationFilterInputRepresentation') {
|
|
145
145
|
const v_error = (() => {
|
|
146
146
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
147
147
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -155,7 +155,7 @@ function validate$p(obj, path = 'RecordAggregationFilterInputRepresentation') {
|
|
|
155
155
|
for (let i = 0; i < obj_filterConditions.length; i++) {
|
|
156
156
|
const obj_filterConditions_item = obj_filterConditions[i];
|
|
157
157
|
const path_filterConditions_item = path_filterConditions + '[' + i + ']';
|
|
158
|
-
const referencepath_filterConditions_itemValidationError = validate$
|
|
158
|
+
const referencepath_filterConditions_itemValidationError = validate$s(obj_filterConditions_item, path_filterConditions_item);
|
|
159
159
|
if (referencepath_filterConditions_itemValidationError !== null) {
|
|
160
160
|
let message = 'Object doesn\'t match RecordAggregationFilterRowInputRepresentation (at "' + path_filterConditions_item + '")\n';
|
|
161
161
|
message += referencepath_filterConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -174,7 +174,7 @@ function validate$p(obj, path = 'RecordAggregationFilterInputRepresentation') {
|
|
|
174
174
|
return v_error === undefined ? null : v_error;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
function validate$
|
|
177
|
+
function validate$q(obj, path = 'RecordAggregationJoinInputRepresentation') {
|
|
178
178
|
const v_error = (() => {
|
|
179
179
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
180
180
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -188,7 +188,7 @@ function validate$o(obj, path = 'RecordAggregationJoinInputRepresentation') {
|
|
|
188
188
|
return v_error === undefined ? null : v_error;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
function validate$
|
|
191
|
+
function validate$p(obj, path = 'RecordAggregationAssociatedObjectInputRepresentation') {
|
|
192
192
|
const v_error = (() => {
|
|
193
193
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
194
194
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -202,7 +202,7 @@ function validate$n(obj, path = 'RecordAggregationAssociatedObjectInputRepresent
|
|
|
202
202
|
return v_error === undefined ? null : v_error;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
function validate$
|
|
205
|
+
function validate$o(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
206
206
|
const v_error = (() => {
|
|
207
207
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
208
208
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -210,7 +210,7 @@ function validate$m(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
|
210
210
|
if (obj.filterDetails !== undefined) {
|
|
211
211
|
const obj_filterDetails = obj.filterDetails;
|
|
212
212
|
const path_filterDetails = path + '.filterDetails';
|
|
213
|
-
const referencepath_filterDetailsValidationError = validate$
|
|
213
|
+
const referencepath_filterDetailsValidationError = validate$r(obj_filterDetails, path_filterDetails);
|
|
214
214
|
if (referencepath_filterDetailsValidationError !== null) {
|
|
215
215
|
let message = 'Object doesn\'t match RecordAggregationFilterInputRepresentation (at "' + path_filterDetails + '")\n';
|
|
216
216
|
message += referencepath_filterDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -220,7 +220,7 @@ function validate$m(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
|
220
220
|
if (obj.nextObjectJoinDetails !== undefined) {
|
|
221
221
|
const obj_nextObjectJoinDetails = obj.nextObjectJoinDetails;
|
|
222
222
|
const path_nextObjectJoinDetails = path + '.nextObjectJoinDetails';
|
|
223
|
-
const referencepath_nextObjectJoinDetailsValidationError = validate$
|
|
223
|
+
const referencepath_nextObjectJoinDetailsValidationError = validate$q(obj_nextObjectJoinDetails, path_nextObjectJoinDetails);
|
|
224
224
|
if (referencepath_nextObjectJoinDetailsValidationError !== null) {
|
|
225
225
|
let message = 'Object doesn\'t match RecordAggregationJoinInputRepresentation (at "' + path_nextObjectJoinDetails + '")\n';
|
|
226
226
|
message += referencepath_nextObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -229,7 +229,7 @@ function validate$m(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
|
229
229
|
}
|
|
230
230
|
const obj_objectDetails = obj.objectDetails;
|
|
231
231
|
const path_objectDetails = path + '.objectDetails';
|
|
232
|
-
const referencepath_objectDetailsValidationError = validate$
|
|
232
|
+
const referencepath_objectDetailsValidationError = validate$p(obj_objectDetails, path_objectDetails);
|
|
233
233
|
if (referencepath_objectDetailsValidationError !== null) {
|
|
234
234
|
let message = 'Object doesn\'t match RecordAggregationAssociatedObjectInputRepresentation (at "' + path_objectDetails + '")\n';
|
|
235
235
|
message += referencepath_objectDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -238,7 +238,7 @@ function validate$m(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
|
238
238
|
if (obj.previousObjectJoinDetails !== undefined) {
|
|
239
239
|
const obj_previousObjectJoinDetails = obj.previousObjectJoinDetails;
|
|
240
240
|
const path_previousObjectJoinDetails = path + '.previousObjectJoinDetails';
|
|
241
|
-
const referencepath_previousObjectJoinDetailsValidationError = validate$
|
|
241
|
+
const referencepath_previousObjectJoinDetailsValidationError = validate$q(obj_previousObjectJoinDetails, path_previousObjectJoinDetails);
|
|
242
242
|
if (referencepath_previousObjectJoinDetailsValidationError !== null) {
|
|
243
243
|
let message = 'Object doesn\'t match RecordAggregationJoinInputRepresentation (at "' + path_previousObjectJoinDetails + '")\n';
|
|
244
244
|
message += referencepath_previousObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -254,8 +254,8 @@ function validate$m(obj, path = 'RecordAggregationNodeInputRepresentation') {
|
|
|
254
254
|
return v_error === undefined ? null : v_error;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
const VERSION$
|
|
258
|
-
function validate$
|
|
257
|
+
const VERSION$m = "360b76c13b79ed8a1d3522d29b8a91e1";
|
|
258
|
+
function validate$n(obj, path = 'RecordAggregationCreationOutputRepresentation') {
|
|
259
259
|
const v_error = (() => {
|
|
260
260
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
261
261
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -291,10 +291,10 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
291
291
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
292
292
|
return input;
|
|
293
293
|
}
|
|
294
|
-
const select$
|
|
294
|
+
const select$v = function RecordAggregationCreationOutputRepresentationSelect() {
|
|
295
295
|
return {
|
|
296
296
|
kind: 'Fragment',
|
|
297
|
-
version: VERSION$
|
|
297
|
+
version: VERSION$m,
|
|
298
298
|
private: [],
|
|
299
299
|
selections: [
|
|
300
300
|
{
|
|
@@ -312,7 +312,7 @@ const select$u = function RecordAggregationCreationOutputRepresentationSelect()
|
|
|
312
312
|
]
|
|
313
313
|
};
|
|
314
314
|
};
|
|
315
|
-
function equals$
|
|
315
|
+
function equals$m(existing, incoming) {
|
|
316
316
|
const existing_message = existing.message;
|
|
317
317
|
const incoming_message = incoming.message;
|
|
318
318
|
if (!(existing_message === incoming_message)) {
|
|
@@ -332,14 +332,14 @@ function equals$l(existing, incoming) {
|
|
|
332
332
|
}
|
|
333
333
|
const ingest$8 = function RecordAggregationCreationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
334
334
|
if (process.env.NODE_ENV !== 'production') {
|
|
335
|
-
const validateError = validate$
|
|
335
|
+
const validateError = validate$n(input);
|
|
336
336
|
if (validateError !== null) {
|
|
337
337
|
throw validateError;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
const key = keyBuilderFromType$6(luvio, input);
|
|
341
341
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
342
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesRecordAggregation", VERSION$
|
|
342
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "IndustriesRecordAggregation", VERSION$m, RepresentationType$8, equals$m);
|
|
343
343
|
return createLink(key);
|
|
344
344
|
};
|
|
345
345
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -352,8 +352,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
function select$
|
|
356
|
-
return select$
|
|
355
|
+
function select$u(luvio, params) {
|
|
356
|
+
return select$v();
|
|
357
357
|
}
|
|
358
358
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
359
359
|
getTypeCacheKeys$8(storeKeyMap, luvio, response);
|
|
@@ -364,7 +364,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
|
|
|
364
364
|
luvio.storeIngest(key, ingest$8, body);
|
|
365
365
|
const snapshot = luvio.storeLookup({
|
|
366
366
|
recordId: key,
|
|
367
|
-
node: select$
|
|
367
|
+
node: select$u(),
|
|
368
368
|
variables: {},
|
|
369
369
|
});
|
|
370
370
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -405,7 +405,7 @@ function typeCheckConfig$9(untrustedConfig) {
|
|
|
405
405
|
const untrustedConfig_aggregationObjects_array = [];
|
|
406
406
|
for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
|
|
407
407
|
const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
|
|
408
|
-
const referenceRecordAggregationNodeInputRepresentationValidationError = validate$
|
|
408
|
+
const referenceRecordAggregationNodeInputRepresentationValidationError = validate$o(untrustedConfig_aggregationObjects_item);
|
|
409
409
|
if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
|
|
410
410
|
untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
|
|
411
411
|
}
|
|
@@ -456,8 +456,8 @@ const postRecordAggregationCreationAdapterFactory = (luvio) => {
|
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
-
const VERSION$
|
|
460
|
-
function validate$
|
|
459
|
+
const VERSION$l = "c129efabba808636007b868dc6c3d067";
|
|
460
|
+
function validate$m(obj, path = 'RecordRollupDefinitionDetailsErrorOutputRepresentation') {
|
|
461
461
|
const v_error = (() => {
|
|
462
462
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
463
463
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -475,10 +475,10 @@ function validate$k(obj, path = 'RecordRollupDefinitionDetailsErrorOutputReprese
|
|
|
475
475
|
})();
|
|
476
476
|
return v_error === undefined ? null : v_error;
|
|
477
477
|
}
|
|
478
|
-
const select$
|
|
478
|
+
const select$t = function RecordRollupDefinitionDetailsErrorOutputRepresentationSelect() {
|
|
479
479
|
return {
|
|
480
480
|
kind: 'Fragment',
|
|
481
|
-
version: VERSION$
|
|
481
|
+
version: VERSION$l,
|
|
482
482
|
private: [],
|
|
483
483
|
selections: [
|
|
484
484
|
{
|
|
@@ -492,7 +492,7 @@ const select$s = function RecordRollupDefinitionDetailsErrorOutputRepresentation
|
|
|
492
492
|
]
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
|
-
function equals$
|
|
495
|
+
function equals$l(existing, incoming) {
|
|
496
496
|
const existing_message = existing.message;
|
|
497
497
|
const incoming_message = incoming.message;
|
|
498
498
|
if (!(existing_message === incoming_message)) {
|
|
@@ -506,8 +506,8 @@ function equals$k(existing, incoming) {
|
|
|
506
506
|
return true;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
const VERSION$
|
|
510
|
-
function validate$
|
|
509
|
+
const VERSION$k = "7849a428dc009e6f5dcf3e08efcc5451";
|
|
510
|
+
function validate$l(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentation') {
|
|
511
511
|
const v_error = (() => {
|
|
512
512
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
513
513
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -515,7 +515,7 @@ function validate$j(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentati
|
|
|
515
515
|
if (obj.error !== undefined) {
|
|
516
516
|
const obj_error = obj.error;
|
|
517
517
|
const path_error = path + '.error';
|
|
518
|
-
const referencepath_errorValidationError = validate$
|
|
518
|
+
const referencepath_errorValidationError = validate$m(obj_error, path_error);
|
|
519
519
|
if (referencepath_errorValidationError !== null) {
|
|
520
520
|
let message = 'Object doesn\'t match RecordRollupDefinitionDetailsErrorOutputRepresentation (at "' + path_error + '")\n';
|
|
521
521
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -559,11 +559,11 @@ function validate$j(obj, path = 'RecordRollupDefinitionDetailsOutputRepresentati
|
|
|
559
559
|
})();
|
|
560
560
|
return v_error === undefined ? null : v_error;
|
|
561
561
|
}
|
|
562
|
-
const select$
|
|
563
|
-
const { selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsErrorOutputRepresentation__opaque, } = select$
|
|
562
|
+
const select$s = function RecordRollupDefinitionDetailsOutputRepresentationSelect() {
|
|
563
|
+
const { selections: RecordRollupDefinitionDetailsErrorOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsErrorOutputRepresentation__opaque, } = select$t();
|
|
564
564
|
return {
|
|
565
565
|
kind: 'Fragment',
|
|
566
|
-
version: VERSION$
|
|
566
|
+
version: VERSION$k,
|
|
567
567
|
private: [],
|
|
568
568
|
selections: [
|
|
569
569
|
{
|
|
@@ -603,7 +603,7 @@ const select$r = function RecordRollupDefinitionDetailsOutputRepresentationSelec
|
|
|
603
603
|
]
|
|
604
604
|
};
|
|
605
605
|
};
|
|
606
|
-
function equals$
|
|
606
|
+
function equals$k(existing, incoming) {
|
|
607
607
|
const existing_isOnDemandEnabled = existing.isOnDemandEnabled;
|
|
608
608
|
const incoming_isOnDemandEnabled = incoming.isOnDemandEnabled;
|
|
609
609
|
// if at least one of these optionals is defined
|
|
@@ -675,15 +675,15 @@ function equals$j(existing, incoming) {
|
|
|
675
675
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
676
676
|
return false;
|
|
677
677
|
}
|
|
678
|
-
if (!(equals$
|
|
678
|
+
if (!(equals$l(existing_error, incoming_error))) {
|
|
679
679
|
return false;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
return true;
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
const VERSION$
|
|
686
|
-
function validate$
|
|
685
|
+
const VERSION$j = "c2f199cbe0212e8411f7ac1905805188";
|
|
686
|
+
function validate$k(obj, path = 'BulkRecordRollupDefinitionDetailsOutputRepresentation') {
|
|
687
687
|
const v_error = (() => {
|
|
688
688
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
689
689
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -696,7 +696,7 @@ function validate$i(obj, path = 'BulkRecordRollupDefinitionDetailsOutputRepresen
|
|
|
696
696
|
for (let i = 0; i < obj_definitions.length; i++) {
|
|
697
697
|
const obj_definitions_item = obj_definitions[i];
|
|
698
698
|
const path_definitions_item = path_definitions + '[' + i + ']';
|
|
699
|
-
const referencepath_definitions_itemValidationError = validate$
|
|
699
|
+
const referencepath_definitions_itemValidationError = validate$l(obj_definitions_item, path_definitions_item);
|
|
700
700
|
if (referencepath_definitions_itemValidationError !== null) {
|
|
701
701
|
let message = 'Object doesn\'t match RecordRollupDefinitionDetailsOutputRepresentation (at "' + path_definitions_item + '")\n';
|
|
702
702
|
message += referencepath_definitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -734,11 +734,11 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
734
734
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
735
735
|
return input;
|
|
736
736
|
}
|
|
737
|
-
const select$
|
|
738
|
-
const { selections: RecordRollupDefinitionDetailsOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsOutputRepresentation__opaque, } = select$
|
|
737
|
+
const select$r = function BulkRecordRollupDefinitionDetailsOutputRepresentationSelect() {
|
|
738
|
+
const { selections: RecordRollupDefinitionDetailsOutputRepresentation__selections, opaque: RecordRollupDefinitionDetailsOutputRepresentation__opaque, } = select$s();
|
|
739
739
|
return {
|
|
740
740
|
kind: 'Fragment',
|
|
741
|
-
version: VERSION$
|
|
741
|
+
version: VERSION$j,
|
|
742
742
|
private: [],
|
|
743
743
|
selections: [
|
|
744
744
|
{
|
|
@@ -762,7 +762,7 @@ const select$q = function BulkRecordRollupDefinitionDetailsOutputRepresentationS
|
|
|
762
762
|
]
|
|
763
763
|
};
|
|
764
764
|
};
|
|
765
|
-
function equals$
|
|
765
|
+
function equals$j(existing, incoming) {
|
|
766
766
|
const existing_errors = existing.errors;
|
|
767
767
|
const incoming_errors = incoming.errors;
|
|
768
768
|
if (!(existing_errors === incoming_errors)) {
|
|
@@ -781,7 +781,7 @@ function equals$i(existing, incoming) {
|
|
|
781
781
|
const existing_definitions = existing.definitions;
|
|
782
782
|
const incoming_definitions = incoming.definitions;
|
|
783
783
|
const equals_definitions_items = equalsArray(existing_definitions, incoming_definitions, (existing_definitions_item, incoming_definitions_item) => {
|
|
784
|
-
if (!(equals$
|
|
784
|
+
if (!(equals$k(existing_definitions_item, incoming_definitions_item))) {
|
|
785
785
|
return false;
|
|
786
786
|
}
|
|
787
787
|
});
|
|
@@ -792,14 +792,14 @@ function equals$i(existing, incoming) {
|
|
|
792
792
|
}
|
|
793
793
|
const ingest$7 = function BulkRecordRollupDefinitionDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
794
794
|
if (process.env.NODE_ENV !== 'production') {
|
|
795
|
-
const validateError = validate$
|
|
795
|
+
const validateError = validate$k(input);
|
|
796
796
|
if (validateError !== null) {
|
|
797
797
|
throw validateError;
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
const key = keyBuilderFromType$5(luvio, input);
|
|
801
801
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
802
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "IndustriesRecordAggregation", VERSION$
|
|
802
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "IndustriesRecordAggregation", VERSION$j, RepresentationType$7, equals$j);
|
|
803
803
|
return createLink(key);
|
|
804
804
|
};
|
|
805
805
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -812,8 +812,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
|
|
815
|
-
function select$
|
|
816
|
-
return select$
|
|
815
|
+
function select$q(luvio, params) {
|
|
816
|
+
return select$r();
|
|
817
817
|
}
|
|
818
818
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
819
819
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -824,7 +824,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
824
824
|
luvio.storeIngest(key, ingest$7, body);
|
|
825
825
|
const snapshot = luvio.storeLookup({
|
|
826
826
|
recordId: key,
|
|
827
|
-
node: select$
|
|
827
|
+
node: select$q(),
|
|
828
828
|
variables: {},
|
|
829
829
|
});
|
|
830
830
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -903,8 +903,27 @@ const getBulkRecordRollupDefinitionDetailsAdapterFactory = (luvio) => {
|
|
|
903
903
|
};
|
|
904
904
|
};
|
|
905
905
|
|
|
906
|
-
|
|
907
|
-
|
|
906
|
+
function validate$j(obj, path = 'RecordRollupSyncExecutionInputRepresentation') {
|
|
907
|
+
const v_error = (() => {
|
|
908
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
909
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
910
|
+
}
|
|
911
|
+
const obj_anchorRecordId = obj.anchorRecordId;
|
|
912
|
+
const path_anchorRecordId = path + '.anchorRecordId';
|
|
913
|
+
if (typeof obj_anchorRecordId !== 'string') {
|
|
914
|
+
return new TypeError('Expected "string" but received "' + typeof obj_anchorRecordId + '" (at "' + path_anchorRecordId + '")');
|
|
915
|
+
}
|
|
916
|
+
const obj_id = obj.id;
|
|
917
|
+
const path_id = path + '.id';
|
|
918
|
+
if (typeof obj_id !== 'string') {
|
|
919
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
920
|
+
}
|
|
921
|
+
})();
|
|
922
|
+
return v_error === undefined ? null : v_error;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
const VERSION$i = "66ef910c79586d7a0105d79b5807089b";
|
|
926
|
+
function validate$i(obj, path = 'RecordRollupSyncExecutionErrorOutputRepresentation') {
|
|
908
927
|
const v_error = (() => {
|
|
909
928
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
910
929
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -922,10 +941,10 @@ function validate$h(obj, path = 'RecordRollupSyncExecutionErrorOutputRepresentat
|
|
|
922
941
|
})();
|
|
923
942
|
return v_error === undefined ? null : v_error;
|
|
924
943
|
}
|
|
925
|
-
const select$
|
|
944
|
+
const select$p = function RecordRollupSyncExecutionErrorOutputRepresentationSelect() {
|
|
926
945
|
return {
|
|
927
946
|
kind: 'Fragment',
|
|
928
|
-
version: VERSION$
|
|
947
|
+
version: VERSION$i,
|
|
929
948
|
private: [],
|
|
930
949
|
selections: [
|
|
931
950
|
{
|
|
@@ -939,7 +958,7 @@ const select$o = function RecordRollupSyncExecutionErrorOutputRepresentationSele
|
|
|
939
958
|
]
|
|
940
959
|
};
|
|
941
960
|
};
|
|
942
|
-
function equals$
|
|
961
|
+
function equals$i(existing, incoming) {
|
|
943
962
|
const existing_message = existing.message;
|
|
944
963
|
const incoming_message = incoming.message;
|
|
945
964
|
if (!(existing_message === incoming_message)) {
|
|
@@ -953,8 +972,8 @@ function equals$h(existing, incoming) {
|
|
|
953
972
|
return true;
|
|
954
973
|
}
|
|
955
974
|
|
|
956
|
-
const VERSION$
|
|
957
|
-
function validate$
|
|
975
|
+
const VERSION$h = "0006af8b62d0016274acd4c295d5f334";
|
|
976
|
+
function validate$h(obj, path = 'RecordRollupSyncExecutionOutputRepresentation') {
|
|
958
977
|
const v_error = (() => {
|
|
959
978
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
960
979
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -962,7 +981,7 @@ function validate$g(obj, path = 'RecordRollupSyncExecutionOutputRepresentation')
|
|
|
962
981
|
if (obj.error !== undefined) {
|
|
963
982
|
const obj_error = obj.error;
|
|
964
983
|
const path_error = path + '.error';
|
|
965
|
-
const referencepath_errorValidationError = validate$
|
|
984
|
+
const referencepath_errorValidationError = validate$i(obj_error, path_error);
|
|
966
985
|
if (referencepath_errorValidationError !== null) {
|
|
967
986
|
let message = 'Object doesn\'t match RecordRollupSyncExecutionErrorOutputRepresentation (at "' + path_error + '")\n';
|
|
968
987
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -982,11 +1001,11 @@ function validate$g(obj, path = 'RecordRollupSyncExecutionOutputRepresentation')
|
|
|
982
1001
|
})();
|
|
983
1002
|
return v_error === undefined ? null : v_error;
|
|
984
1003
|
}
|
|
985
|
-
const select$
|
|
986
|
-
const { selections: RecordRollupSyncExecutionErrorOutputRepresentation__selections, opaque: RecordRollupSyncExecutionErrorOutputRepresentation__opaque, } = select$
|
|
1004
|
+
const select$o = function RecordRollupSyncExecutionOutputRepresentationSelect() {
|
|
1005
|
+
const { selections: RecordRollupSyncExecutionErrorOutputRepresentation__selections, opaque: RecordRollupSyncExecutionErrorOutputRepresentation__opaque, } = select$p();
|
|
987
1006
|
return {
|
|
988
1007
|
kind: 'Fragment',
|
|
989
|
-
version: VERSION$
|
|
1008
|
+
version: VERSION$h,
|
|
990
1009
|
private: [],
|
|
991
1010
|
selections: [
|
|
992
1011
|
{
|
|
@@ -1006,7 +1025,7 @@ const select$n = function RecordRollupSyncExecutionOutputRepresentationSelect()
|
|
|
1006
1025
|
]
|
|
1007
1026
|
};
|
|
1008
1027
|
};
|
|
1009
|
-
function equals$
|
|
1028
|
+
function equals$h(existing, incoming) {
|
|
1010
1029
|
const existing_id = existing.id;
|
|
1011
1030
|
const incoming_id = incoming.id;
|
|
1012
1031
|
if (!(existing_id === incoming_id)) {
|
|
@@ -1026,15 +1045,15 @@ function equals$g(existing, incoming) {
|
|
|
1026
1045
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
1027
1046
|
return false;
|
|
1028
1047
|
}
|
|
1029
|
-
if (!(equals$
|
|
1048
|
+
if (!(equals$i(existing_error, incoming_error))) {
|
|
1030
1049
|
return false;
|
|
1031
1050
|
}
|
|
1032
1051
|
}
|
|
1033
1052
|
return true;
|
|
1034
1053
|
}
|
|
1035
1054
|
|
|
1036
|
-
const VERSION$
|
|
1037
|
-
function validate$
|
|
1055
|
+
const VERSION$g = "073553fbf5d6e00bd64663ab28817830";
|
|
1056
|
+
function validate$g(obj, path = 'BulkRecordRollupSyncExecutionOutputRepresentation') {
|
|
1038
1057
|
const v_error = (() => {
|
|
1039
1058
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1040
1059
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1047,7 +1066,7 @@ function validate$f(obj, path = 'BulkRecordRollupSyncExecutionOutputRepresentati
|
|
|
1047
1066
|
for (let i = 0; i < obj_definitions.length; i++) {
|
|
1048
1067
|
const obj_definitions_item = obj_definitions[i];
|
|
1049
1068
|
const path_definitions_item = path_definitions + '[' + i + ']';
|
|
1050
|
-
const referencepath_definitions_itemValidationError = validate$
|
|
1069
|
+
const referencepath_definitions_itemValidationError = validate$h(obj_definitions_item, path_definitions_item);
|
|
1051
1070
|
if (referencepath_definitions_itemValidationError !== null) {
|
|
1052
1071
|
let message = 'Object doesn\'t match RecordRollupSyncExecutionOutputRepresentation (at "' + path_definitions_item + '")\n';
|
|
1053
1072
|
message += referencepath_definitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1085,11 +1104,11 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
1085
1104
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
1086
1105
|
return input;
|
|
1087
1106
|
}
|
|
1088
|
-
const select$
|
|
1089
|
-
const { selections: RecordRollupSyncExecutionOutputRepresentation__selections, opaque: RecordRollupSyncExecutionOutputRepresentation__opaque, } = select$
|
|
1107
|
+
const select$n = function BulkRecordRollupSyncExecutionOutputRepresentationSelect() {
|
|
1108
|
+
const { selections: RecordRollupSyncExecutionOutputRepresentation__selections, opaque: RecordRollupSyncExecutionOutputRepresentation__opaque, } = select$o();
|
|
1090
1109
|
return {
|
|
1091
1110
|
kind: 'Fragment',
|
|
1092
|
-
version: VERSION$
|
|
1111
|
+
version: VERSION$g,
|
|
1093
1112
|
private: [],
|
|
1094
1113
|
selections: [
|
|
1095
1114
|
{
|
|
@@ -1113,7 +1132,7 @@ const select$m = function BulkRecordRollupSyncExecutionOutputRepresentationSelec
|
|
|
1113
1132
|
]
|
|
1114
1133
|
};
|
|
1115
1134
|
};
|
|
1116
|
-
function equals$
|
|
1135
|
+
function equals$g(existing, incoming) {
|
|
1117
1136
|
const existing_errors = existing.errors;
|
|
1118
1137
|
const incoming_errors = incoming.errors;
|
|
1119
1138
|
if (!(existing_errors === incoming_errors)) {
|
|
@@ -1132,7 +1151,7 @@ function equals$f(existing, incoming) {
|
|
|
1132
1151
|
const existing_definitions = existing.definitions;
|
|
1133
1152
|
const incoming_definitions = incoming.definitions;
|
|
1134
1153
|
const equals_definitions_items = equalsArray(existing_definitions, incoming_definitions, (existing_definitions_item, incoming_definitions_item) => {
|
|
1135
|
-
if (!(equals$
|
|
1154
|
+
if (!(equals$h(existing_definitions_item, incoming_definitions_item))) {
|
|
1136
1155
|
return false;
|
|
1137
1156
|
}
|
|
1138
1157
|
});
|
|
@@ -1143,14 +1162,14 @@ function equals$f(existing, incoming) {
|
|
|
1143
1162
|
}
|
|
1144
1163
|
const ingest$6 = function BulkRecordRollupSyncExecutionOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1145
1164
|
if (process.env.NODE_ENV !== 'production') {
|
|
1146
|
-
const validateError = validate$
|
|
1165
|
+
const validateError = validate$g(input);
|
|
1147
1166
|
if (validateError !== null) {
|
|
1148
1167
|
throw validateError;
|
|
1149
1168
|
}
|
|
1150
1169
|
}
|
|
1151
1170
|
const key = keyBuilderFromType$4(luvio, input);
|
|
1152
1171
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
1153
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesRecordAggregation", VERSION$
|
|
1172
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "IndustriesRecordAggregation", VERSION$g, RepresentationType$6, equals$g);
|
|
1154
1173
|
return createLink(key);
|
|
1155
1174
|
};
|
|
1156
1175
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1163,8 +1182,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1163
1182
|
});
|
|
1164
1183
|
}
|
|
1165
1184
|
|
|
1166
|
-
function select$
|
|
1167
|
-
return select$
|
|
1185
|
+
function select$m(luvio, params) {
|
|
1186
|
+
return select$n();
|
|
1168
1187
|
}
|
|
1169
1188
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
1170
1189
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -1175,7 +1194,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
1175
1194
|
luvio.storeIngest(key, ingest$6, body);
|
|
1176
1195
|
const snapshot = luvio.storeLookup({
|
|
1177
1196
|
recordId: key,
|
|
1178
|
-
node: select$
|
|
1197
|
+
node: select$m(),
|
|
1179
1198
|
variables: {},
|
|
1180
1199
|
});
|
|
1181
1200
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1202,14 +1221,24 @@ function createResourceRequest$7(config) {
|
|
|
1202
1221
|
|
|
1203
1222
|
const adapterName$7 = 'performBulkRecordRollupSyncExecution';
|
|
1204
1223
|
const performBulkRecordRollupSyncExecution_ConfigPropertyMetadata = [
|
|
1205
|
-
generateParamConfigMetadata('
|
|
1206
|
-
generateParamConfigMetadata('recordAggregationDefinitionIds', true, 2 /* Body */, 0 /* String */, true),
|
|
1224
|
+
generateParamConfigMetadata('definitions', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1207
1225
|
];
|
|
1208
1226
|
const performBulkRecordRollupSyncExecution_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, performBulkRecordRollupSyncExecution_ConfigPropertyMetadata);
|
|
1209
1227
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$a(performBulkRecordRollupSyncExecution_ConfigPropertyMetadata);
|
|
1210
1228
|
function typeCheckConfig$7(untrustedConfig) {
|
|
1211
1229
|
const config = {};
|
|
1212
|
-
|
|
1230
|
+
const untrustedConfig_definitions = untrustedConfig.definitions;
|
|
1231
|
+
if (ArrayIsArray$1(untrustedConfig_definitions)) {
|
|
1232
|
+
const untrustedConfig_definitions_array = [];
|
|
1233
|
+
for (let i = 0, arrayLength = untrustedConfig_definitions.length; i < arrayLength; i++) {
|
|
1234
|
+
const untrustedConfig_definitions_item = untrustedConfig_definitions[i];
|
|
1235
|
+
const referenceRecordRollupSyncExecutionInputRepresentationValidationError = validate$j(untrustedConfig_definitions_item);
|
|
1236
|
+
if (referenceRecordRollupSyncExecutionInputRepresentationValidationError === null) {
|
|
1237
|
+
untrustedConfig_definitions_array.push(untrustedConfig_definitions_item);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
config.definitions = untrustedConfig_definitions_array;
|
|
1241
|
+
}
|
|
1213
1242
|
return config;
|
|
1214
1243
|
}
|
|
1215
1244
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -1254,8 +1283,8 @@ const performBulkRecordRollupSyncExecutionAdapterFactory = (luvio) => {
|
|
|
1254
1283
|
};
|
|
1255
1284
|
};
|
|
1256
1285
|
|
|
1257
|
-
const VERSION$
|
|
1258
|
-
function validate$
|
|
1286
|
+
const VERSION$f = "e0976ceab3ba0b389e4cc8c2ef45e90c";
|
|
1287
|
+
function validate$f(obj, path = 'RecordAggregationApplicableObjectOutputRepresentation') {
|
|
1259
1288
|
const v_error = (() => {
|
|
1260
1289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1261
1290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1273,10 +1302,10 @@ function validate$e(obj, path = 'RecordAggregationApplicableObjectOutputRepresen
|
|
|
1273
1302
|
})();
|
|
1274
1303
|
return v_error === undefined ? null : v_error;
|
|
1275
1304
|
}
|
|
1276
|
-
const select$
|
|
1305
|
+
const select$l = function RecordAggregationApplicableObjectOutputRepresentationSelect() {
|
|
1277
1306
|
return {
|
|
1278
1307
|
kind: 'Fragment',
|
|
1279
|
-
version: VERSION$
|
|
1308
|
+
version: VERSION$f,
|
|
1280
1309
|
private: [],
|
|
1281
1310
|
selections: [
|
|
1282
1311
|
{
|
|
@@ -1290,7 +1319,7 @@ const select$k = function RecordAggregationApplicableObjectOutputRepresentationS
|
|
|
1290
1319
|
]
|
|
1291
1320
|
};
|
|
1292
1321
|
};
|
|
1293
|
-
function equals$
|
|
1322
|
+
function equals$f(existing, incoming) {
|
|
1294
1323
|
const existing_apiName = existing.apiName;
|
|
1295
1324
|
const incoming_apiName = incoming.apiName;
|
|
1296
1325
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -1304,8 +1333,8 @@ function equals$e(existing, incoming) {
|
|
|
1304
1333
|
return true;
|
|
1305
1334
|
}
|
|
1306
1335
|
|
|
1307
|
-
const VERSION$
|
|
1308
|
-
function validate$
|
|
1336
|
+
const VERSION$e = "789bb460c399fd0e584cd09a32279a52";
|
|
1337
|
+
function validate$e(obj, path = 'RecordAggregationApplicableObjectsOutputRepresentation') {
|
|
1309
1338
|
const v_error = (() => {
|
|
1310
1339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1311
1340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1323,7 +1352,7 @@ function validate$d(obj, path = 'RecordAggregationApplicableObjectsOutputReprese
|
|
|
1323
1352
|
for (let i = 0; i < obj_objects.length; i++) {
|
|
1324
1353
|
const obj_objects_item = obj_objects[i];
|
|
1325
1354
|
const path_objects_item = path_objects + '[' + i + ']';
|
|
1326
|
-
const referencepath_objects_itemValidationError = validate$
|
|
1355
|
+
const referencepath_objects_itemValidationError = validate$f(obj_objects_item, path_objects_item);
|
|
1327
1356
|
if (referencepath_objects_itemValidationError !== null) {
|
|
1328
1357
|
let message = 'Object doesn\'t match RecordAggregationApplicableObjectOutputRepresentation (at "' + path_objects_item + '")\n';
|
|
1329
1358
|
message += referencepath_objects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1342,11 +1371,11 @@ const RepresentationType$5 = 'RecordAggregationApplicableObjectsOutputRepresenta
|
|
|
1342
1371
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
1343
1372
|
return input;
|
|
1344
1373
|
}
|
|
1345
|
-
const select$
|
|
1346
|
-
const { selections: RecordAggregationApplicableObjectOutputRepresentation__selections, opaque: RecordAggregationApplicableObjectOutputRepresentation__opaque, } = select$
|
|
1374
|
+
const select$k = function RecordAggregationApplicableObjectsOutputRepresentationSelect() {
|
|
1375
|
+
const { selections: RecordAggregationApplicableObjectOutputRepresentation__selections, opaque: RecordAggregationApplicableObjectOutputRepresentation__opaque, } = select$l();
|
|
1347
1376
|
return {
|
|
1348
1377
|
kind: 'Fragment',
|
|
1349
|
-
version: VERSION$
|
|
1378
|
+
version: VERSION$e,
|
|
1350
1379
|
private: [],
|
|
1351
1380
|
selections: [
|
|
1352
1381
|
{
|
|
@@ -1366,7 +1395,7 @@ const select$j = function RecordAggregationApplicableObjectsOutputRepresentation
|
|
|
1366
1395
|
]
|
|
1367
1396
|
};
|
|
1368
1397
|
};
|
|
1369
|
-
function equals$
|
|
1398
|
+
function equals$e(existing, incoming) {
|
|
1370
1399
|
const existing_message = existing.message;
|
|
1371
1400
|
const incoming_message = incoming.message;
|
|
1372
1401
|
if (!(existing_message === incoming_message)) {
|
|
@@ -1380,7 +1409,7 @@ function equals$d(existing, incoming) {
|
|
|
1380
1409
|
const existing_objects = existing.objects;
|
|
1381
1410
|
const incoming_objects = incoming.objects;
|
|
1382
1411
|
const equals_objects_items = equalsArray(existing_objects, incoming_objects, (existing_objects_item, incoming_objects_item) => {
|
|
1383
|
-
if (!(equals$
|
|
1412
|
+
if (!(equals$f(existing_objects_item, incoming_objects_item))) {
|
|
1384
1413
|
return false;
|
|
1385
1414
|
}
|
|
1386
1415
|
});
|
|
@@ -1391,14 +1420,14 @@ function equals$d(existing, incoming) {
|
|
|
1391
1420
|
}
|
|
1392
1421
|
const ingest$5 = function RecordAggregationApplicableObjectsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1393
1422
|
if (process.env.NODE_ENV !== 'production') {
|
|
1394
|
-
const validateError = validate$
|
|
1423
|
+
const validateError = validate$e(input);
|
|
1395
1424
|
if (validateError !== null) {
|
|
1396
1425
|
throw validateError;
|
|
1397
1426
|
}
|
|
1398
1427
|
}
|
|
1399
1428
|
const key = path.fullPath;
|
|
1400
1429
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
1401
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "IndustriesRecordAggregation", VERSION$
|
|
1430
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "IndustriesRecordAggregation", VERSION$e, RepresentationType$5, equals$e);
|
|
1402
1431
|
return createLink(key);
|
|
1403
1432
|
};
|
|
1404
1433
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1411,8 +1440,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1411
1440
|
});
|
|
1412
1441
|
}
|
|
1413
1442
|
|
|
1414
|
-
function select$
|
|
1415
|
-
return select$
|
|
1443
|
+
function select$j(luvio, params) {
|
|
1444
|
+
return select$k();
|
|
1416
1445
|
}
|
|
1417
1446
|
function keyBuilder$a(luvio, params) {
|
|
1418
1447
|
return keyPrefix + '::RecordAggregationApplicableObjectsOutputRepresentation:(' + ')';
|
|
@@ -1426,7 +1455,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1426
1455
|
luvio.storeIngest(key, ingest$5, body);
|
|
1427
1456
|
const snapshot = luvio.storeLookup({
|
|
1428
1457
|
recordId: key,
|
|
1429
|
-
node: select$
|
|
1458
|
+
node: select$j(),
|
|
1430
1459
|
variables: {},
|
|
1431
1460
|
}, snapshotRefresh);
|
|
1432
1461
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1484,7 +1513,7 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
|
1484
1513
|
}
|
|
1485
1514
|
function adapterFragment$2(luvio, config) {
|
|
1486
1515
|
createResourceParams$6(config);
|
|
1487
|
-
return select$
|
|
1516
|
+
return select$j();
|
|
1488
1517
|
}
|
|
1489
1518
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
1490
1519
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
@@ -1540,8 +1569,8 @@ const getRecordAggregationApplicableObjectsAdapterFactory = (luvio) => function
|
|
|
1540
1569
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
1541
1570
|
};
|
|
1542
1571
|
|
|
1543
|
-
const VERSION$
|
|
1544
|
-
function validate$
|
|
1572
|
+
const VERSION$d = "47b9bd810af3efccf4b2c011f8e6c7be";
|
|
1573
|
+
function validate$d(obj, path = 'RecordAggregationApplicableFieldOutputRepresentation') {
|
|
1545
1574
|
const v_error = (() => {
|
|
1546
1575
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1547
1576
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1576,10 +1605,10 @@ function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresent
|
|
|
1576
1605
|
})();
|
|
1577
1606
|
return v_error === undefined ? null : v_error;
|
|
1578
1607
|
}
|
|
1579
|
-
const select$
|
|
1608
|
+
const select$i = function RecordAggregationApplicableFieldOutputRepresentationSelect() {
|
|
1580
1609
|
return {
|
|
1581
1610
|
kind: 'Fragment',
|
|
1582
|
-
version: VERSION$
|
|
1611
|
+
version: VERSION$d,
|
|
1583
1612
|
private: [],
|
|
1584
1613
|
selections: [
|
|
1585
1614
|
{
|
|
@@ -1606,7 +1635,7 @@ const select$h = function RecordAggregationApplicableFieldOutputRepresentationSe
|
|
|
1606
1635
|
]
|
|
1607
1636
|
};
|
|
1608
1637
|
};
|
|
1609
|
-
function equals$
|
|
1638
|
+
function equals$d(existing, incoming) {
|
|
1610
1639
|
const existing_isCompound = existing.isCompound;
|
|
1611
1640
|
const incoming_isCompound = incoming.isCompound;
|
|
1612
1641
|
if (!(existing_isCompound === incoming_isCompound)) {
|
|
@@ -1643,8 +1672,8 @@ function equals$c(existing, incoming) {
|
|
|
1643
1672
|
return true;
|
|
1644
1673
|
}
|
|
1645
1674
|
|
|
1646
|
-
const VERSION$
|
|
1647
|
-
function validate$
|
|
1675
|
+
const VERSION$c = "3c44d9ec6604e1f30267b907f64fd09f";
|
|
1676
|
+
function validate$c(obj, path = 'RecordAggregationEntityApplicableFieldsOutputRepresentation') {
|
|
1648
1677
|
const v_error = (() => {
|
|
1649
1678
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1650
1679
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1657,7 +1686,7 @@ function validate$b(obj, path = 'RecordAggregationEntityApplicableFieldsOutputRe
|
|
|
1657
1686
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
1658
1687
|
const obj_fields_item = obj_fields[i];
|
|
1659
1688
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
1660
|
-
const referencepath_fields_itemValidationError = validate$
|
|
1689
|
+
const referencepath_fields_itemValidationError = validate$d(obj_fields_item, path_fields_item);
|
|
1661
1690
|
if (referencepath_fields_itemValidationError !== null) {
|
|
1662
1691
|
let message = 'Object doesn\'t match RecordAggregationApplicableFieldOutputRepresentation (at "' + path_fields_item + '")\n';
|
|
1663
1692
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1695,11 +1724,11 @@ const RepresentationType$4 = 'RecordAggregationEntityApplicableFieldsOutputRepre
|
|
|
1695
1724
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
1696
1725
|
return input;
|
|
1697
1726
|
}
|
|
1698
|
-
const select$
|
|
1699
|
-
const { selections: RecordAggregationApplicableFieldOutputRepresentation__selections, opaque: RecordAggregationApplicableFieldOutputRepresentation__opaque, } = select$
|
|
1727
|
+
const select$h = function RecordAggregationEntityApplicableFieldsOutputRepresentationSelect() {
|
|
1728
|
+
const { selections: RecordAggregationApplicableFieldOutputRepresentation__selections, opaque: RecordAggregationApplicableFieldOutputRepresentation__opaque, } = select$i();
|
|
1700
1729
|
return {
|
|
1701
1730
|
kind: 'Fragment',
|
|
1702
|
-
version: VERSION$
|
|
1731
|
+
version: VERSION$c,
|
|
1703
1732
|
private: [],
|
|
1704
1733
|
selections: [
|
|
1705
1734
|
{
|
|
@@ -1724,7 +1753,7 @@ const select$g = function RecordAggregationEntityApplicableFieldsOutputRepresent
|
|
|
1724
1753
|
]
|
|
1725
1754
|
};
|
|
1726
1755
|
};
|
|
1727
|
-
function equals$
|
|
1756
|
+
function equals$c(existing, incoming) {
|
|
1728
1757
|
const existing_message = existing.message;
|
|
1729
1758
|
const incoming_message = incoming.message;
|
|
1730
1759
|
if (!(existing_message === incoming_message)) {
|
|
@@ -1738,7 +1767,7 @@ function equals$b(existing, incoming) {
|
|
|
1738
1767
|
const existing_fields = existing.fields;
|
|
1739
1768
|
const incoming_fields = incoming.fields;
|
|
1740
1769
|
const equals_fields_items = equalsArray(existing_fields, incoming_fields, (existing_fields_item, incoming_fields_item) => {
|
|
1741
|
-
if (!(equals$
|
|
1770
|
+
if (!(equals$d(existing_fields_item, incoming_fields_item))) {
|
|
1742
1771
|
return false;
|
|
1743
1772
|
}
|
|
1744
1773
|
});
|
|
@@ -1759,14 +1788,14 @@ function equals$b(existing, incoming) {
|
|
|
1759
1788
|
}
|
|
1760
1789
|
const ingest$4 = function RecordAggregationEntityApplicableFieldsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1761
1790
|
if (process.env.NODE_ENV !== 'production') {
|
|
1762
|
-
const validateError = validate$
|
|
1791
|
+
const validateError = validate$c(input);
|
|
1763
1792
|
if (validateError !== null) {
|
|
1764
1793
|
throw validateError;
|
|
1765
1794
|
}
|
|
1766
1795
|
}
|
|
1767
1796
|
const key = path.fullPath;
|
|
1768
1797
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
1769
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "IndustriesRecordAggregation", VERSION$
|
|
1798
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "IndustriesRecordAggregation", VERSION$c, RepresentationType$4, equals$c);
|
|
1770
1799
|
return createLink(key);
|
|
1771
1800
|
};
|
|
1772
1801
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1779,8 +1808,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1779
1808
|
});
|
|
1780
1809
|
}
|
|
1781
1810
|
|
|
1782
|
-
function select$
|
|
1783
|
-
return select$
|
|
1811
|
+
function select$g(luvio, params) {
|
|
1812
|
+
return select$h();
|
|
1784
1813
|
}
|
|
1785
1814
|
function keyBuilder$8(luvio, params) {
|
|
1786
1815
|
return keyPrefix + '::RecordAggregationEntityApplicableFieldsOutputRepresentation:(' + 'objectName:' + params.urlParams.objectName + ')';
|
|
@@ -1794,7 +1823,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1794
1823
|
luvio.storeIngest(key, ingest$4, body);
|
|
1795
1824
|
const snapshot = luvio.storeLookup({
|
|
1796
1825
|
recordId: key,
|
|
1797
|
-
node: select$
|
|
1826
|
+
node: select$g(),
|
|
1798
1827
|
variables: {},
|
|
1799
1828
|
}, snapshotRefresh);
|
|
1800
1829
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1855,7 +1884,7 @@ function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
|
1855
1884
|
}
|
|
1856
1885
|
function adapterFragment$1(luvio, config) {
|
|
1857
1886
|
createResourceParams$5(config);
|
|
1858
|
-
return select$
|
|
1887
|
+
return select$g();
|
|
1859
1888
|
}
|
|
1860
1889
|
function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
|
|
1861
1890
|
const snapshot = ingestSuccess$4(luvio, resourceParams, response, {
|
|
@@ -1911,8 +1940,8 @@ const getRecordAggregationEntityApplicableFieldsAdapterFactory = (luvio) => func
|
|
|
1911
1940
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
1912
1941
|
};
|
|
1913
1942
|
|
|
1914
|
-
const VERSION$
|
|
1915
|
-
function validate$
|
|
1943
|
+
const VERSION$b = "194b30263c77f9da7e866abebe5a9939";
|
|
1944
|
+
function validate$b(obj, path = 'RADFieldFilterOutputRepresentation') {
|
|
1916
1945
|
const v_error = (() => {
|
|
1917
1946
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1918
1947
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1955,10 +1984,10 @@ function validate$a(obj, path = 'RADFieldFilterOutputRepresentation') {
|
|
|
1955
1984
|
})();
|
|
1956
1985
|
return v_error === undefined ? null : v_error;
|
|
1957
1986
|
}
|
|
1958
|
-
const select$
|
|
1987
|
+
const select$f = function RADFieldFilterOutputRepresentationSelect() {
|
|
1959
1988
|
return {
|
|
1960
1989
|
kind: 'Fragment',
|
|
1961
|
-
version: VERSION$
|
|
1990
|
+
version: VERSION$b,
|
|
1962
1991
|
private: [],
|
|
1963
1992
|
selections: [
|
|
1964
1993
|
{
|
|
@@ -1992,7 +2021,7 @@ const select$e = function RADFieldFilterOutputRepresentationSelect() {
|
|
|
1992
2021
|
]
|
|
1993
2022
|
};
|
|
1994
2023
|
};
|
|
1995
|
-
function equals$
|
|
2024
|
+
function equals$b(existing, incoming) {
|
|
1996
2025
|
const existing_sequence = existing.sequence;
|
|
1997
2026
|
const incoming_sequence = incoming.sequence;
|
|
1998
2027
|
if (!(existing_sequence === incoming_sequence)) {
|
|
@@ -2031,8 +2060,8 @@ function equals$a(existing, incoming) {
|
|
|
2031
2060
|
return true;
|
|
2032
2061
|
}
|
|
2033
2062
|
|
|
2034
|
-
const VERSION$
|
|
2035
|
-
function validate$
|
|
2063
|
+
const VERSION$a = "291b8d0ca0b1000c0cfd0428ed183892";
|
|
2064
|
+
function validate$a(obj, path = 'RADNodeFilterOutputRepresentation') {
|
|
2036
2065
|
const v_error = (() => {
|
|
2037
2066
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2038
2067
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2046,7 +2075,7 @@ function validate$9(obj, path = 'RADNodeFilterOutputRepresentation') {
|
|
|
2046
2075
|
for (let i = 0; i < obj_filterConditions.length; i++) {
|
|
2047
2076
|
const obj_filterConditions_item = obj_filterConditions[i];
|
|
2048
2077
|
const path_filterConditions_item = path_filterConditions + '[' + i + ']';
|
|
2049
|
-
const referencepath_filterConditions_itemValidationError = validate$
|
|
2078
|
+
const referencepath_filterConditions_itemValidationError = validate$b(obj_filterConditions_item, path_filterConditions_item);
|
|
2050
2079
|
if (referencepath_filterConditions_itemValidationError !== null) {
|
|
2051
2080
|
let message = 'Object doesn\'t match RADFieldFilterOutputRepresentation (at "' + path_filterConditions_item + '")\n';
|
|
2052
2081
|
message += referencepath_filterConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2071,11 +2100,11 @@ function validate$9(obj, path = 'RADNodeFilterOutputRepresentation') {
|
|
|
2071
2100
|
})();
|
|
2072
2101
|
return v_error === undefined ? null : v_error;
|
|
2073
2102
|
}
|
|
2074
|
-
const select$
|
|
2075
|
-
const { selections: RADFieldFilterOutputRepresentation__selections, opaque: RADFieldFilterOutputRepresentation__opaque, } = select$
|
|
2103
|
+
const select$e = function RADNodeFilterOutputRepresentationSelect() {
|
|
2104
|
+
const { selections: RADFieldFilterOutputRepresentation__selections, opaque: RADFieldFilterOutputRepresentation__opaque, } = select$f();
|
|
2076
2105
|
return {
|
|
2077
2106
|
kind: 'Fragment',
|
|
2078
|
-
version: VERSION$
|
|
2107
|
+
version: VERSION$a,
|
|
2079
2108
|
private: [],
|
|
2080
2109
|
selections: [
|
|
2081
2110
|
{
|
|
@@ -2098,7 +2127,7 @@ const select$d = function RADNodeFilterOutputRepresentationSelect() {
|
|
|
2098
2127
|
]
|
|
2099
2128
|
};
|
|
2100
2129
|
};
|
|
2101
|
-
function equals$
|
|
2130
|
+
function equals$a(existing, incoming) {
|
|
2102
2131
|
const existing_filterCriteria = existing.filterCriteria;
|
|
2103
2132
|
const incoming_filterCriteria = incoming.filterCriteria;
|
|
2104
2133
|
// if at least one of these optionals is defined
|
|
@@ -2135,7 +2164,7 @@ function equals$9(existing, incoming) {
|
|
|
2135
2164
|
return false;
|
|
2136
2165
|
}
|
|
2137
2166
|
const equals_filterConditions_items = equalsArray(existing_filterConditions, incoming_filterConditions, (existing_filterConditions_item, incoming_filterConditions_item) => {
|
|
2138
|
-
if (!(equals$
|
|
2167
|
+
if (!(equals$b(existing_filterConditions_item, incoming_filterConditions_item))) {
|
|
2139
2168
|
return false;
|
|
2140
2169
|
}
|
|
2141
2170
|
});
|
|
@@ -2146,8 +2175,8 @@ function equals$9(existing, incoming) {
|
|
|
2146
2175
|
return true;
|
|
2147
2176
|
}
|
|
2148
2177
|
|
|
2149
|
-
const VERSION$
|
|
2150
|
-
function validate$
|
|
2178
|
+
const VERSION$9 = "f2c00d9b691171207e7e5e9027b5f138";
|
|
2179
|
+
function validate$9(obj, path = 'RADJoinFieldOutputRepresentation') {
|
|
2151
2180
|
const v_error = (() => {
|
|
2152
2181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2153
2182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2165,10 +2194,10 @@ function validate$8(obj, path = 'RADJoinFieldOutputRepresentation') {
|
|
|
2165
2194
|
})();
|
|
2166
2195
|
return v_error === undefined ? null : v_error;
|
|
2167
2196
|
}
|
|
2168
|
-
const select$
|
|
2197
|
+
const select$d = function RADJoinFieldOutputRepresentationSelect() {
|
|
2169
2198
|
return {
|
|
2170
2199
|
kind: 'Fragment',
|
|
2171
|
-
version: VERSION$
|
|
2200
|
+
version: VERSION$9,
|
|
2172
2201
|
private: [],
|
|
2173
2202
|
selections: [
|
|
2174
2203
|
{
|
|
@@ -2182,7 +2211,7 @@ const select$c = function RADJoinFieldOutputRepresentationSelect() {
|
|
|
2182
2211
|
]
|
|
2183
2212
|
};
|
|
2184
2213
|
};
|
|
2185
|
-
function equals$
|
|
2214
|
+
function equals$9(existing, incoming) {
|
|
2186
2215
|
const existing_fieldApiName = existing.fieldApiName;
|
|
2187
2216
|
const incoming_fieldApiName = incoming.fieldApiName;
|
|
2188
2217
|
if (!(existing_fieldApiName === incoming_fieldApiName)) {
|
|
@@ -2196,8 +2225,8 @@ function equals$8(existing, incoming) {
|
|
|
2196
2225
|
return true;
|
|
2197
2226
|
}
|
|
2198
2227
|
|
|
2199
|
-
const VERSION$
|
|
2200
|
-
function validate$
|
|
2228
|
+
const VERSION$8 = "fd3686fb156e2a098696af8b545b9105";
|
|
2229
|
+
function validate$8(obj, path = 'RADNodeObjectOutputRepresentation') {
|
|
2201
2230
|
const v_error = (() => {
|
|
2202
2231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2203
2232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2220,10 +2249,10 @@ function validate$7(obj, path = 'RADNodeObjectOutputRepresentation') {
|
|
|
2220
2249
|
})();
|
|
2221
2250
|
return v_error === undefined ? null : v_error;
|
|
2222
2251
|
}
|
|
2223
|
-
const select$
|
|
2252
|
+
const select$c = function RADNodeObjectOutputRepresentationSelect() {
|
|
2224
2253
|
return {
|
|
2225
2254
|
kind: 'Fragment',
|
|
2226
|
-
version: VERSION$
|
|
2255
|
+
version: VERSION$8,
|
|
2227
2256
|
private: [],
|
|
2228
2257
|
selections: [
|
|
2229
2258
|
{
|
|
@@ -2241,7 +2270,7 @@ const select$b = function RADNodeObjectOutputRepresentationSelect() {
|
|
|
2241
2270
|
]
|
|
2242
2271
|
};
|
|
2243
2272
|
};
|
|
2244
|
-
function equals$
|
|
2273
|
+
function equals$8(existing, incoming) {
|
|
2245
2274
|
const existing_apiName = existing.apiName;
|
|
2246
2275
|
const incoming_apiName = incoming.apiName;
|
|
2247
2276
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2260,8 +2289,8 @@ function equals$7(existing, incoming) {
|
|
|
2260
2289
|
return true;
|
|
2261
2290
|
}
|
|
2262
2291
|
|
|
2263
|
-
const VERSION$
|
|
2264
|
-
function validate$
|
|
2292
|
+
const VERSION$7 = "39e3ae51001702727f0adea383e9abb3";
|
|
2293
|
+
function validate$7(obj, path = 'RADNodeOutputRepresentation') {
|
|
2265
2294
|
const v_error = (() => {
|
|
2266
2295
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2267
2296
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2269,7 +2298,7 @@ function validate$6(obj, path = 'RADNodeOutputRepresentation') {
|
|
|
2269
2298
|
if (obj.filterDetails !== undefined) {
|
|
2270
2299
|
const obj_filterDetails = obj.filterDetails;
|
|
2271
2300
|
const path_filterDetails = path + '.filterDetails';
|
|
2272
|
-
const referencepath_filterDetailsValidationError = validate$
|
|
2301
|
+
const referencepath_filterDetailsValidationError = validate$a(obj_filterDetails, path_filterDetails);
|
|
2273
2302
|
if (referencepath_filterDetailsValidationError !== null) {
|
|
2274
2303
|
let message = 'Object doesn\'t match RADNodeFilterOutputRepresentation (at "' + path_filterDetails + '")\n';
|
|
2275
2304
|
message += referencepath_filterDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2279,7 +2308,7 @@ function validate$6(obj, path = 'RADNodeOutputRepresentation') {
|
|
|
2279
2308
|
if (obj.nextObjectJoinDetails !== undefined) {
|
|
2280
2309
|
const obj_nextObjectJoinDetails = obj.nextObjectJoinDetails;
|
|
2281
2310
|
const path_nextObjectJoinDetails = path + '.nextObjectJoinDetails';
|
|
2282
|
-
const referencepath_nextObjectJoinDetailsValidationError = validate$
|
|
2311
|
+
const referencepath_nextObjectJoinDetailsValidationError = validate$9(obj_nextObjectJoinDetails, path_nextObjectJoinDetails);
|
|
2283
2312
|
if (referencepath_nextObjectJoinDetailsValidationError !== null) {
|
|
2284
2313
|
let message = 'Object doesn\'t match RADJoinFieldOutputRepresentation (at "' + path_nextObjectJoinDetails + '")\n';
|
|
2285
2314
|
message += referencepath_nextObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2288,7 +2317,7 @@ function validate$6(obj, path = 'RADNodeOutputRepresentation') {
|
|
|
2288
2317
|
}
|
|
2289
2318
|
const obj_objectDetails = obj.objectDetails;
|
|
2290
2319
|
const path_objectDetails = path + '.objectDetails';
|
|
2291
|
-
const referencepath_objectDetailsValidationError = validate$
|
|
2320
|
+
const referencepath_objectDetailsValidationError = validate$8(obj_objectDetails, path_objectDetails);
|
|
2292
2321
|
if (referencepath_objectDetailsValidationError !== null) {
|
|
2293
2322
|
let message = 'Object doesn\'t match RADNodeObjectOutputRepresentation (at "' + path_objectDetails + '")\n';
|
|
2294
2323
|
message += referencepath_objectDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2297,7 +2326,7 @@ function validate$6(obj, path = 'RADNodeOutputRepresentation') {
|
|
|
2297
2326
|
if (obj.previousObjectJoinDetails !== undefined) {
|
|
2298
2327
|
const obj_previousObjectJoinDetails = obj.previousObjectJoinDetails;
|
|
2299
2328
|
const path_previousObjectJoinDetails = path + '.previousObjectJoinDetails';
|
|
2300
|
-
const referencepath_previousObjectJoinDetailsValidationError = validate$
|
|
2329
|
+
const referencepath_previousObjectJoinDetailsValidationError = validate$9(obj_previousObjectJoinDetails, path_previousObjectJoinDetails);
|
|
2301
2330
|
if (referencepath_previousObjectJoinDetailsValidationError !== null) {
|
|
2302
2331
|
let message = 'Object doesn\'t match RADJoinFieldOutputRepresentation (at "' + path_previousObjectJoinDetails + '")\n';
|
|
2303
2332
|
message += referencepath_previousObjectJoinDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2312,13 +2341,13 @@ function validate$6(obj, path = 'RADNodeOutputRepresentation') {
|
|
|
2312
2341
|
})();
|
|
2313
2342
|
return v_error === undefined ? null : v_error;
|
|
2314
2343
|
}
|
|
2315
|
-
const select$
|
|
2316
|
-
const { selections: RADNodeFilterOutputRepresentation__selections, opaque: RADNodeFilterOutputRepresentation__opaque, } = select$
|
|
2317
|
-
const { selections: RADJoinFieldOutputRepresentation__selections, opaque: RADJoinFieldOutputRepresentation__opaque, } = select$
|
|
2318
|
-
const { selections: RADNodeObjectOutputRepresentation__selections, opaque: RADNodeObjectOutputRepresentation__opaque, } = select$
|
|
2344
|
+
const select$b = function RADNodeOutputRepresentationSelect() {
|
|
2345
|
+
const { selections: RADNodeFilterOutputRepresentation__selections, opaque: RADNodeFilterOutputRepresentation__opaque, } = select$e();
|
|
2346
|
+
const { selections: RADJoinFieldOutputRepresentation__selections, opaque: RADJoinFieldOutputRepresentation__opaque, } = select$d();
|
|
2347
|
+
const { selections: RADNodeObjectOutputRepresentation__selections, opaque: RADNodeObjectOutputRepresentation__opaque, } = select$c();
|
|
2319
2348
|
return {
|
|
2320
2349
|
kind: 'Fragment',
|
|
2321
|
-
version: VERSION$
|
|
2350
|
+
version: VERSION$7,
|
|
2322
2351
|
private: [],
|
|
2323
2352
|
selections: [
|
|
2324
2353
|
{
|
|
@@ -2351,7 +2380,7 @@ const select$a = function RADNodeOutputRepresentationSelect() {
|
|
|
2351
2380
|
]
|
|
2352
2381
|
};
|
|
2353
2382
|
};
|
|
2354
|
-
function equals$
|
|
2383
|
+
function equals$7(existing, incoming) {
|
|
2355
2384
|
const existing_sequence = existing.sequence;
|
|
2356
2385
|
const incoming_sequence = incoming.sequence;
|
|
2357
2386
|
if (!(existing_sequence === incoming_sequence)) {
|
|
@@ -2366,7 +2395,7 @@ function equals$6(existing, incoming) {
|
|
|
2366
2395
|
if (existing_filterDetails === undefined || incoming_filterDetails === undefined) {
|
|
2367
2396
|
return false;
|
|
2368
2397
|
}
|
|
2369
|
-
if (!(equals$
|
|
2398
|
+
if (!(equals$a(existing_filterDetails, incoming_filterDetails))) {
|
|
2370
2399
|
return false;
|
|
2371
2400
|
}
|
|
2372
2401
|
}
|
|
@@ -2379,13 +2408,13 @@ function equals$6(existing, incoming) {
|
|
|
2379
2408
|
if (existing_nextObjectJoinDetails === undefined || incoming_nextObjectJoinDetails === undefined) {
|
|
2380
2409
|
return false;
|
|
2381
2410
|
}
|
|
2382
|
-
if (!(equals$
|
|
2411
|
+
if (!(equals$9(existing_nextObjectJoinDetails, incoming_nextObjectJoinDetails))) {
|
|
2383
2412
|
return false;
|
|
2384
2413
|
}
|
|
2385
2414
|
}
|
|
2386
2415
|
const existing_objectDetails = existing.objectDetails;
|
|
2387
2416
|
const incoming_objectDetails = incoming.objectDetails;
|
|
2388
|
-
if (!(equals$
|
|
2417
|
+
if (!(equals$8(existing_objectDetails, incoming_objectDetails))) {
|
|
2389
2418
|
return false;
|
|
2390
2419
|
}
|
|
2391
2420
|
const existing_previousObjectJoinDetails = existing.previousObjectJoinDetails;
|
|
@@ -2397,15 +2426,15 @@ function equals$6(existing, incoming) {
|
|
|
2397
2426
|
if (existing_previousObjectJoinDetails === undefined || incoming_previousObjectJoinDetails === undefined) {
|
|
2398
2427
|
return false;
|
|
2399
2428
|
}
|
|
2400
|
-
if (!(equals$
|
|
2429
|
+
if (!(equals$9(existing_previousObjectJoinDetails, incoming_previousObjectJoinDetails))) {
|
|
2401
2430
|
return false;
|
|
2402
2431
|
}
|
|
2403
2432
|
}
|
|
2404
2433
|
return true;
|
|
2405
2434
|
}
|
|
2406
2435
|
|
|
2407
|
-
const VERSION$
|
|
2408
|
-
function validate$
|
|
2436
|
+
const VERSION$6 = "5e8dedbd6439b248770b8c6a877fa0f5";
|
|
2437
|
+
function validate$6(obj, path = 'RADOutputRepresentation') {
|
|
2409
2438
|
const v_error = (() => {
|
|
2410
2439
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2411
2440
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2418,7 +2447,7 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
|
2418
2447
|
for (let i = 0; i < obj_aggregationObjects.length; i++) {
|
|
2419
2448
|
const obj_aggregationObjects_item = obj_aggregationObjects[i];
|
|
2420
2449
|
const path_aggregationObjects_item = path_aggregationObjects + '[' + i + ']';
|
|
2421
|
-
const referencepath_aggregationObjects_itemValidationError = validate$
|
|
2450
|
+
const referencepath_aggregationObjects_itemValidationError = validate$7(obj_aggregationObjects_item, path_aggregationObjects_item);
|
|
2422
2451
|
if (referencepath_aggregationObjects_itemValidationError !== null) {
|
|
2423
2452
|
let message = 'Object doesn\'t match RADNodeOutputRepresentation (at "' + path_aggregationObjects_item + '")\n';
|
|
2424
2453
|
message += referencepath_aggregationObjects_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2493,11 +2522,11 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
2493
2522
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
2494
2523
|
return input;
|
|
2495
2524
|
}
|
|
2496
|
-
const select$
|
|
2497
|
-
const { selections: RADNodeOutputRepresentation__selections, opaque: RADNodeOutputRepresentation__opaque, } = select$
|
|
2525
|
+
const select$a = function RADOutputRepresentationSelect() {
|
|
2526
|
+
const { selections: RADNodeOutputRepresentation__selections, opaque: RADNodeOutputRepresentation__opaque, } = select$b();
|
|
2498
2527
|
return {
|
|
2499
2528
|
kind: 'Fragment',
|
|
2500
|
-
version: VERSION$
|
|
2529
|
+
version: VERSION$6,
|
|
2501
2530
|
private: [],
|
|
2502
2531
|
selections: [
|
|
2503
2532
|
{
|
|
@@ -2550,7 +2579,7 @@ const select$9 = function RADOutputRepresentationSelect() {
|
|
|
2550
2579
|
]
|
|
2551
2580
|
};
|
|
2552
2581
|
};
|
|
2553
|
-
function equals$
|
|
2582
|
+
function equals$6(existing, incoming) {
|
|
2554
2583
|
const existing_canDeleteDefinition = existing.canDeleteDefinition;
|
|
2555
2584
|
const incoming_canDeleteDefinition = incoming.canDeleteDefinition;
|
|
2556
2585
|
if (!(existing_canDeleteDefinition === incoming_canDeleteDefinition)) {
|
|
@@ -2612,7 +2641,7 @@ function equals$5(existing, incoming) {
|
|
|
2612
2641
|
const existing_aggregationObjects = existing.aggregationObjects;
|
|
2613
2642
|
const incoming_aggregationObjects = incoming.aggregationObjects;
|
|
2614
2643
|
const equals_aggregationObjects_items = equalsArray(existing_aggregationObjects, incoming_aggregationObjects, (existing_aggregationObjects_item, incoming_aggregationObjects_item) => {
|
|
2615
|
-
if (!(equals$
|
|
2644
|
+
if (!(equals$7(existing_aggregationObjects_item, incoming_aggregationObjects_item))) {
|
|
2616
2645
|
return false;
|
|
2617
2646
|
}
|
|
2618
2647
|
});
|
|
@@ -2623,14 +2652,14 @@ function equals$5(existing, incoming) {
|
|
|
2623
2652
|
}
|
|
2624
2653
|
const ingest$3 = function RADOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2625
2654
|
if (process.env.NODE_ENV !== 'production') {
|
|
2626
|
-
const validateError = validate$
|
|
2655
|
+
const validateError = validate$6(input);
|
|
2627
2656
|
if (validateError !== null) {
|
|
2628
2657
|
throw validateError;
|
|
2629
2658
|
}
|
|
2630
2659
|
}
|
|
2631
2660
|
const key = keyBuilderFromType$3(luvio, input);
|
|
2632
2661
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
2633
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "IndustriesRecordAggregation", VERSION$
|
|
2662
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "IndustriesRecordAggregation", VERSION$6, RepresentationType$3, equals$6);
|
|
2634
2663
|
return createLink(key);
|
|
2635
2664
|
};
|
|
2636
2665
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2643,8 +2672,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2643
2672
|
});
|
|
2644
2673
|
}
|
|
2645
2674
|
|
|
2646
|
-
function select$
|
|
2647
|
-
return select$
|
|
2675
|
+
function select$9(luvio, params) {
|
|
2676
|
+
return select$a();
|
|
2648
2677
|
}
|
|
2649
2678
|
function keyBuilder$5(luvio, params) {
|
|
2650
2679
|
return keyBuilder$6(luvio, {
|
|
@@ -2660,7 +2689,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2660
2689
|
luvio.storeIngest(key, ingest$3, body);
|
|
2661
2690
|
const snapshot = luvio.storeLookup({
|
|
2662
2691
|
recordId: key,
|
|
2663
|
-
node: select$
|
|
2692
|
+
node: select$9(),
|
|
2664
2693
|
variables: {},
|
|
2665
2694
|
}, snapshotRefresh);
|
|
2666
2695
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2721,7 +2750,7 @@ function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
|
2721
2750
|
}
|
|
2722
2751
|
function adapterFragment(luvio, config) {
|
|
2723
2752
|
createResourceParams$4(config);
|
|
2724
|
-
return select$
|
|
2753
|
+
return select$9();
|
|
2725
2754
|
}
|
|
2726
2755
|
function onFetchResponseSuccess(luvio, config, resourceParams, response) {
|
|
2727
2756
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response, {
|
|
@@ -2777,8 +2806,8 @@ const getRecordAggregationDefinitionAdapterFactory = (luvio) => function Industr
|
|
|
2777
2806
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
2778
2807
|
};
|
|
2779
2808
|
|
|
2780
|
-
const VERSION$
|
|
2781
|
-
function validate$
|
|
2809
|
+
const VERSION$5 = "283ece02338d0d6ce28909ac02e76bc1";
|
|
2810
|
+
function validate$5(obj, path = 'RecordAggregationDefinitionPartialUpdateOutputRepresentation') {
|
|
2782
2811
|
const v_error = (() => {
|
|
2783
2812
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2784
2813
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2809,10 +2838,10 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
2809
2838
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
2810
2839
|
return input;
|
|
2811
2840
|
}
|
|
2812
|
-
const select$
|
|
2841
|
+
const select$8 = function RecordAggregationDefinitionPartialUpdateOutputRepresentationSelect() {
|
|
2813
2842
|
return {
|
|
2814
2843
|
kind: 'Fragment',
|
|
2815
|
-
version: VERSION$
|
|
2844
|
+
version: VERSION$5,
|
|
2816
2845
|
private: [],
|
|
2817
2846
|
selections: [
|
|
2818
2847
|
{
|
|
@@ -2826,7 +2855,7 @@ const select$7 = function RecordAggregationDefinitionPartialUpdateOutputRepresen
|
|
|
2826
2855
|
]
|
|
2827
2856
|
};
|
|
2828
2857
|
};
|
|
2829
|
-
function equals$
|
|
2858
|
+
function equals$5(existing, incoming) {
|
|
2830
2859
|
const existing_message = existing.message;
|
|
2831
2860
|
const incoming_message = incoming.message;
|
|
2832
2861
|
if (!(existing_message === incoming_message)) {
|
|
@@ -2841,14 +2870,14 @@ function equals$4(existing, incoming) {
|
|
|
2841
2870
|
}
|
|
2842
2871
|
const ingest$2 = function RecordAggregationDefinitionPartialUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2843
2872
|
if (process.env.NODE_ENV !== 'production') {
|
|
2844
|
-
const validateError = validate$
|
|
2873
|
+
const validateError = validate$5(input);
|
|
2845
2874
|
if (validateError !== null) {
|
|
2846
2875
|
throw validateError;
|
|
2847
2876
|
}
|
|
2848
2877
|
}
|
|
2849
2878
|
const key = keyBuilderFromType$2(luvio, input);
|
|
2850
2879
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
2851
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IndustriesRecordAggregation", VERSION$
|
|
2880
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IndustriesRecordAggregation", VERSION$5, RepresentationType$2, equals$5);
|
|
2852
2881
|
return createLink(key);
|
|
2853
2882
|
};
|
|
2854
2883
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2861,8 +2890,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2861
2890
|
});
|
|
2862
2891
|
}
|
|
2863
2892
|
|
|
2864
|
-
function select$
|
|
2865
|
-
return select$
|
|
2893
|
+
function select$7(luvio, params) {
|
|
2894
|
+
return select$8();
|
|
2866
2895
|
}
|
|
2867
2896
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
2868
2897
|
getTypeCacheKeys$2(storeKeyMap, luvio, response);
|
|
@@ -2873,7 +2902,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
2873
2902
|
luvio.storeIngest(key, ingest$2, body);
|
|
2874
2903
|
const snapshot = luvio.storeLookup({
|
|
2875
2904
|
recordId: key,
|
|
2876
|
-
node: select$
|
|
2905
|
+
node: select$7(),
|
|
2877
2906
|
variables: {},
|
|
2878
2907
|
});
|
|
2879
2908
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2955,8 +2984,8 @@ const patchRecordAggregationDefinitionAdapterFactory = (luvio) => {
|
|
|
2955
2984
|
};
|
|
2956
2985
|
};
|
|
2957
2986
|
|
|
2958
|
-
const VERSION$
|
|
2959
|
-
function validate$
|
|
2987
|
+
const VERSION$4 = "f0ea8c85a5a54a087ec6802a512e69cd";
|
|
2988
|
+
function validate$4(obj, path = 'RecordAggregationUpdationOutputRepresentation') {
|
|
2960
2989
|
const v_error = (() => {
|
|
2961
2990
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2962
2991
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2987,10 +3016,10 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
2987
3016
|
function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
2988
3017
|
return input;
|
|
2989
3018
|
}
|
|
2990
|
-
const select$
|
|
3019
|
+
const select$6 = function RecordAggregationUpdationOutputRepresentationSelect() {
|
|
2991
3020
|
return {
|
|
2992
3021
|
kind: 'Fragment',
|
|
2993
|
-
version: VERSION$
|
|
3022
|
+
version: VERSION$4,
|
|
2994
3023
|
private: [],
|
|
2995
3024
|
selections: [
|
|
2996
3025
|
{
|
|
@@ -3004,7 +3033,7 @@ const select$5 = function RecordAggregationUpdationOutputRepresentationSelect()
|
|
|
3004
3033
|
]
|
|
3005
3034
|
};
|
|
3006
3035
|
};
|
|
3007
|
-
function equals$
|
|
3036
|
+
function equals$4(existing, incoming) {
|
|
3008
3037
|
const existing_message = existing.message;
|
|
3009
3038
|
const incoming_message = incoming.message;
|
|
3010
3039
|
if (!(existing_message === incoming_message)) {
|
|
@@ -3019,14 +3048,14 @@ function equals$3(existing, incoming) {
|
|
|
3019
3048
|
}
|
|
3020
3049
|
const ingest$1 = function RecordAggregationUpdationOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3021
3050
|
if (process.env.NODE_ENV !== 'production') {
|
|
3022
|
-
const validateError = validate$
|
|
3051
|
+
const validateError = validate$4(input);
|
|
3023
3052
|
if (validateError !== null) {
|
|
3024
3053
|
throw validateError;
|
|
3025
3054
|
}
|
|
3026
3055
|
}
|
|
3027
3056
|
const key = keyBuilderFromType$1(luvio, input);
|
|
3028
3057
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 100;
|
|
3029
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IndustriesRecordAggregation", VERSION$
|
|
3058
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IndustriesRecordAggregation", VERSION$4, RepresentationType$1, equals$4);
|
|
3030
3059
|
return createLink(key);
|
|
3031
3060
|
};
|
|
3032
3061
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3039,8 +3068,8 @@ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3039
3068
|
});
|
|
3040
3069
|
}
|
|
3041
3070
|
|
|
3042
|
-
function select$
|
|
3043
|
-
return select$
|
|
3071
|
+
function select$5(luvio, params) {
|
|
3072
|
+
return select$6();
|
|
3044
3073
|
}
|
|
3045
3074
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
3046
3075
|
getTypeCacheKeys$1(storeKeyMap, luvio, response);
|
|
@@ -3051,7 +3080,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
3051
3080
|
luvio.storeIngest(key, ingest$1, body);
|
|
3052
3081
|
const snapshot = luvio.storeLookup({
|
|
3053
3082
|
recordId: key,
|
|
3054
|
-
node: select$
|
|
3083
|
+
node: select$5(),
|
|
3055
3084
|
variables: {},
|
|
3056
3085
|
});
|
|
3057
3086
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -3094,7 +3123,7 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
3094
3123
|
const untrustedConfig_aggregationObjects_array = [];
|
|
3095
3124
|
for (let i = 0, arrayLength = untrustedConfig_aggregationObjects.length; i < arrayLength; i++) {
|
|
3096
3125
|
const untrustedConfig_aggregationObjects_item = untrustedConfig_aggregationObjects[i];
|
|
3097
|
-
const referenceRecordAggregationNodeInputRepresentationValidationError = validate$
|
|
3126
|
+
const referenceRecordAggregationNodeInputRepresentationValidationError = validate$o(untrustedConfig_aggregationObjects_item);
|
|
3098
3127
|
if (referenceRecordAggregationNodeInputRepresentationValidationError === null) {
|
|
3099
3128
|
untrustedConfig_aggregationObjects_array.push(untrustedConfig_aggregationObjects_item);
|
|
3100
3129
|
}
|
|
@@ -3229,8 +3258,8 @@ const deleteRecordAggregationDefinitionAdapterFactory = (luvio) => {
|
|
|
3229
3258
|
};
|
|
3230
3259
|
};
|
|
3231
3260
|
|
|
3232
|
-
const VERSION$
|
|
3233
|
-
function validate$
|
|
3261
|
+
const VERSION$3 = "02daf0b89e25c17101427c70217f6ffb";
|
|
3262
|
+
function validate$3(obj, path = 'RecordRollupResultColumnOutputRepresentation') {
|
|
3234
3263
|
const v_error = (() => {
|
|
3235
3264
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3236
3265
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3278,10 +3307,10 @@ function validate$2(obj, path = 'RecordRollupResultColumnOutputRepresentation')
|
|
|
3278
3307
|
})();
|
|
3279
3308
|
return v_error === undefined ? null : v_error;
|
|
3280
3309
|
}
|
|
3281
|
-
const select$
|
|
3310
|
+
const select$4 = function RecordRollupResultColumnOutputRepresentationSelect() {
|
|
3282
3311
|
return {
|
|
3283
3312
|
kind: 'Fragment',
|
|
3284
|
-
version: VERSION$
|
|
3313
|
+
version: VERSION$3,
|
|
3285
3314
|
private: [],
|
|
3286
3315
|
selections: [
|
|
3287
3316
|
{
|
|
@@ -3319,7 +3348,7 @@ const select$3 = function RecordRollupResultColumnOutputRepresentationSelect() {
|
|
|
3319
3348
|
]
|
|
3320
3349
|
};
|
|
3321
3350
|
};
|
|
3322
|
-
function equals$
|
|
3351
|
+
function equals$3(existing, incoming) {
|
|
3323
3352
|
const existing_isRedirectionEnabled = existing.isRedirectionEnabled;
|
|
3324
3353
|
const incoming_isRedirectionEnabled = incoming.isRedirectionEnabled;
|
|
3325
3354
|
if (!(existing_isRedirectionEnabled === incoming_isRedirectionEnabled)) {
|
|
@@ -3363,6 +3392,74 @@ function equals$2(existing, incoming) {
|
|
|
3363
3392
|
return true;
|
|
3364
3393
|
}
|
|
3365
3394
|
|
|
3395
|
+
const VERSION$2 = "e036b26fdcac79c3bbd53942bbd5833c";
|
|
3396
|
+
function validate$2(obj, path = 'RecordRollupResultLastUpdatedInfoOutputRepresentation') {
|
|
3397
|
+
const v_error = (() => {
|
|
3398
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3399
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3400
|
+
}
|
|
3401
|
+
if (obj.epochTime !== undefined) {
|
|
3402
|
+
obj.epochTime;
|
|
3403
|
+
}
|
|
3404
|
+
if (obj.errorType !== undefined) {
|
|
3405
|
+
const obj_errorType = obj.errorType;
|
|
3406
|
+
const path_errorType = path + '.errorType';
|
|
3407
|
+
if (typeof obj_errorType !== 'string') {
|
|
3408
|
+
return new TypeError('Expected "string" but received "' + typeof obj_errorType + '" (at "' + path_errorType + '")');
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
})();
|
|
3412
|
+
return v_error === undefined ? null : v_error;
|
|
3413
|
+
}
|
|
3414
|
+
const select$3 = function RecordRollupResultLastUpdatedInfoOutputRepresentationSelect() {
|
|
3415
|
+
return {
|
|
3416
|
+
kind: 'Fragment',
|
|
3417
|
+
version: VERSION$2,
|
|
3418
|
+
private: [],
|
|
3419
|
+
selections: [
|
|
3420
|
+
{
|
|
3421
|
+
name: 'epochTime',
|
|
3422
|
+
kind: 'Scalar',
|
|
3423
|
+
required: false
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
name: 'errorType',
|
|
3427
|
+
kind: 'Scalar',
|
|
3428
|
+
required: false
|
|
3429
|
+
}
|
|
3430
|
+
]
|
|
3431
|
+
};
|
|
3432
|
+
};
|
|
3433
|
+
function equals$2(existing, incoming) {
|
|
3434
|
+
const existing_errorType = existing.errorType;
|
|
3435
|
+
const incoming_errorType = incoming.errorType;
|
|
3436
|
+
// if at least one of these optionals is defined
|
|
3437
|
+
if (existing_errorType !== undefined || incoming_errorType !== undefined) {
|
|
3438
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3439
|
+
// not equal
|
|
3440
|
+
if (existing_errorType === undefined || incoming_errorType === undefined) {
|
|
3441
|
+
return false;
|
|
3442
|
+
}
|
|
3443
|
+
if (!(existing_errorType === incoming_errorType)) {
|
|
3444
|
+
return false;
|
|
3445
|
+
}
|
|
3446
|
+
}
|
|
3447
|
+
const existing_epochTime = existing.epochTime;
|
|
3448
|
+
const incoming_epochTime = incoming.epochTime;
|
|
3449
|
+
// if at least one of these optionals is defined
|
|
3450
|
+
if (existing_epochTime !== undefined || incoming_epochTime !== undefined) {
|
|
3451
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3452
|
+
// not equal
|
|
3453
|
+
if (existing_epochTime === undefined || incoming_epochTime === undefined) {
|
|
3454
|
+
return false;
|
|
3455
|
+
}
|
|
3456
|
+
if (!(existing_epochTime === incoming_epochTime)) {
|
|
3457
|
+
return false;
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
return true;
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3366
3463
|
const VERSION$1 = "884b768851eba2313c1ed3ea0b6f454d";
|
|
3367
3464
|
function validate$1(obj, path = 'RecordRollupResultRowOutputRepresentation') {
|
|
3368
3465
|
const v_error = (() => {
|
|
@@ -3414,7 +3511,7 @@ function equals$1(existing, incoming) {
|
|
|
3414
3511
|
return true;
|
|
3415
3512
|
}
|
|
3416
3513
|
|
|
3417
|
-
const VERSION = "
|
|
3514
|
+
const VERSION = "60d50a495e0c5d9bcb5c990fca7b9cd4";
|
|
3418
3515
|
function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
3419
3516
|
const v_error = (() => {
|
|
3420
3517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3428,7 +3525,7 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
|
3428
3525
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
3429
3526
|
const obj_columns_item = obj_columns[i];
|
|
3430
3527
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
3431
|
-
const referencepath_columns_itemValidationError = validate$
|
|
3528
|
+
const referencepath_columns_itemValidationError = validate$3(obj_columns_item, path_columns_item);
|
|
3432
3529
|
if (referencepath_columns_itemValidationError !== null) {
|
|
3433
3530
|
let message = 'Object doesn\'t match RecordRollupResultColumnOutputRepresentation (at "' + path_columns_item + '")\n';
|
|
3434
3531
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3443,6 +3540,16 @@ function validate(obj, path = 'RecordRollupResultOutputRepresentation') {
|
|
|
3443
3540
|
if (obj.lastUpdatedEpochTime !== undefined) {
|
|
3444
3541
|
obj.lastUpdatedEpochTime;
|
|
3445
3542
|
}
|
|
3543
|
+
if (obj.lastUpdatedInfo !== undefined) {
|
|
3544
|
+
const obj_lastUpdatedInfo = obj.lastUpdatedInfo;
|
|
3545
|
+
const path_lastUpdatedInfo = path + '.lastUpdatedInfo';
|
|
3546
|
+
const referencepath_lastUpdatedInfoValidationError = validate$2(obj_lastUpdatedInfo, path_lastUpdatedInfo);
|
|
3547
|
+
if (referencepath_lastUpdatedInfoValidationError !== null) {
|
|
3548
|
+
let message = 'Object doesn\'t match RecordRollupResultLastUpdatedInfoOutputRepresentation (at "' + path_lastUpdatedInfo + '")\n';
|
|
3549
|
+
message += referencepath_lastUpdatedInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3550
|
+
return new TypeError(message);
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3446
3553
|
const obj_message = obj.message;
|
|
3447
3554
|
const path_message = path + '.message';
|
|
3448
3555
|
if (typeof obj_message !== 'string') {
|
|
@@ -3490,7 +3597,8 @@ function normalize(input, existing, path, luvio, store, timestamp) {
|
|
|
3490
3597
|
return input;
|
|
3491
3598
|
}
|
|
3492
3599
|
const select$1 = function RecordRollupResultOutputRepresentationSelect() {
|
|
3493
|
-
const { selections: RecordRollupResultColumnOutputRepresentation__selections, opaque: RecordRollupResultColumnOutputRepresentation__opaque, } = select$
|
|
3600
|
+
const { selections: RecordRollupResultColumnOutputRepresentation__selections, opaque: RecordRollupResultColumnOutputRepresentation__opaque, } = select$4();
|
|
3601
|
+
const { selections: RecordRollupResultLastUpdatedInfoOutputRepresentation__selections, opaque: RecordRollupResultLastUpdatedInfoOutputRepresentation__opaque, } = select$3();
|
|
3494
3602
|
const { selections: RecordRollupResultRowOutputRepresentation__selections, opaque: RecordRollupResultRowOutputRepresentation__opaque, } = select$2();
|
|
3495
3603
|
return {
|
|
3496
3604
|
kind: 'Fragment',
|
|
@@ -3512,6 +3620,12 @@ const select$1 = function RecordRollupResultOutputRepresentationSelect() {
|
|
|
3512
3620
|
kind: 'Scalar',
|
|
3513
3621
|
required: false
|
|
3514
3622
|
},
|
|
3623
|
+
{
|
|
3624
|
+
name: 'lastUpdatedInfo',
|
|
3625
|
+
kind: 'Object',
|
|
3626
|
+
selections: RecordRollupResultLastUpdatedInfoOutputRepresentation__selections,
|
|
3627
|
+
required: false
|
|
3628
|
+
},
|
|
3515
3629
|
{
|
|
3516
3630
|
name: 'message',
|
|
3517
3631
|
kind: 'Scalar'
|
|
@@ -3570,13 +3684,26 @@ function equals(existing, incoming) {
|
|
|
3570
3684
|
const existing_columns = existing.columns;
|
|
3571
3685
|
const incoming_columns = incoming.columns;
|
|
3572
3686
|
const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
|
|
3573
|
-
if (!(equals$
|
|
3687
|
+
if (!(equals$3(existing_columns_item, incoming_columns_item))) {
|
|
3574
3688
|
return false;
|
|
3575
3689
|
}
|
|
3576
3690
|
});
|
|
3577
3691
|
if (equals_columns_items === false) {
|
|
3578
3692
|
return false;
|
|
3579
3693
|
}
|
|
3694
|
+
const existing_lastUpdatedInfo = existing.lastUpdatedInfo;
|
|
3695
|
+
const incoming_lastUpdatedInfo = incoming.lastUpdatedInfo;
|
|
3696
|
+
// if at least one of these optionals is defined
|
|
3697
|
+
if (existing_lastUpdatedInfo !== undefined || incoming_lastUpdatedInfo !== undefined) {
|
|
3698
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3699
|
+
// not equal
|
|
3700
|
+
if (existing_lastUpdatedInfo === undefined || incoming_lastUpdatedInfo === undefined) {
|
|
3701
|
+
return false;
|
|
3702
|
+
}
|
|
3703
|
+
if (!(equals$2(existing_lastUpdatedInfo, incoming_lastUpdatedInfo))) {
|
|
3704
|
+
return false;
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3580
3707
|
const existing_rows = existing.rows;
|
|
3581
3708
|
const incoming_rows = incoming.rows;
|
|
3582
3709
|
const equals_rows_items = equalsArray(existing_rows, incoming_rows, (existing_rows_item, incoming_rows_item) => {
|