@salesforce/lds-adapters-industries-rule-builder 1.174.1 → 1.175.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-rule-builder.js +219 -98
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepInputRepresentation.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepOutputRepresentation.d.ts +11 -1
- package/dist/es/es2018/types/src/generated/types/ExpressionSetDesTokenMappingRepresentation.d.ts +31 -0
- package/package.json +1 -1
- package/sfdc/index.js +185 -64
- package/src/raml/api.raml +54 -0
|
@@ -72,7 +72,7 @@ function createLink(ref) {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
function validate$
|
|
75
|
+
function validate$1h(obj, path = 'ExpressionSetInputRepresentation') {
|
|
76
76
|
const v_error = (() => {
|
|
77
77
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
78
78
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -131,7 +131,7 @@ function validate$1g(obj, path = 'ExpressionSetInputRepresentation') {
|
|
|
131
131
|
return v_error === undefined ? null : v_error;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
function validate$
|
|
134
|
+
function validate$1g(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
135
135
|
const v_error = (() => {
|
|
136
136
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
137
137
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -150,7 +150,7 @@ function validate$1f(obj, path = 'ContextDefinitionOutputRepresentation') {
|
|
|
150
150
|
return v_error === undefined ? null : v_error;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
function validate$
|
|
153
|
+
function validate$1f(obj, path = 'ExpressionSetErrorRepresentation') {
|
|
154
154
|
const v_error = (() => {
|
|
155
155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
156
156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -164,7 +164,7 @@ function validate$1e(obj, path = 'ExpressionSetErrorRepresentation') {
|
|
|
164
164
|
return v_error === undefined ? null : v_error;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
function validate$
|
|
167
|
+
function validate$1e(obj, path = 'ExpressionSetConditionCriteriaOutputRepresentation') {
|
|
168
168
|
const v_error = (() => {
|
|
169
169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
170
170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -198,7 +198,7 @@ function validate$1d(obj, path = 'ExpressionSetConditionCriteriaOutputRepresenta
|
|
|
198
198
|
return v_error === undefined ? null : v_error;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
function validate$
|
|
201
|
+
function validate$1d(obj, path = 'ExpressionSetAdvancedConditionStepOutputRepresentation') {
|
|
202
202
|
const v_error = (() => {
|
|
203
203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
204
204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -216,7 +216,7 @@ function validate$1c(obj, path = 'ExpressionSetAdvancedConditionStepOutputRepres
|
|
|
216
216
|
for (let i = 0; i < obj_criteria.length; i++) {
|
|
217
217
|
const obj_criteria_item = obj_criteria[i];
|
|
218
218
|
const path_criteria_item = path_criteria + '[' + i + ']';
|
|
219
|
-
const referencepath_criteria_itemValidationError = validate$
|
|
219
|
+
const referencepath_criteria_itemValidationError = validate$1e(obj_criteria_item, path_criteria_item);
|
|
220
220
|
if (referencepath_criteria_itemValidationError !== null) {
|
|
221
221
|
let message = 'Object doesn\'t match ExpressionSetConditionCriteriaOutputRepresentation (at "' + path_criteria_item + '")\n';
|
|
222
222
|
message += referencepath_criteria_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -232,7 +232,7 @@ function validate$1c(obj, path = 'ExpressionSetAdvancedConditionStepOutputRepres
|
|
|
232
232
|
return v_error === undefined ? null : v_error;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
function validate$
|
|
235
|
+
function validate$1c(obj, path = 'ExpressionSetAggregationStepOutputRepresentation') {
|
|
236
236
|
const v_error = (() => {
|
|
237
237
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
238
238
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -256,7 +256,7 @@ function validate$1b(obj, path = 'ExpressionSetAggregationStepOutputRepresentati
|
|
|
256
256
|
return v_error === undefined ? null : v_error;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
function validate$
|
|
259
|
+
function validate$1b(obj, path = 'ExpressionSetAssignmentStepOutputRepresentation') {
|
|
260
260
|
const v_error = (() => {
|
|
261
261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
262
262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -275,7 +275,7 @@ function validate$1a(obj, path = 'ExpressionSetAssignmentStepOutputRepresentatio
|
|
|
275
275
|
return v_error === undefined ? null : v_error;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
function validate$
|
|
278
|
+
function validate$1a(obj, path = 'ExpressionSetConditionExpressionStepOutputRepresentation') {
|
|
279
279
|
const v_error = (() => {
|
|
280
280
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
281
281
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -294,7 +294,7 @@ function validate$19(obj, path = 'ExpressionSetConditionExpressionStepOutputRepr
|
|
|
294
294
|
return v_error === undefined ? null : v_error;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
function validate$
|
|
297
|
+
function validate$19(obj, path = 'ExpressionSetCustomElementParameterOutputRepresentation') {
|
|
298
298
|
const v_error = (() => {
|
|
299
299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
300
300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -323,7 +323,7 @@ function validate$18(obj, path = 'ExpressionSetCustomElementParameterOutputRepre
|
|
|
323
323
|
return v_error === undefined ? null : v_error;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
function validate$
|
|
326
|
+
function validate$18(obj, path = 'ExpressionSetCustomElementStepOutputRepresentation') {
|
|
327
327
|
const v_error = (() => {
|
|
328
328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
329
329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -336,7 +336,7 @@ function validate$17(obj, path = 'ExpressionSetCustomElementStepOutputRepresenta
|
|
|
336
336
|
for (let i = 0; i < obj_parameters.length; i++) {
|
|
337
337
|
const obj_parameters_item = obj_parameters[i];
|
|
338
338
|
const path_parameters_item = path_parameters + '[' + i + ']';
|
|
339
|
-
const referencepath_parameters_itemValidationError = validate$
|
|
339
|
+
const referencepath_parameters_itemValidationError = validate$19(obj_parameters_item, path_parameters_item);
|
|
340
340
|
if (referencepath_parameters_itemValidationError !== null) {
|
|
341
341
|
let message = 'Object doesn\'t match ExpressionSetCustomElementParameterOutputRepresentation (at "' + path_parameters_item + '")\n';
|
|
342
342
|
message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -347,7 +347,7 @@ function validate$17(obj, path = 'ExpressionSetCustomElementStepOutputRepresenta
|
|
|
347
347
|
return v_error === undefined ? null : v_error;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
function validate$
|
|
350
|
+
function validate$17(obj, path = 'ExpressionSetLookupTableStepOutputRepresentation') {
|
|
351
351
|
const v_error = (() => {
|
|
352
352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
353
353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -366,7 +366,7 @@ function validate$16(obj, path = 'ExpressionSetLookupTableStepOutputRepresentati
|
|
|
366
366
|
return v_error === undefined ? null : v_error;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
function validate$
|
|
369
|
+
function validate$16(obj, path = 'ExpressionSetSubExpressionStepOutputRepresentation') {
|
|
370
370
|
const v_error = (() => {
|
|
371
371
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
372
372
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -380,7 +380,7 @@ function validate$15(obj, path = 'ExpressionSetSubExpressionStepOutputRepresenta
|
|
|
380
380
|
return v_error === undefined ? null : v_error;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
function validate$
|
|
383
|
+
function validate$15(obj, path = 'ExpressionSetVersionStepOutputRepresentation') {
|
|
384
384
|
const v_error = (() => {
|
|
385
385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
386
386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -395,7 +395,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
395
395
|
if (obj.advancedCondition !== undefined) {
|
|
396
396
|
const obj_advancedCondition = obj.advancedCondition;
|
|
397
397
|
const path_advancedCondition = path + '.advancedCondition';
|
|
398
|
-
const referencepath_advancedConditionValidationError = validate$
|
|
398
|
+
const referencepath_advancedConditionValidationError = validate$1d(obj_advancedCondition, path_advancedCondition);
|
|
399
399
|
if (referencepath_advancedConditionValidationError !== null) {
|
|
400
400
|
let message = 'Object doesn\'t match ExpressionSetAdvancedConditionStepOutputRepresentation (at "' + path_advancedCondition + '")\n';
|
|
401
401
|
message += referencepath_advancedConditionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -405,7 +405,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
405
405
|
if (obj.aggregation !== undefined) {
|
|
406
406
|
const obj_aggregation = obj.aggregation;
|
|
407
407
|
const path_aggregation = path + '.aggregation';
|
|
408
|
-
const referencepath_aggregationValidationError = validate$
|
|
408
|
+
const referencepath_aggregationValidationError = validate$1c(obj_aggregation, path_aggregation);
|
|
409
409
|
if (referencepath_aggregationValidationError !== null) {
|
|
410
410
|
let message = 'Object doesn\'t match ExpressionSetAggregationStepOutputRepresentation (at "' + path_aggregation + '")\n';
|
|
411
411
|
message += referencepath_aggregationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -415,7 +415,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
415
415
|
if (obj.assignment !== undefined) {
|
|
416
416
|
const obj_assignment = obj.assignment;
|
|
417
417
|
const path_assignment = path + '.assignment';
|
|
418
|
-
const referencepath_assignmentValidationError = validate$
|
|
418
|
+
const referencepath_assignmentValidationError = validate$1b(obj_assignment, path_assignment);
|
|
419
419
|
if (referencepath_assignmentValidationError !== null) {
|
|
420
420
|
let message = 'Object doesn\'t match ExpressionSetAssignmentStepOutputRepresentation (at "' + path_assignment + '")\n';
|
|
421
421
|
message += referencepath_assignmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -425,7 +425,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
425
425
|
if (obj.conditionExpression !== undefined) {
|
|
426
426
|
const obj_conditionExpression = obj.conditionExpression;
|
|
427
427
|
const path_conditionExpression = path + '.conditionExpression';
|
|
428
|
-
const referencepath_conditionExpressionValidationError = validate$
|
|
428
|
+
const referencepath_conditionExpressionValidationError = validate$1a(obj_conditionExpression, path_conditionExpression);
|
|
429
429
|
if (referencepath_conditionExpressionValidationError !== null) {
|
|
430
430
|
let message = 'Object doesn\'t match ExpressionSetConditionExpressionStepOutputRepresentation (at "' + path_conditionExpression + '")\n';
|
|
431
431
|
message += referencepath_conditionExpressionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -435,7 +435,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
435
435
|
if (obj.customElement !== undefined) {
|
|
436
436
|
const obj_customElement = obj.customElement;
|
|
437
437
|
const path_customElement = path + '.customElement';
|
|
438
|
-
const referencepath_customElementValidationError = validate$
|
|
438
|
+
const referencepath_customElementValidationError = validate$18(obj_customElement, path_customElement);
|
|
439
439
|
if (referencepath_customElementValidationError !== null) {
|
|
440
440
|
let message = 'Object doesn\'t match ExpressionSetCustomElementStepOutputRepresentation (at "' + path_customElement + '")\n';
|
|
441
441
|
message += referencepath_customElementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -459,7 +459,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
459
459
|
if (obj.lookupTable !== undefined) {
|
|
460
460
|
const obj_lookupTable = obj.lookupTable;
|
|
461
461
|
const path_lookupTable = path + '.lookupTable';
|
|
462
|
-
const referencepath_lookupTableValidationError = validate$
|
|
462
|
+
const referencepath_lookupTableValidationError = validate$17(obj_lookupTable, path_lookupTable);
|
|
463
463
|
if (referencepath_lookupTableValidationError !== null) {
|
|
464
464
|
let message = 'Object doesn\'t match ExpressionSetLookupTableStepOutputRepresentation (at "' + path_lookupTable + '")\n';
|
|
465
465
|
message += referencepath_lookupTableValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -526,7 +526,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
526
526
|
if (obj.subExpression !== undefined) {
|
|
527
527
|
const obj_subExpression = obj.subExpression;
|
|
528
528
|
const path_subExpression = path + '.subExpression';
|
|
529
|
-
const referencepath_subExpressionValidationError = validate$
|
|
529
|
+
const referencepath_subExpressionValidationError = validate$16(obj_subExpression, path_subExpression);
|
|
530
530
|
if (referencepath_subExpressionValidationError !== null) {
|
|
531
531
|
let message = 'Object doesn\'t match ExpressionSetSubExpressionStepOutputRepresentation (at "' + path_subExpression + '")\n';
|
|
532
532
|
message += referencepath_subExpressionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -537,7 +537,7 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
537
537
|
return v_error === undefined ? null : v_error;
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
function validate$
|
|
540
|
+
function validate$14(obj, path = 'ExpressionSetVersionVariableOutputRepresentation') {
|
|
541
541
|
const v_error = (() => {
|
|
542
542
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
543
543
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -631,7 +631,7 @@ function validate$13(obj, path = 'ExpressionSetVersionVariableOutputRepresentati
|
|
|
631
631
|
return v_error === undefined ? null : v_error;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
function validate$
|
|
634
|
+
function validate$13(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
635
635
|
const v_error = (() => {
|
|
636
636
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
637
637
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -700,7 +700,7 @@ function validate$12(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
|
700
700
|
for (let i = 0; i < obj_steps.length; i++) {
|
|
701
701
|
const obj_steps_item = obj_steps[i];
|
|
702
702
|
const path_steps_item = path_steps + '[' + i + ']';
|
|
703
|
-
const referencepath_steps_itemValidationError = validate$
|
|
703
|
+
const referencepath_steps_itemValidationError = validate$15(obj_steps_item, path_steps_item);
|
|
704
704
|
if (referencepath_steps_itemValidationError !== null) {
|
|
705
705
|
let message = 'Object doesn\'t match ExpressionSetVersionStepOutputRepresentation (at "' + path_steps_item + '")\n';
|
|
706
706
|
message += referencepath_steps_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -717,7 +717,7 @@ function validate$12(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
|
717
717
|
for (let i = 0; i < obj_variables.length; i++) {
|
|
718
718
|
const obj_variables_item = obj_variables[i];
|
|
719
719
|
const path_variables_item = path_variables + '[' + i + ']';
|
|
720
|
-
const referencepath_variables_itemValidationError = validate$
|
|
720
|
+
const referencepath_variables_itemValidationError = validate$14(obj_variables_item, path_variables_item);
|
|
721
721
|
if (referencepath_variables_itemValidationError !== null) {
|
|
722
722
|
let message = 'Object doesn\'t match ExpressionSetVersionVariableOutputRepresentation (at "' + path_variables_item + '")\n';
|
|
723
723
|
message += referencepath_variables_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -736,7 +736,7 @@ function validate$12(obj, path = 'ExpressionSetVersionOutputRepresentation') {
|
|
|
736
736
|
|
|
737
737
|
const TTL$h = 1000;
|
|
738
738
|
const VERSION$l = "88bb3e9e4ffc6387ba261f9780501cb9";
|
|
739
|
-
function validate$
|
|
739
|
+
function validate$12(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
740
740
|
const v_error = (() => {
|
|
741
741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
742
742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -757,7 +757,7 @@ function validate$11(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
|
757
757
|
for (let i = 0; i < obj_contextDefinitions.length; i++) {
|
|
758
758
|
const obj_contextDefinitions_item = obj_contextDefinitions[i];
|
|
759
759
|
const path_contextDefinitions_item = path_contextDefinitions + '[' + i + ']';
|
|
760
|
-
const referencepath_contextDefinitions_itemValidationError = validate$
|
|
760
|
+
const referencepath_contextDefinitions_itemValidationError = validate$1g(obj_contextDefinitions_item, path_contextDefinitions_item);
|
|
761
761
|
if (referencepath_contextDefinitions_itemValidationError !== null) {
|
|
762
762
|
let message = 'Object doesn\'t match ContextDefinitionOutputRepresentation (at "' + path_contextDefinitions_item + '")\n';
|
|
763
763
|
message += referencepath_contextDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -775,7 +775,7 @@ function validate$11(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
|
775
775
|
if (obj.error !== undefined) {
|
|
776
776
|
const obj_error = obj.error;
|
|
777
777
|
const path_error = path + '.error';
|
|
778
|
-
const referencepath_errorValidationError = validate$
|
|
778
|
+
const referencepath_errorValidationError = validate$1f(obj_error, path_error);
|
|
779
779
|
if (referencepath_errorValidationError !== null) {
|
|
780
780
|
let message = 'Object doesn\'t match ExpressionSetErrorRepresentation (at "' + path_error + '")\n';
|
|
781
781
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -810,7 +810,7 @@ function validate$11(obj, path = 'ExpressionSetOutputRepresentation') {
|
|
|
810
810
|
for (let i = 0; i < obj_versions.length; i++) {
|
|
811
811
|
const obj_versions_item = obj_versions[i];
|
|
812
812
|
const path_versions_item = path_versions + '[' + i + ']';
|
|
813
|
-
const referencepath_versions_itemValidationError = validate$
|
|
813
|
+
const referencepath_versions_itemValidationError = validate$13(obj_versions_item, path_versions_item);
|
|
814
814
|
if (referencepath_versions_itemValidationError !== null) {
|
|
815
815
|
let message = 'Object doesn\'t match ExpressionSetVersionOutputRepresentation (at "' + path_versions_item + '")\n';
|
|
816
816
|
message += referencepath_versions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -850,7 +850,7 @@ function equals$l(existing, incoming) {
|
|
|
850
850
|
}
|
|
851
851
|
const ingest$k = function ExpressionSetOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
852
852
|
if (process.env.NODE_ENV !== 'production') {
|
|
853
|
-
const validateError = validate$
|
|
853
|
+
const validateError = validate$12(input);
|
|
854
854
|
if (validateError !== null) {
|
|
855
855
|
throw validateError;
|
|
856
856
|
}
|
|
@@ -943,7 +943,7 @@ function createResourceParams$p(config) {
|
|
|
943
943
|
function typeCheckConfig$p(untrustedConfig) {
|
|
944
944
|
const config = {};
|
|
945
945
|
const untrustedConfig_esInputRepresentationObject = untrustedConfig.esInputRepresentationObject;
|
|
946
|
-
const referenceExpressionSetInputRepresentationValidationError = validate$
|
|
946
|
+
const referenceExpressionSetInputRepresentationValidationError = validate$1h(untrustedConfig_esInputRepresentationObject);
|
|
947
947
|
if (referenceExpressionSetInputRepresentationValidationError === null) {
|
|
948
948
|
config.esInputRepresentationObject = untrustedConfig_esInputRepresentationObject;
|
|
949
949
|
}
|
|
@@ -1316,7 +1316,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
1316
1316
|
config.expressionSetId = untrustedConfig_expressionSetId;
|
|
1317
1317
|
}
|
|
1318
1318
|
const untrustedConfig_esInputRepresentationObject = untrustedConfig.esInputRepresentationObject;
|
|
1319
|
-
const referenceExpressionSetInputRepresentationValidationError = validate$
|
|
1319
|
+
const referenceExpressionSetInputRepresentationValidationError = validate$1h(untrustedConfig_esInputRepresentationObject);
|
|
1320
1320
|
if (referenceExpressionSetInputRepresentationValidationError === null) {
|
|
1321
1321
|
config.esInputRepresentationObject = untrustedConfig_esInputRepresentationObject;
|
|
1322
1322
|
}
|
|
@@ -1364,7 +1364,7 @@ const updateExpressionSetAdapterFactory = (luvio) => {
|
|
|
1364
1364
|
};
|
|
1365
1365
|
};
|
|
1366
1366
|
|
|
1367
|
-
function validate$
|
|
1367
|
+
function validate$11(obj, path = 'ExplainabilityLogDetailRepresentation') {
|
|
1368
1368
|
const v_error = (() => {
|
|
1369
1369
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1370
1370
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1410,7 +1410,7 @@ function validate$10(obj, path = 'ExplainabilityLogDetailRepresentation') {
|
|
|
1410
1410
|
|
|
1411
1411
|
const TTL$g = 1000;
|
|
1412
1412
|
const VERSION$k = "a19c476d3ef5342579944b7b486b76aa";
|
|
1413
|
-
function validate
|
|
1413
|
+
function validate$10(obj, path = 'ExplainabilityLogsRepresentation') {
|
|
1414
1414
|
const v_error = (() => {
|
|
1415
1415
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1416
1416
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1423,7 +1423,7 @@ function validate$$(obj, path = 'ExplainabilityLogsRepresentation') {
|
|
|
1423
1423
|
for (let i = 0; i < obj_actionLogs.length; i++) {
|
|
1424
1424
|
const obj_actionLogs_item = obj_actionLogs[i];
|
|
1425
1425
|
const path_actionLogs_item = path_actionLogs + '[' + i + ']';
|
|
1426
|
-
const referencepath_actionLogs_itemValidationError = validate$
|
|
1426
|
+
const referencepath_actionLogs_itemValidationError = validate$11(obj_actionLogs_item, path_actionLogs_item);
|
|
1427
1427
|
if (referencepath_actionLogs_itemValidationError !== null) {
|
|
1428
1428
|
let message = 'Object doesn\'t match ExplainabilityLogDetailRepresentation (at "' + path_actionLogs_item + '")\n';
|
|
1429
1429
|
message += referencepath_actionLogs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1460,7 +1460,7 @@ function equals$k(existing, incoming) {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
const ingest$j = function ExplainabilityLogsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1462
1462
|
if (process.env.NODE_ENV !== 'production') {
|
|
1463
|
-
const validateError = validate
|
|
1463
|
+
const validateError = validate$10(input);
|
|
1464
1464
|
if (validateError !== null) {
|
|
1465
1465
|
throw validateError;
|
|
1466
1466
|
}
|
|
@@ -1692,7 +1692,7 @@ const getExplainabilityLogsAdapterFactory = (luvio) => function interaction__get
|
|
|
1692
1692
|
|
|
1693
1693
|
const TTL$f = 1000;
|
|
1694
1694
|
const VERSION$j = "09e3f9c772ddaa5f22206be0a82ec33c";
|
|
1695
|
-
function validate
|
|
1695
|
+
function validate$$(obj, path = 'MessageTemplateDetailOutputRepresentation') {
|
|
1696
1696
|
const v_error = (() => {
|
|
1697
1697
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1698
1698
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1750,7 +1750,7 @@ function equals$j(existing, incoming) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
const ingest$i = function MessageTemplateDetailOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1752
1752
|
if (process.env.NODE_ENV !== 'production') {
|
|
1753
|
-
const validateError = validate
|
|
1753
|
+
const validateError = validate$$(input);
|
|
1754
1754
|
if (validateError !== null) {
|
|
1755
1755
|
throw validateError;
|
|
1756
1756
|
}
|
|
@@ -1790,7 +1790,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1790
1790
|
|
|
1791
1791
|
const TTL$e = 1000;
|
|
1792
1792
|
const VERSION$i = "a8f4885c8fb2e0fab5adbd235fe02fd2";
|
|
1793
|
-
function validate$
|
|
1793
|
+
function validate$_(obj, path = 'MessageTemplatesListOutputRepresentation') {
|
|
1794
1794
|
const v_error = (() => {
|
|
1795
1795
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1796
1796
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1825,7 +1825,7 @@ function validate$Z(obj, path = 'MessageTemplatesListOutputRepresentation') {
|
|
|
1825
1825
|
for (let i = 0; i < obj_messageTemplates.length; i++) {
|
|
1826
1826
|
const obj_messageTemplates_item = obj_messageTemplates[i];
|
|
1827
1827
|
const path_messageTemplates_item = path_messageTemplates + '[' + i + ']';
|
|
1828
|
-
const referencepath_messageTemplates_itemValidationError = validate
|
|
1828
|
+
const referencepath_messageTemplates_itemValidationError = validate$$(obj_messageTemplates_item, path_messageTemplates_item);
|
|
1829
1829
|
if (referencepath_messageTemplates_itemValidationError !== null) {
|
|
1830
1830
|
let message = 'Object doesn\'t match MessageTemplateDetailOutputRepresentation (at "' + path_messageTemplates_item + '")\n';
|
|
1831
1831
|
message += referencepath_messageTemplates_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1856,7 +1856,7 @@ function equals$i(existing, incoming) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
const ingest$h = function MessageTemplatesListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1858
1858
|
if (process.env.NODE_ENV !== 'production') {
|
|
1859
|
-
const validateError = validate$
|
|
1859
|
+
const validateError = validate$_(input);
|
|
1860
1860
|
if (validateError !== null) {
|
|
1861
1861
|
throw validateError;
|
|
1862
1862
|
}
|
|
@@ -2234,7 +2234,7 @@ const getMessageTemplateDetailAdapterFactory = (luvio) => function interaction__
|
|
|
2234
2234
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
|
|
2235
2235
|
};
|
|
2236
2236
|
|
|
2237
|
-
function validate$
|
|
2237
|
+
function validate$Z(obj, path = 'OptionsRepresentation') {
|
|
2238
2238
|
const v_error = (() => {
|
|
2239
2239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2240
2240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2296,7 +2296,7 @@ function validate$Y(obj, path = 'OptionsRepresentation') {
|
|
|
2296
2296
|
return v_error === undefined ? null : v_error;
|
|
2297
2297
|
}
|
|
2298
2298
|
|
|
2299
|
-
function validate$
|
|
2299
|
+
function validate$Y(obj, path = 'BusinessRulesInputRepresentation') {
|
|
2300
2300
|
const v_error = (() => {
|
|
2301
2301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2302
2302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2324,7 +2324,7 @@ function validate$X(obj, path = 'BusinessRulesInputRepresentation') {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
const obj_options = obj.options;
|
|
2326
2326
|
const path_options = path + '.options';
|
|
2327
|
-
const referencepath_optionsValidationError = validate$
|
|
2327
|
+
const referencepath_optionsValidationError = validate$Z(obj_options, path_options);
|
|
2328
2328
|
if (referencepath_optionsValidationError !== null) {
|
|
2329
2329
|
let message = 'Object doesn\'t match OptionsRepresentation (at "' + path_options + '")\n';
|
|
2330
2330
|
message += referencepath_optionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2334,7 +2334,7 @@ function validate$X(obj, path = 'BusinessRulesInputRepresentation') {
|
|
|
2334
2334
|
return v_error === undefined ? null : v_error;
|
|
2335
2335
|
}
|
|
2336
2336
|
|
|
2337
|
-
function validate$
|
|
2337
|
+
function validate$X(obj, path = 'ErrorResultRepresentation') {
|
|
2338
2338
|
const v_error = (() => {
|
|
2339
2339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2340
2340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2353,7 +2353,7 @@ function validate$W(obj, path = 'ErrorResultRepresentation') {
|
|
|
2353
2353
|
return v_error === undefined ? null : v_error;
|
|
2354
2354
|
}
|
|
2355
2355
|
|
|
2356
|
-
function validate$
|
|
2356
|
+
function validate$W(obj, path = 'VariableMapOutputRepresentation') {
|
|
2357
2357
|
const v_error = (() => {
|
|
2358
2358
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2359
2359
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2378,7 +2378,7 @@ function validate$V(obj, path = 'VariableMapOutputRepresentation') {
|
|
|
2378
2378
|
return v_error === undefined ? null : v_error;
|
|
2379
2379
|
}
|
|
2380
2380
|
|
|
2381
|
-
function validate$
|
|
2381
|
+
function validate$V(obj, path = 'BusinessRuleAggregationResultsOutputRepresentation') {
|
|
2382
2382
|
const v_error = (() => {
|
|
2383
2383
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2384
2384
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2386,7 +2386,7 @@ function validate$U(obj, path = 'BusinessRuleAggregationResultsOutputRepresentat
|
|
|
2386
2386
|
if (obj.error !== undefined) {
|
|
2387
2387
|
const obj_error = obj.error;
|
|
2388
2388
|
const path_error = path + '.error';
|
|
2389
|
-
const referencepath_errorValidationError = validate$
|
|
2389
|
+
const referencepath_errorValidationError = validate$X(obj_error, path_error);
|
|
2390
2390
|
if (referencepath_errorValidationError !== null) {
|
|
2391
2391
|
let message = 'Object doesn\'t match ErrorResultRepresentation (at "' + path_error + '")\n';
|
|
2392
2392
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2395,7 +2395,7 @@ function validate$U(obj, path = 'BusinessRuleAggregationResultsOutputRepresentat
|
|
|
2395
2395
|
}
|
|
2396
2396
|
const obj_results = obj.results;
|
|
2397
2397
|
const path_results = path + '.results';
|
|
2398
|
-
const referencepath_resultsValidationError = validate$
|
|
2398
|
+
const referencepath_resultsValidationError = validate$W(obj_results, path_results);
|
|
2399
2399
|
if (referencepath_resultsValidationError !== null) {
|
|
2400
2400
|
let message = 'Object doesn\'t match VariableMapOutputRepresentation (at "' + path_results + '")\n';
|
|
2401
2401
|
message += referencepath_resultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2405,7 +2405,7 @@ function validate$U(obj, path = 'BusinessRuleAggregationResultsOutputRepresentat
|
|
|
2405
2405
|
return v_error === undefined ? null : v_error;
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
2408
|
-
function validate$
|
|
2408
|
+
function validate$U(obj, path = 'RuleResultRepresentation') {
|
|
2409
2409
|
const v_error = (() => {
|
|
2410
2410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2411
2411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2413,7 +2413,7 @@ function validate$T(obj, path = 'RuleResultRepresentation') {
|
|
|
2413
2413
|
if (obj.error !== undefined) {
|
|
2414
2414
|
const obj_error = obj.error;
|
|
2415
2415
|
const path_error = path + '.error';
|
|
2416
|
-
const referencepath_errorValidationError = validate$
|
|
2416
|
+
const referencepath_errorValidationError = validate$X(obj_error, path_error);
|
|
2417
2417
|
if (referencepath_errorValidationError !== null) {
|
|
2418
2418
|
let message = 'Object doesn\'t match ErrorResultRepresentation (at "' + path_error + '")\n';
|
|
2419
2419
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2422,7 +2422,7 @@ function validate$T(obj, path = 'RuleResultRepresentation') {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
const obj_results = obj.results;
|
|
2424
2424
|
const path_results = path + '.results';
|
|
2425
|
-
const referencepath_resultsValidationError = validate$
|
|
2425
|
+
const referencepath_resultsValidationError = validate$W(obj_results, path_results);
|
|
2426
2426
|
if (referencepath_resultsValidationError !== null) {
|
|
2427
2427
|
let message = 'Object doesn\'t match VariableMapOutputRepresentation (at "' + path_results + '")\n';
|
|
2428
2428
|
message += referencepath_resultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2431,7 +2431,7 @@ function validate$T(obj, path = 'RuleResultRepresentation') {
|
|
|
2431
2431
|
if (obj.variables !== undefined) {
|
|
2432
2432
|
const obj_variables = obj.variables;
|
|
2433
2433
|
const path_variables = path + '.variables';
|
|
2434
|
-
const referencepath_variablesValidationError = validate$
|
|
2434
|
+
const referencepath_variablesValidationError = validate$W(obj_variables, path_variables);
|
|
2435
2435
|
if (referencepath_variablesValidationError !== null) {
|
|
2436
2436
|
let message = 'Object doesn\'t match VariableMapOutputRepresentation (at "' + path_variables + '")\n';
|
|
2437
2437
|
message += referencepath_variablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2442,7 +2442,7 @@ function validate$T(obj, path = 'RuleResultRepresentation') {
|
|
|
2442
2442
|
return v_error === undefined ? null : v_error;
|
|
2443
2443
|
}
|
|
2444
2444
|
|
|
2445
|
-
function validate$
|
|
2445
|
+
function validate$T(obj, path = 'SimulationErrorOutputRepresentation') {
|
|
2446
2446
|
const v_error = (() => {
|
|
2447
2447
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2448
2448
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2466,7 +2466,7 @@ function validate$S(obj, path = 'SimulationErrorOutputRepresentation') {
|
|
|
2466
2466
|
return v_error === undefined ? null : v_error;
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
function validate$
|
|
2469
|
+
function validate$S(obj, path = 'SimulationVariableOutputRepresentation') {
|
|
2470
2470
|
const v_error = (() => {
|
|
2471
2471
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2472
2472
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2490,7 +2490,7 @@ function validate$R(obj, path = 'SimulationVariableOutputRepresentation') {
|
|
|
2490
2490
|
return v_error === undefined ? null : v_error;
|
|
2491
2491
|
}
|
|
2492
2492
|
|
|
2493
|
-
function validate$
|
|
2493
|
+
function validate$R(obj, path = 'SimulationStepAdditionalInfoOutputRepresentation') {
|
|
2494
2494
|
const v_error = (() => {
|
|
2495
2495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2496
2496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2514,7 +2514,7 @@ function validate$Q(obj, path = 'SimulationStepAdditionalInfoOutputRepresentatio
|
|
|
2514
2514
|
return v_error === undefined ? null : v_error;
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
-
function validate$
|
|
2517
|
+
function validate$Q(obj, path = 'SimulationStepExplainabilityMessageOutputRepresentation') {
|
|
2518
2518
|
const v_error = (() => {
|
|
2519
2519
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2520
2520
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2543,7 +2543,7 @@ function validate$P(obj, path = 'SimulationStepExplainabilityMessageOutputRepres
|
|
|
2543
2543
|
return v_error === undefined ? null : v_error;
|
|
2544
2544
|
}
|
|
2545
2545
|
|
|
2546
|
-
function validate$
|
|
2546
|
+
function validate$P(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
2547
2547
|
const v_error = (() => {
|
|
2548
2548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2549
2549
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2551,7 +2551,7 @@ function validate$O(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
|
2551
2551
|
if (obj.additionalInfo !== undefined) {
|
|
2552
2552
|
const obj_additionalInfo = obj.additionalInfo;
|
|
2553
2553
|
const path_additionalInfo = path + '.additionalInfo';
|
|
2554
|
-
const referencepath_additionalInfoValidationError = validate$
|
|
2554
|
+
const referencepath_additionalInfoValidationError = validate$R(obj_additionalInfo, path_additionalInfo);
|
|
2555
2555
|
if (referencepath_additionalInfoValidationError !== null) {
|
|
2556
2556
|
let message = 'Object doesn\'t match SimulationStepAdditionalInfoOutputRepresentation (at "' + path_additionalInfo + '")\n';
|
|
2557
2557
|
message += referencepath_additionalInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2561,7 +2561,7 @@ function validate$O(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
|
2561
2561
|
if (obj.explainabilityMessage !== undefined) {
|
|
2562
2562
|
const obj_explainabilityMessage = obj.explainabilityMessage;
|
|
2563
2563
|
const path_explainabilityMessage = path + '.explainabilityMessage';
|
|
2564
|
-
const referencepath_explainabilityMessageValidationError = validate$
|
|
2564
|
+
const referencepath_explainabilityMessageValidationError = validate$Q(obj_explainabilityMessage, path_explainabilityMessage);
|
|
2565
2565
|
if (referencepath_explainabilityMessageValidationError !== null) {
|
|
2566
2566
|
let message = 'Object doesn\'t match SimulationStepExplainabilityMessageOutputRepresentation (at "' + path_explainabilityMessage + '")\n';
|
|
2567
2567
|
message += referencepath_explainabilityMessageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2599,7 +2599,7 @@ function validate$O(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
|
2599
2599
|
for (let i = 0; i < obj_stepInputs.length; i++) {
|
|
2600
2600
|
const obj_stepInputs_item = obj_stepInputs[i];
|
|
2601
2601
|
const path_stepInputs_item = path_stepInputs + '[' + i + ']';
|
|
2602
|
-
const referencepath_stepInputs_itemValidationError = validate$
|
|
2602
|
+
const referencepath_stepInputs_itemValidationError = validate$S(obj_stepInputs_item, path_stepInputs_item);
|
|
2603
2603
|
if (referencepath_stepInputs_itemValidationError !== null) {
|
|
2604
2604
|
let message = 'Object doesn\'t match SimulationVariableOutputRepresentation (at "' + path_stepInputs_item + '")\n';
|
|
2605
2605
|
message += referencepath_stepInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2614,7 +2614,7 @@ function validate$O(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
|
2614
2614
|
for (let i = 0; i < obj_stepResults.length; i++) {
|
|
2615
2615
|
const obj_stepResults_item = obj_stepResults[i];
|
|
2616
2616
|
const path_stepResults_item = path_stepResults + '[' + i + ']';
|
|
2617
|
-
const referencepath_stepResults_itemValidationError = validate$
|
|
2617
|
+
const referencepath_stepResults_itemValidationError = validate$S(obj_stepResults_item, path_stepResults_item);
|
|
2618
2618
|
if (referencepath_stepResults_itemValidationError !== null) {
|
|
2619
2619
|
let message = 'Object doesn\'t match SimulationVariableOutputRepresentation (at "' + path_stepResults_item + '")\n';
|
|
2620
2620
|
message += referencepath_stepResults_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2626,7 +2626,7 @@ function validate$O(obj, path = 'SimulationStepResultOutputRepresentation') {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
|
|
2628
2628
|
const VERSION$h = "b6e6be6071f0e62f16a15d9d2bfcab9e";
|
|
2629
|
-
function validate$
|
|
2629
|
+
function validate$O(obj, path = 'SimulationEvalServiceOutputRepresentation') {
|
|
2630
2630
|
const v_error = (() => {
|
|
2631
2631
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2632
2632
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2634,7 +2634,7 @@ function validate$N(obj, path = 'SimulationEvalServiceOutputRepresentation') {
|
|
|
2634
2634
|
if (obj.error !== undefined) {
|
|
2635
2635
|
const obj_error = obj.error;
|
|
2636
2636
|
const path_error = path + '.error';
|
|
2637
|
-
const referencepath_errorValidationError = validate$
|
|
2637
|
+
const referencepath_errorValidationError = validate$T(obj_error, path_error);
|
|
2638
2638
|
if (referencepath_errorValidationError !== null) {
|
|
2639
2639
|
let message = 'Object doesn\'t match SimulationErrorOutputRepresentation (at "' + path_error + '")\n';
|
|
2640
2640
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2655,7 +2655,7 @@ function validate$N(obj, path = 'SimulationEvalServiceOutputRepresentation') {
|
|
|
2655
2655
|
for (let i = 0; i < obj_simulationResults.length; i++) {
|
|
2656
2656
|
const obj_simulationResults_item = obj_simulationResults[i];
|
|
2657
2657
|
const path_simulationResults_item = path_simulationResults + '[' + i + ']';
|
|
2658
|
-
const referencepath_simulationResults_itemValidationError = validate$
|
|
2658
|
+
const referencepath_simulationResults_itemValidationError = validate$S(obj_simulationResults_item, path_simulationResults_item);
|
|
2659
2659
|
if (referencepath_simulationResults_itemValidationError !== null) {
|
|
2660
2660
|
let message = 'Object doesn\'t match SimulationVariableOutputRepresentation (at "' + path_simulationResults_item + '")\n';
|
|
2661
2661
|
message += referencepath_simulationResults_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2674,7 +2674,7 @@ function validate$N(obj, path = 'SimulationEvalServiceOutputRepresentation') {
|
|
|
2674
2674
|
const key = obj_simulationStepResults_keys[i];
|
|
2675
2675
|
const obj_simulationStepResults_prop = obj_simulationStepResults[key];
|
|
2676
2676
|
const path_simulationStepResults_prop = path_simulationStepResults + '["' + key + '"]';
|
|
2677
|
-
const referencepath_simulationStepResults_propValidationError = validate$
|
|
2677
|
+
const referencepath_simulationStepResults_propValidationError = validate$P(obj_simulationStepResults_prop, path_simulationStepResults_prop);
|
|
2678
2678
|
if (referencepath_simulationStepResults_propValidationError !== null) {
|
|
2679
2679
|
let message = 'Object doesn\'t match SimulationStepResultOutputRepresentation (at "' + path_simulationStepResults_prop + '")\n';
|
|
2680
2680
|
message += referencepath_simulationStepResults_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2714,7 +2714,7 @@ function equals$h(existing, incoming) {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
const ingest$g = function SimulationEvalServiceOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2716
2716
|
if (process.env.NODE_ENV !== 'production') {
|
|
2717
|
-
const validateError = validate$
|
|
2717
|
+
const validateError = validate$O(input);
|
|
2718
2718
|
if (validateError !== null) {
|
|
2719
2719
|
throw validateError;
|
|
2720
2720
|
}
|
|
@@ -2754,14 +2754,14 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2754
2754
|
|
|
2755
2755
|
const TTL$d = 1000;
|
|
2756
2756
|
const VERSION$g = "7501ca5cb7aefb69a735722a53057d1d";
|
|
2757
|
-
function validate$
|
|
2757
|
+
function validate$N(obj, path = 'BusinessRulesResultRepresentation') {
|
|
2758
2758
|
const v_error = (() => {
|
|
2759
2759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2760
2760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2761
2761
|
}
|
|
2762
2762
|
const obj_aggregationResults = obj.aggregationResults;
|
|
2763
2763
|
const path_aggregationResults = path + '.aggregationResults';
|
|
2764
|
-
const referencepath_aggregationResultsValidationError = validate$
|
|
2764
|
+
const referencepath_aggregationResultsValidationError = validate$V(obj_aggregationResults, path_aggregationResults);
|
|
2765
2765
|
if (referencepath_aggregationResultsValidationError !== null) {
|
|
2766
2766
|
let message = 'Object doesn\'t match BusinessRuleAggregationResultsOutputRepresentation (at "' + path_aggregationResults + '")\n';
|
|
2767
2767
|
message += referencepath_aggregationResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2780,7 +2780,7 @@ function validate$M(obj, path = 'BusinessRulesResultRepresentation') {
|
|
|
2780
2780
|
for (let i = 0; i < obj_outputs.length; i++) {
|
|
2781
2781
|
const obj_outputs_item = obj_outputs[i];
|
|
2782
2782
|
const path_outputs_item = path_outputs + '[' + i + ']';
|
|
2783
|
-
const referencepath_outputs_itemValidationError = validate$
|
|
2783
|
+
const referencepath_outputs_itemValidationError = validate$U(obj_outputs_item, path_outputs_item);
|
|
2784
2784
|
if (referencepath_outputs_itemValidationError !== null) {
|
|
2785
2785
|
let message = 'Object doesn\'t match RuleResultRepresentation (at "' + path_outputs_item + '")\n';
|
|
2786
2786
|
message += referencepath_outputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2790,7 +2790,7 @@ function validate$M(obj, path = 'BusinessRulesResultRepresentation') {
|
|
|
2790
2790
|
if (obj.simulationResult !== undefined) {
|
|
2791
2791
|
const obj_simulationResult = obj.simulationResult;
|
|
2792
2792
|
const path_simulationResult = path + '.simulationResult';
|
|
2793
|
-
const referencepath_simulationResultValidationError = validate$
|
|
2793
|
+
const referencepath_simulationResultValidationError = validate$O(obj_simulationResult, path_simulationResult);
|
|
2794
2794
|
if (referencepath_simulationResultValidationError !== null) {
|
|
2795
2795
|
let message = 'Object doesn\'t match SimulationEvalServiceOutputRepresentation (at "' + path_simulationResult + '")\n';
|
|
2796
2796
|
message += referencepath_simulationResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2829,7 +2829,7 @@ function equals$g(existing, incoming) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
const ingest$f = function BusinessRulesResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2831
2831
|
if (process.env.NODE_ENV !== 'production') {
|
|
2832
|
-
const validateError = validate$
|
|
2832
|
+
const validateError = validate$N(input);
|
|
2833
2833
|
if (validateError !== null) {
|
|
2834
2834
|
throw validateError;
|
|
2835
2835
|
}
|
|
@@ -2929,7 +2929,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
2929
2929
|
config.expressionSetName = untrustedConfig_expressionSetName;
|
|
2930
2930
|
}
|
|
2931
2931
|
const untrustedConfig_ruleInput = untrustedConfig.ruleInput;
|
|
2932
|
-
const referenceBusinessRulesInputRepresentationValidationError = validate$
|
|
2932
|
+
const referenceBusinessRulesInputRepresentationValidationError = validate$Y(untrustedConfig_ruleInput);
|
|
2933
2933
|
if (referenceBusinessRulesInputRepresentationValidationError === null) {
|
|
2934
2934
|
config.ruleInput = untrustedConfig_ruleInput;
|
|
2935
2935
|
}
|
|
@@ -2978,7 +2978,7 @@ const postInvokeExpressionSetAdapterFactory = (luvio) => {
|
|
|
2978
2978
|
};
|
|
2979
2979
|
|
|
2980
2980
|
const VERSION$f = "193518feb63f612b21dccfb389d45d77";
|
|
2981
|
-
function validate$
|
|
2981
|
+
function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
|
|
2982
2982
|
const v_error = (() => {
|
|
2983
2983
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2984
2984
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3125,7 +3125,7 @@ function equals$f(existing, incoming) {
|
|
|
3125
3125
|
}
|
|
3126
3126
|
|
|
3127
3127
|
const VERSION$e = "03c53b63e678a9860b164df4df6fe7a4";
|
|
3128
|
-
function validate$
|
|
3128
|
+
function validate$L(obj, path = 'LookupTablesResultListRepresentation') {
|
|
3129
3129
|
const v_error = (() => {
|
|
3130
3130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3131
3131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3153,7 +3153,7 @@ function validate$K(obj, path = 'LookupTablesResultListRepresentation') {
|
|
|
3153
3153
|
for (let i = 0; i < obj_lookupTables.length; i++) {
|
|
3154
3154
|
const obj_lookupTables_item = obj_lookupTables[i];
|
|
3155
3155
|
const path_lookupTables_item = path_lookupTables + '[' + i + ']';
|
|
3156
|
-
const referencepath_lookupTables_itemValidationError = validate$
|
|
3156
|
+
const referencepath_lookupTables_itemValidationError = validate$M(obj_lookupTables_item, path_lookupTables_item);
|
|
3157
3157
|
if (referencepath_lookupTables_itemValidationError !== null) {
|
|
3158
3158
|
let message = 'Object doesn\'t match LookupTableDetailsRepresentation (at "' + path_lookupTables_item + '")\n';
|
|
3159
3159
|
message += referencepath_lookupTables_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3269,7 +3269,7 @@ function equals$e(existing, incoming) {
|
|
|
3269
3269
|
}
|
|
3270
3270
|
const ingest$e = function LookupTablesResultListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3271
3271
|
if (process.env.NODE_ENV !== 'production') {
|
|
3272
|
-
const validateError = validate$
|
|
3272
|
+
const validateError = validate$L(input);
|
|
3273
3273
|
if (validateError !== null) {
|
|
3274
3274
|
throw validateError;
|
|
3275
3275
|
}
|
|
@@ -3480,7 +3480,7 @@ const getLookupTablesAdapterFactory = (luvio) => function interaction__getLookup
|
|
|
3480
3480
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
3481
3481
|
};
|
|
3482
3482
|
|
|
3483
|
-
function validate$
|
|
3483
|
+
function validate$K(obj, path = 'DecisionTableBasicRepresentation') {
|
|
3484
3484
|
const v_error = (() => {
|
|
3485
3485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3486
3486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3512,7 +3512,7 @@ function validate$J(obj, path = 'DecisionTableBasicRepresentation') {
|
|
|
3512
3512
|
|
|
3513
3513
|
const TTL$c = 1000;
|
|
3514
3514
|
const VERSION$d = "5d2e7c2ed3b612bf9b8477e0a73832a4";
|
|
3515
|
-
function validate$
|
|
3515
|
+
function validate$J(obj, path = 'DecisionTableResultListRepresentation') {
|
|
3516
3516
|
const v_error = (() => {
|
|
3517
3517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3518
3518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3533,7 +3533,7 @@ function validate$I(obj, path = 'DecisionTableResultListRepresentation') {
|
|
|
3533
3533
|
for (let i = 0; i < obj_decisionTables.length; i++) {
|
|
3534
3534
|
const obj_decisionTables_item = obj_decisionTables[i];
|
|
3535
3535
|
const path_decisionTables_item = path_decisionTables + '[' + i + ']';
|
|
3536
|
-
const referencepath_decisionTables_itemValidationError = validate$
|
|
3536
|
+
const referencepath_decisionTables_itemValidationError = validate$K(obj_decisionTables_item, path_decisionTables_item);
|
|
3537
3537
|
if (referencepath_decisionTables_itemValidationError !== null) {
|
|
3538
3538
|
let message = 'Object doesn\'t match DecisionTableBasicRepresentation (at "' + path_decisionTables_item + '")\n';
|
|
3539
3539
|
message += referencepath_decisionTables_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3578,7 +3578,7 @@ function equals$d(existing, incoming) {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
const ingest$d = function DecisionTableResultListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3580
3580
|
if (process.env.NODE_ENV !== 'production') {
|
|
3581
|
-
const validateError = validate$
|
|
3581
|
+
const validateError = validate$J(input);
|
|
3582
3582
|
if (validateError !== null) {
|
|
3583
3583
|
throw validateError;
|
|
3584
3584
|
}
|
|
@@ -3780,7 +3780,7 @@ const searchDecisionTableByNameAdapterFactory = (luvio) => function interaction_
|
|
|
3780
3780
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
|
|
3781
3781
|
};
|
|
3782
3782
|
|
|
3783
|
-
function validate$
|
|
3783
|
+
function validate$I(obj, path = 'DecisionTableVariable') {
|
|
3784
3784
|
const v_error = (() => {
|
|
3785
3785
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3786
3786
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3815,7 +3815,7 @@ function validate$H(obj, path = 'DecisionTableVariable') {
|
|
|
3815
3815
|
|
|
3816
3816
|
const TTL$b = 1000;
|
|
3817
3817
|
const VERSION$c = "cdf58f8ebb785cfe746b4b3094851f3e";
|
|
3818
|
-
function validate$
|
|
3818
|
+
function validate$H(obj, path = 'DecisionTableResultRepresentation') {
|
|
3819
3819
|
const v_error = (() => {
|
|
3820
3820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3821
3821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3850,7 +3850,7 @@ function validate$G(obj, path = 'DecisionTableResultRepresentation') {
|
|
|
3850
3850
|
for (let i = 0; i < obj_inputVariables.length; i++) {
|
|
3851
3851
|
const obj_inputVariables_item = obj_inputVariables[i];
|
|
3852
3852
|
const path_inputVariables_item = path_inputVariables + '[' + i + ']';
|
|
3853
|
-
const referencepath_inputVariables_itemValidationError = validate$
|
|
3853
|
+
const referencepath_inputVariables_itemValidationError = validate$I(obj_inputVariables_item, path_inputVariables_item);
|
|
3854
3854
|
if (referencepath_inputVariables_itemValidationError !== null) {
|
|
3855
3855
|
let message = 'Object doesn\'t match DecisionTableVariable (at "' + path_inputVariables_item + '")\n';
|
|
3856
3856
|
message += referencepath_inputVariables_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3888,7 +3888,7 @@ function validate$G(obj, path = 'DecisionTableResultRepresentation') {
|
|
|
3888
3888
|
for (let i = 0; i < obj_outputVariables.length; i++) {
|
|
3889
3889
|
const obj_outputVariables_item = obj_outputVariables[i];
|
|
3890
3890
|
const path_outputVariables_item = path_outputVariables + '[' + i + ']';
|
|
3891
|
-
const referencepath_outputVariables_itemValidationError = validate$
|
|
3891
|
+
const referencepath_outputVariables_itemValidationError = validate$I(obj_outputVariables_item, path_outputVariables_item);
|
|
3892
3892
|
if (referencepath_outputVariables_itemValidationError !== null) {
|
|
3893
3893
|
let message = 'Object doesn\'t match DecisionTableVariable (at "' + path_outputVariables_item + '")\n';
|
|
3894
3894
|
message += referencepath_outputVariables_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3919,7 +3919,7 @@ function equals$c(existing, incoming) {
|
|
|
3919
3919
|
}
|
|
3920
3920
|
const ingest$c = function DecisionTableResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3921
3921
|
if (process.env.NODE_ENV !== 'production') {
|
|
3922
|
-
const validateError = validate$
|
|
3922
|
+
const validateError = validate$H(input);
|
|
3923
3923
|
if (validateError !== null) {
|
|
3924
3924
|
throw validateError;
|
|
3925
3925
|
}
|
|
@@ -4128,7 +4128,7 @@ const getDecisionTableDetailsAdapterFactory = (luvio) => function interaction__g
|
|
|
4128
4128
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
4129
4129
|
};
|
|
4130
4130
|
|
|
4131
|
-
function validate$
|
|
4131
|
+
function validate$G(obj, path = 'CalculationProcedureOutputRepresentation') {
|
|
4132
4132
|
const v_error = (() => {
|
|
4133
4133
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4134
4134
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4167,7 +4167,7 @@ function validate$F(obj, path = 'CalculationProcedureOutputRepresentation') {
|
|
|
4167
4167
|
|
|
4168
4168
|
const TTL$a = 1000;
|
|
4169
4169
|
const VERSION$b = "21f8e5c383da4ea0e4638a4ddc8c977d";
|
|
4170
|
-
function validate$
|
|
4170
|
+
function validate$F(obj, path = 'CalculationProcedureListOutputRepresentation') {
|
|
4171
4171
|
const v_error = (() => {
|
|
4172
4172
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4173
4173
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4181,7 +4181,7 @@ function validate$E(obj, path = 'CalculationProcedureListOutputRepresentation')
|
|
|
4181
4181
|
for (let i = 0; i < obj_calculationProcedureOutputRepresentations.length; i++) {
|
|
4182
4182
|
const obj_calculationProcedureOutputRepresentations_item = obj_calculationProcedureOutputRepresentations[i];
|
|
4183
4183
|
const path_calculationProcedureOutputRepresentations_item = path_calculationProcedureOutputRepresentations + '[' + i + ']';
|
|
4184
|
-
const referencepath_calculationProcedureOutputRepresentations_itemValidationError = validate$
|
|
4184
|
+
const referencepath_calculationProcedureOutputRepresentations_itemValidationError = validate$G(obj_calculationProcedureOutputRepresentations_item, path_calculationProcedureOutputRepresentations_item);
|
|
4185
4185
|
if (referencepath_calculationProcedureOutputRepresentations_itemValidationError !== null) {
|
|
4186
4186
|
let message = 'Object doesn\'t match CalculationProcedureOutputRepresentation (at "' + path_calculationProcedureOutputRepresentations_item + '")\n';
|
|
4187
4187
|
message += referencepath_calculationProcedureOutputRepresentations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4233,7 +4233,7 @@ function equals$b(existing, incoming) {
|
|
|
4233
4233
|
}
|
|
4234
4234
|
const ingest$b = function CalculationProcedureListOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4235
4235
|
if (process.env.NODE_ENV !== 'production') {
|
|
4236
|
-
const validateError = validate$
|
|
4236
|
+
const validateError = validate$F(input);
|
|
4237
4237
|
if (validateError !== null) {
|
|
4238
4238
|
throw validateError;
|
|
4239
4239
|
}
|
|
@@ -4439,7 +4439,7 @@ const searchCalculationProcedureAdapterFactory = (luvio) => function interaction
|
|
|
4439
4439
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
4440
4440
|
};
|
|
4441
4441
|
|
|
4442
|
-
function validate$
|
|
4442
|
+
function validate$E(obj, path = 'ResourceInputRepresentation') {
|
|
4443
4443
|
const v_error = (() => {
|
|
4444
4444
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4445
4445
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4521,7 +4521,7 @@ function validate$D(obj, path = 'ResourceInputRepresentation') {
|
|
|
4521
4521
|
return v_error === undefined ? null : v_error;
|
|
4522
4522
|
}
|
|
4523
4523
|
|
|
4524
|
-
function validate$
|
|
4524
|
+
function validate$D(obj, path = 'ResourceListInputRepresentation') {
|
|
4525
4525
|
const v_error = (() => {
|
|
4526
4526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4527
4527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4534,7 +4534,7 @@ function validate$C(obj, path = 'ResourceListInputRepresentation') {
|
|
|
4534
4534
|
for (let i = 0; i < obj_details.length; i++) {
|
|
4535
4535
|
const obj_details_item = obj_details[i];
|
|
4536
4536
|
const path_details_item = path_details + '[' + i + ']';
|
|
4537
|
-
const referencepath_details_itemValidationError = validate$
|
|
4537
|
+
const referencepath_details_itemValidationError = validate$E(obj_details_item, path_details_item);
|
|
4538
4538
|
if (referencepath_details_itemValidationError !== null) {
|
|
4539
4539
|
let message = 'Object doesn\'t match ResourceInputRepresentation (at "' + path_details_item + '")\n';
|
|
4540
4540
|
message += referencepath_details_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4545,7 +4545,7 @@ function validate$C(obj, path = 'ResourceListInputRepresentation') {
|
|
|
4545
4545
|
return v_error === undefined ? null : v_error;
|
|
4546
4546
|
}
|
|
4547
4547
|
|
|
4548
|
-
function validate$
|
|
4548
|
+
function validate$C(obj, path = 'RootStepListInputRepresentation') {
|
|
4549
4549
|
const v_error = (() => {
|
|
4550
4550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4551
4551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4566,6 +4566,25 @@ function validate$B(obj, path = 'RootStepListInputRepresentation') {
|
|
|
4566
4566
|
return v_error === undefined ? null : v_error;
|
|
4567
4567
|
}
|
|
4568
4568
|
|
|
4569
|
+
function validate$B(obj, path = 'ExpressionSetDesTokenMappingRepresentation') {
|
|
4570
|
+
const v_error = (() => {
|
|
4571
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4572
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4573
|
+
}
|
|
4574
|
+
const obj_resourceName = obj.resourceName;
|
|
4575
|
+
const path_resourceName = path + '.resourceName';
|
|
4576
|
+
if (typeof obj_resourceName !== 'string') {
|
|
4577
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resourceName + '" (at "' + path_resourceName + '")');
|
|
4578
|
+
}
|
|
4579
|
+
const obj_token = obj.token;
|
|
4580
|
+
const path_token = path + '.token';
|
|
4581
|
+
if (typeof obj_token !== 'string') {
|
|
4582
|
+
return new TypeError('Expected "string" but received "' + typeof obj_token + '" (at "' + path_token + '")');
|
|
4583
|
+
}
|
|
4584
|
+
})();
|
|
4585
|
+
return v_error === undefined ? null : v_error;
|
|
4586
|
+
}
|
|
4587
|
+
|
|
4569
4588
|
function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
4570
4589
|
const v_error = (() => {
|
|
4571
4590
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4634,6 +4653,23 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4634
4653
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
4635
4654
|
}
|
|
4636
4655
|
}
|
|
4656
|
+
if (obj.failureTokenMappings !== undefined) {
|
|
4657
|
+
const obj_failureTokenMappings = obj.failureTokenMappings;
|
|
4658
|
+
const path_failureTokenMappings = path + '.failureTokenMappings';
|
|
4659
|
+
if (!ArrayIsArray(obj_failureTokenMappings)) {
|
|
4660
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failureTokenMappings + '" (at "' + path_failureTokenMappings + '")');
|
|
4661
|
+
}
|
|
4662
|
+
for (let i = 0; i < obj_failureTokenMappings.length; i++) {
|
|
4663
|
+
const obj_failureTokenMappings_item = obj_failureTokenMappings[i];
|
|
4664
|
+
const path_failureTokenMappings_item = path_failureTokenMappings + '[' + i + ']';
|
|
4665
|
+
const referencepath_failureTokenMappings_itemValidationError = validate$B(obj_failureTokenMappings_item, path_failureTokenMappings_item);
|
|
4666
|
+
if (referencepath_failureTokenMappings_itemValidationError !== null) {
|
|
4667
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failureTokenMappings_item + '")\n';
|
|
4668
|
+
message += referencepath_failureTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4669
|
+
return new TypeError(message);
|
|
4670
|
+
}
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4637
4673
|
if (obj.formulaExpressionText !== undefined) {
|
|
4638
4674
|
const obj_formulaExpressionText = obj.formulaExpressionText;
|
|
4639
4675
|
const path_formulaExpressionText = path + '.formulaExpressionText';
|
|
@@ -4679,6 +4715,23 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4679
4715
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
4680
4716
|
}
|
|
4681
4717
|
}
|
|
4718
|
+
if (obj.noResultTokenMappings !== undefined) {
|
|
4719
|
+
const obj_noResultTokenMappings = obj.noResultTokenMappings;
|
|
4720
|
+
const path_noResultTokenMappings = path + '.noResultTokenMappings';
|
|
4721
|
+
if (!ArrayIsArray(obj_noResultTokenMappings)) {
|
|
4722
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultTokenMappings + '" (at "' + path_noResultTokenMappings + '")');
|
|
4723
|
+
}
|
|
4724
|
+
for (let i = 0; i < obj_noResultTokenMappings.length; i++) {
|
|
4725
|
+
const obj_noResultTokenMappings_item = obj_noResultTokenMappings[i];
|
|
4726
|
+
const path_noResultTokenMappings_item = path_noResultTokenMappings + '[' + i + ']';
|
|
4727
|
+
const referencepath_noResultTokenMappings_itemValidationError = validate$B(obj_noResultTokenMappings_item, path_noResultTokenMappings_item);
|
|
4728
|
+
if (referencepath_noResultTokenMappings_itemValidationError !== null) {
|
|
4729
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultTokenMappings_item + '")\n';
|
|
4730
|
+
message += referencepath_noResultTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4731
|
+
return new TypeError(message);
|
|
4732
|
+
}
|
|
4733
|
+
}
|
|
4734
|
+
}
|
|
4682
4735
|
if (obj.outputVariablesFormatText !== undefined) {
|
|
4683
4736
|
const obj_outputVariablesFormatText = obj.outputVariablesFormatText;
|
|
4684
4737
|
const path_outputVariablesFormatText = path + '.outputVariablesFormatText';
|
|
@@ -4731,6 +4784,23 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4731
4784
|
if (typeof obj_stepType !== 'string') {
|
|
4732
4785
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
4733
4786
|
}
|
|
4787
|
+
if (obj.successTokenMappings !== undefined) {
|
|
4788
|
+
const obj_successTokenMappings = obj.successTokenMappings;
|
|
4789
|
+
const path_successTokenMappings = path + '.successTokenMappings';
|
|
4790
|
+
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
4791
|
+
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
4792
|
+
}
|
|
4793
|
+
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
4794
|
+
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
4795
|
+
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
4796
|
+
const referencepath_successTokenMappings_itemValidationError = validate$B(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
4797
|
+
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
4798
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
4799
|
+
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4800
|
+
return new TypeError(message);
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
}
|
|
4734
4804
|
})();
|
|
4735
4805
|
return v_error === undefined ? null : v_error;
|
|
4736
4806
|
}
|
|
@@ -4774,7 +4844,7 @@ function validate$y(obj, path = 'CalculationProcedureVersionDefinitionInputRepre
|
|
|
4774
4844
|
if (obj.constants !== undefined) {
|
|
4775
4845
|
const obj_constants = obj.constants;
|
|
4776
4846
|
const path_constants = path + '.constants';
|
|
4777
|
-
const referencepath_constantsValidationError = validate$
|
|
4847
|
+
const referencepath_constantsValidationError = validate$D(obj_constants, path_constants);
|
|
4778
4848
|
if (referencepath_constantsValidationError !== null) {
|
|
4779
4849
|
let message = 'Object doesn\'t match ResourceListInputRepresentation (at "' + path_constants + '")\n';
|
|
4780
4850
|
message += referencepath_constantsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4817,7 +4887,7 @@ function validate$y(obj, path = 'CalculationProcedureVersionDefinitionInputRepre
|
|
|
4817
4887
|
if (obj.root !== undefined) {
|
|
4818
4888
|
const obj_root = obj.root;
|
|
4819
4889
|
const path_root = path + '.root';
|
|
4820
|
-
const referencepath_rootValidationError = validate$
|
|
4890
|
+
const referencepath_rootValidationError = validate$C(obj_root, path_root);
|
|
4821
4891
|
if (referencepath_rootValidationError !== null) {
|
|
4822
4892
|
let message = 'Object doesn\'t match RootStepListInputRepresentation (at "' + path_root + '")\n';
|
|
4823
4893
|
message += referencepath_rootValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4851,7 +4921,7 @@ function validate$y(obj, path = 'CalculationProcedureVersionDefinitionInputRepre
|
|
|
4851
4921
|
if (obj.variables !== undefined) {
|
|
4852
4922
|
const obj_variables = obj.variables;
|
|
4853
4923
|
const path_variables = path + '.variables';
|
|
4854
|
-
const referencepath_variablesValidationError = validate$
|
|
4924
|
+
const referencepath_variablesValidationError = validate$D(obj_variables, path_variables);
|
|
4855
4925
|
if (referencepath_variablesValidationError !== null) {
|
|
4856
4926
|
let message = 'Object doesn\'t match ResourceListInputRepresentation (at "' + path_variables + '")\n';
|
|
4857
4927
|
message += referencepath_variablesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5147,6 +5217,23 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
5147
5217
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
5148
5218
|
}
|
|
5149
5219
|
}
|
|
5220
|
+
if (obj.failureTokenMappings !== undefined) {
|
|
5221
|
+
const obj_failureTokenMappings = obj.failureTokenMappings;
|
|
5222
|
+
const path_failureTokenMappings = path + '.failureTokenMappings';
|
|
5223
|
+
if (!ArrayIsArray(obj_failureTokenMappings)) {
|
|
5224
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failureTokenMappings + '" (at "' + path_failureTokenMappings + '")');
|
|
5225
|
+
}
|
|
5226
|
+
for (let i = 0; i < obj_failureTokenMappings.length; i++) {
|
|
5227
|
+
const obj_failureTokenMappings_item = obj_failureTokenMappings[i];
|
|
5228
|
+
const path_failureTokenMappings_item = path_failureTokenMappings + '[' + i + ']';
|
|
5229
|
+
const referencepath_failureTokenMappings_itemValidationError = validate$B(obj_failureTokenMappings_item, path_failureTokenMappings_item);
|
|
5230
|
+
if (referencepath_failureTokenMappings_itemValidationError !== null) {
|
|
5231
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failureTokenMappings_item + '")\n';
|
|
5232
|
+
message += referencepath_failureTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5233
|
+
return new TypeError(message);
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5150
5237
|
if (obj.formulaExpressionText !== undefined) {
|
|
5151
5238
|
const obj_formulaExpressionText = obj.formulaExpressionText;
|
|
5152
5239
|
const path_formulaExpressionText = path + '.formulaExpressionText';
|
|
@@ -5196,6 +5283,23 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
5196
5283
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
5197
5284
|
}
|
|
5198
5285
|
}
|
|
5286
|
+
if (obj.noResultTokenMappings !== undefined) {
|
|
5287
|
+
const obj_noResultTokenMappings = obj.noResultTokenMappings;
|
|
5288
|
+
const path_noResultTokenMappings = path + '.noResultTokenMappings';
|
|
5289
|
+
if (!ArrayIsArray(obj_noResultTokenMappings)) {
|
|
5290
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultTokenMappings + '" (at "' + path_noResultTokenMappings + '")');
|
|
5291
|
+
}
|
|
5292
|
+
for (let i = 0; i < obj_noResultTokenMappings.length; i++) {
|
|
5293
|
+
const obj_noResultTokenMappings_item = obj_noResultTokenMappings[i];
|
|
5294
|
+
const path_noResultTokenMappings_item = path_noResultTokenMappings + '[' + i + ']';
|
|
5295
|
+
const referencepath_noResultTokenMappings_itemValidationError = validate$B(obj_noResultTokenMappings_item, path_noResultTokenMappings_item);
|
|
5296
|
+
if (referencepath_noResultTokenMappings_itemValidationError !== null) {
|
|
5297
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultTokenMappings_item + '")\n';
|
|
5298
|
+
message += referencepath_noResultTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5299
|
+
return new TypeError(message);
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
}
|
|
5199
5303
|
if (obj.outputVariablesFormatText !== undefined) {
|
|
5200
5304
|
const obj_outputVariablesFormatText = obj.outputVariablesFormatText;
|
|
5201
5305
|
const path_outputVariablesFormatText = path + '.outputVariablesFormatText';
|
|
@@ -5252,6 +5356,23 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
5252
5356
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
5253
5357
|
}
|
|
5254
5358
|
}
|
|
5359
|
+
if (obj.successTokenMappings !== undefined) {
|
|
5360
|
+
const obj_successTokenMappings = obj.successTokenMappings;
|
|
5361
|
+
const path_successTokenMappings = path + '.successTokenMappings';
|
|
5362
|
+
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
5363
|
+
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
5364
|
+
}
|
|
5365
|
+
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
5366
|
+
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
5367
|
+
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
5368
|
+
const referencepath_successTokenMappings_itemValidationError = validate$B(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
5369
|
+
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
5370
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
5371
|
+
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5372
|
+
return new TypeError(message);
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
}
|
|
5255
5376
|
})();
|
|
5256
5377
|
return v_error === undefined ? null : v_error;
|
|
5257
5378
|
}
|