@salesforce/lds-adapters-industries-rule-builder 1.227.2 → 1.228.1
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 +90 -90
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepInputRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepOutputRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/ExpressionSetDesTokenMappingRepresentation.d.ts +6 -6
- package/package.json +1 -1
- package/sfdc/index.js +91 -91
- package/src/raml/api.raml +12 -12
|
@@ -4152,15 +4152,15 @@ function validate$B(obj, path = 'ExpressionSetDesTokenMappingRepresentation') {
|
|
|
4152
4152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4153
4153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4154
4154
|
}
|
|
4155
|
-
const
|
|
4156
|
-
const
|
|
4157
|
-
if (typeof
|
|
4158
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
4155
|
+
const obj_expressionSetMessageToken = obj.expressionSetMessageToken;
|
|
4156
|
+
const path_expressionSetMessageToken = path + '.expressionSetMessageToken';
|
|
4157
|
+
if (typeof obj_expressionSetMessageToken !== 'string') {
|
|
4158
|
+
return new TypeError('Expected "string" but received "' + typeof obj_expressionSetMessageToken + '" (at "' + path_expressionSetMessageToken + '")');
|
|
4159
4159
|
}
|
|
4160
|
-
const
|
|
4161
|
-
const
|
|
4162
|
-
if (typeof
|
|
4163
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
4160
|
+
const obj_resourceReference = obj.resourceReference;
|
|
4161
|
+
const path_resourceReference = path + '.resourceReference';
|
|
4162
|
+
if (typeof obj_resourceReference !== 'string') {
|
|
4163
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resourceReference + '" (at "' + path_resourceReference + '")');
|
|
4164
4164
|
}
|
|
4165
4165
|
})();
|
|
4166
4166
|
return v_error === undefined ? null : v_error;
|
|
@@ -4234,19 +4234,19 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4234
4234
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
4235
4235
|
}
|
|
4236
4236
|
}
|
|
4237
|
-
if (obj.
|
|
4238
|
-
const
|
|
4239
|
-
const
|
|
4240
|
-
if (!ArrayIsArray(
|
|
4241
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
4237
|
+
if (obj.failedMessageTokenMappings !== undefined) {
|
|
4238
|
+
const obj_failedMessageTokenMappings = obj.failedMessageTokenMappings;
|
|
4239
|
+
const path_failedMessageTokenMappings = path + '.failedMessageTokenMappings';
|
|
4240
|
+
if (!ArrayIsArray(obj_failedMessageTokenMappings)) {
|
|
4241
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedMessageTokenMappings + '" (at "' + path_failedMessageTokenMappings + '")');
|
|
4242
4242
|
}
|
|
4243
|
-
for (let i = 0; i <
|
|
4244
|
-
const
|
|
4245
|
-
const
|
|
4246
|
-
const
|
|
4247
|
-
if (
|
|
4248
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
4249
|
-
message +=
|
|
4243
|
+
for (let i = 0; i < obj_failedMessageTokenMappings.length; i++) {
|
|
4244
|
+
const obj_failedMessageTokenMappings_item = obj_failedMessageTokenMappings[i];
|
|
4245
|
+
const path_failedMessageTokenMappings_item = path_failedMessageTokenMappings + '[' + i + ']';
|
|
4246
|
+
const referencepath_failedMessageTokenMappings_itemValidationError = validate$B(obj_failedMessageTokenMappings_item, path_failedMessageTokenMappings_item);
|
|
4247
|
+
if (referencepath_failedMessageTokenMappings_itemValidationError !== null) {
|
|
4248
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failedMessageTokenMappings_item + '")\n';
|
|
4249
|
+
message += referencepath_failedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4250
4250
|
return new TypeError(message);
|
|
4251
4251
|
}
|
|
4252
4252
|
}
|
|
@@ -4296,19 +4296,19 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4296
4296
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
4297
4297
|
}
|
|
4298
4298
|
}
|
|
4299
|
-
if (obj.
|
|
4300
|
-
const
|
|
4301
|
-
const
|
|
4302
|
-
if (!ArrayIsArray(
|
|
4303
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
4299
|
+
if (obj.noResultMessageTokenMappings !== undefined) {
|
|
4300
|
+
const obj_noResultMessageTokenMappings = obj.noResultMessageTokenMappings;
|
|
4301
|
+
const path_noResultMessageTokenMappings = path + '.noResultMessageTokenMappings';
|
|
4302
|
+
if (!ArrayIsArray(obj_noResultMessageTokenMappings)) {
|
|
4303
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultMessageTokenMappings + '" (at "' + path_noResultMessageTokenMappings + '")');
|
|
4304
4304
|
}
|
|
4305
|
-
for (let i = 0; i <
|
|
4306
|
-
const
|
|
4307
|
-
const
|
|
4308
|
-
const
|
|
4309
|
-
if (
|
|
4310
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
4311
|
-
message +=
|
|
4305
|
+
for (let i = 0; i < obj_noResultMessageTokenMappings.length; i++) {
|
|
4306
|
+
const obj_noResultMessageTokenMappings_item = obj_noResultMessageTokenMappings[i];
|
|
4307
|
+
const path_noResultMessageTokenMappings_item = path_noResultMessageTokenMappings + '[' + i + ']';
|
|
4308
|
+
const referencepath_noResultMessageTokenMappings_itemValidationError = validate$B(obj_noResultMessageTokenMappings_item, path_noResultMessageTokenMappings_item);
|
|
4309
|
+
if (referencepath_noResultMessageTokenMappings_itemValidationError !== null) {
|
|
4310
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultMessageTokenMappings_item + '")\n';
|
|
4311
|
+
message += referencepath_noResultMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4312
4312
|
return new TypeError(message);
|
|
4313
4313
|
}
|
|
4314
4314
|
}
|
|
@@ -4334,6 +4334,23 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4334
4334
|
return new TypeError('Expected "string" but received "' + typeof obj_passedExplainerTemplateId + '" (at "' + path_passedExplainerTemplateId + '")');
|
|
4335
4335
|
}
|
|
4336
4336
|
}
|
|
4337
|
+
if (obj.passedMessageTokenMappings !== undefined) {
|
|
4338
|
+
const obj_passedMessageTokenMappings = obj.passedMessageTokenMappings;
|
|
4339
|
+
const path_passedMessageTokenMappings = path + '.passedMessageTokenMappings';
|
|
4340
|
+
if (!ArrayIsArray(obj_passedMessageTokenMappings)) {
|
|
4341
|
+
return new TypeError('Expected "array" but received "' + typeof obj_passedMessageTokenMappings + '" (at "' + path_passedMessageTokenMappings + '")');
|
|
4342
|
+
}
|
|
4343
|
+
for (let i = 0; i < obj_passedMessageTokenMappings.length; i++) {
|
|
4344
|
+
const obj_passedMessageTokenMappings_item = obj_passedMessageTokenMappings[i];
|
|
4345
|
+
const path_passedMessageTokenMappings_item = path_passedMessageTokenMappings + '[' + i + ']';
|
|
4346
|
+
const referencepath_passedMessageTokenMappings_itemValidationError = validate$B(obj_passedMessageTokenMappings_item, path_passedMessageTokenMappings_item);
|
|
4347
|
+
if (referencepath_passedMessageTokenMappings_itemValidationError !== null) {
|
|
4348
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_passedMessageTokenMappings_item + '")\n';
|
|
4349
|
+
message += referencepath_passedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4350
|
+
return new TypeError(message);
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4337
4354
|
if (obj.referenceCalculationProcedureId !== undefined) {
|
|
4338
4355
|
const obj_referenceCalculationProcedureId = obj.referenceCalculationProcedureId;
|
|
4339
4356
|
const path_referenceCalculationProcedureId = path + '.referenceCalculationProcedureId';
|
|
@@ -4365,23 +4382,6 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4365
4382
|
if (typeof obj_stepType !== 'string') {
|
|
4366
4383
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
4367
4384
|
}
|
|
4368
|
-
if (obj.successTokenMappings !== undefined) {
|
|
4369
|
-
const obj_successTokenMappings = obj.successTokenMappings;
|
|
4370
|
-
const path_successTokenMappings = path + '.successTokenMappings';
|
|
4371
|
-
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
4372
|
-
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
4373
|
-
}
|
|
4374
|
-
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
4375
|
-
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
4376
|
-
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
4377
|
-
const referencepath_successTokenMappings_itemValidationError = validate$B(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
4378
|
-
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
4379
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
4380
|
-
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4381
|
-
return new TypeError(message);
|
|
4382
|
-
}
|
|
4383
|
-
}
|
|
4384
|
-
}
|
|
4385
4385
|
})();
|
|
4386
4386
|
return v_error === undefined ? null : v_error;
|
|
4387
4387
|
}
|
|
@@ -4798,19 +4798,19 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
4798
4798
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
4799
4799
|
}
|
|
4800
4800
|
}
|
|
4801
|
-
if (obj.
|
|
4802
|
-
const
|
|
4803
|
-
const
|
|
4804
|
-
if (!ArrayIsArray(
|
|
4805
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
4801
|
+
if (obj.failedMessageTokenMappings !== undefined) {
|
|
4802
|
+
const obj_failedMessageTokenMappings = obj.failedMessageTokenMappings;
|
|
4803
|
+
const path_failedMessageTokenMappings = path + '.failedMessageTokenMappings';
|
|
4804
|
+
if (!ArrayIsArray(obj_failedMessageTokenMappings)) {
|
|
4805
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedMessageTokenMappings + '" (at "' + path_failedMessageTokenMappings + '")');
|
|
4806
4806
|
}
|
|
4807
|
-
for (let i = 0; i <
|
|
4808
|
-
const
|
|
4809
|
-
const
|
|
4810
|
-
const
|
|
4811
|
-
if (
|
|
4812
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
4813
|
-
message +=
|
|
4807
|
+
for (let i = 0; i < obj_failedMessageTokenMappings.length; i++) {
|
|
4808
|
+
const obj_failedMessageTokenMappings_item = obj_failedMessageTokenMappings[i];
|
|
4809
|
+
const path_failedMessageTokenMappings_item = path_failedMessageTokenMappings + '[' + i + ']';
|
|
4810
|
+
const referencepath_failedMessageTokenMappings_itemValidationError = validate$B(obj_failedMessageTokenMappings_item, path_failedMessageTokenMappings_item);
|
|
4811
|
+
if (referencepath_failedMessageTokenMappings_itemValidationError !== null) {
|
|
4812
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failedMessageTokenMappings_item + '")\n';
|
|
4813
|
+
message += referencepath_failedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4814
4814
|
return new TypeError(message);
|
|
4815
4815
|
}
|
|
4816
4816
|
}
|
|
@@ -4864,19 +4864,19 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
4864
4864
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
4865
4865
|
}
|
|
4866
4866
|
}
|
|
4867
|
-
if (obj.
|
|
4868
|
-
const
|
|
4869
|
-
const
|
|
4870
|
-
if (!ArrayIsArray(
|
|
4871
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
4867
|
+
if (obj.noResultMessageTokenMappings !== undefined) {
|
|
4868
|
+
const obj_noResultMessageTokenMappings = obj.noResultMessageTokenMappings;
|
|
4869
|
+
const path_noResultMessageTokenMappings = path + '.noResultMessageTokenMappings';
|
|
4870
|
+
if (!ArrayIsArray(obj_noResultMessageTokenMappings)) {
|
|
4871
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultMessageTokenMappings + '" (at "' + path_noResultMessageTokenMappings + '")');
|
|
4872
4872
|
}
|
|
4873
|
-
for (let i = 0; i <
|
|
4874
|
-
const
|
|
4875
|
-
const
|
|
4876
|
-
const
|
|
4877
|
-
if (
|
|
4878
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
4879
|
-
message +=
|
|
4873
|
+
for (let i = 0; i < obj_noResultMessageTokenMappings.length; i++) {
|
|
4874
|
+
const obj_noResultMessageTokenMappings_item = obj_noResultMessageTokenMappings[i];
|
|
4875
|
+
const path_noResultMessageTokenMappings_item = path_noResultMessageTokenMappings + '[' + i + ']';
|
|
4876
|
+
const referencepath_noResultMessageTokenMappings_itemValidationError = validate$B(obj_noResultMessageTokenMappings_item, path_noResultMessageTokenMappings_item);
|
|
4877
|
+
if (referencepath_noResultMessageTokenMappings_itemValidationError !== null) {
|
|
4878
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultMessageTokenMappings_item + '")\n';
|
|
4879
|
+
message += referencepath_noResultMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4880
4880
|
return new TypeError(message);
|
|
4881
4881
|
}
|
|
4882
4882
|
}
|
|
@@ -4902,6 +4902,23 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
4902
4902
|
return new TypeError('Expected "string" but received "' + typeof obj_passedExplainerTemplateId + '" (at "' + path_passedExplainerTemplateId + '")');
|
|
4903
4903
|
}
|
|
4904
4904
|
}
|
|
4905
|
+
if (obj.passedMessageTokenMappings !== undefined) {
|
|
4906
|
+
const obj_passedMessageTokenMappings = obj.passedMessageTokenMappings;
|
|
4907
|
+
const path_passedMessageTokenMappings = path + '.passedMessageTokenMappings';
|
|
4908
|
+
if (!ArrayIsArray(obj_passedMessageTokenMappings)) {
|
|
4909
|
+
return new TypeError('Expected "array" but received "' + typeof obj_passedMessageTokenMappings + '" (at "' + path_passedMessageTokenMappings + '")');
|
|
4910
|
+
}
|
|
4911
|
+
for (let i = 0; i < obj_passedMessageTokenMappings.length; i++) {
|
|
4912
|
+
const obj_passedMessageTokenMappings_item = obj_passedMessageTokenMappings[i];
|
|
4913
|
+
const path_passedMessageTokenMappings_item = path_passedMessageTokenMappings + '[' + i + ']';
|
|
4914
|
+
const referencepath_passedMessageTokenMappings_itemValidationError = validate$B(obj_passedMessageTokenMappings_item, path_passedMessageTokenMappings_item);
|
|
4915
|
+
if (referencepath_passedMessageTokenMappings_itemValidationError !== null) {
|
|
4916
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_passedMessageTokenMappings_item + '")\n';
|
|
4917
|
+
message += referencepath_passedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4918
|
+
return new TypeError(message);
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4905
4922
|
if (obj.referenceCalculationProcedureId !== undefined) {
|
|
4906
4923
|
const obj_referenceCalculationProcedureId = obj.referenceCalculationProcedureId;
|
|
4907
4924
|
const path_referenceCalculationProcedureId = path + '.referenceCalculationProcedureId';
|
|
@@ -4937,23 +4954,6 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
4937
4954
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
4938
4955
|
}
|
|
4939
4956
|
}
|
|
4940
|
-
if (obj.successTokenMappings !== undefined) {
|
|
4941
|
-
const obj_successTokenMappings = obj.successTokenMappings;
|
|
4942
|
-
const path_successTokenMappings = path + '.successTokenMappings';
|
|
4943
|
-
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
4944
|
-
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
4945
|
-
}
|
|
4946
|
-
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
4947
|
-
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
4948
|
-
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
4949
|
-
const referencepath_successTokenMappings_itemValidationError = validate$B(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
4950
|
-
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
4951
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
4952
|
-
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4953
|
-
return new TypeError(message);
|
|
4954
|
-
}
|
|
4955
|
-
}
|
|
4956
|
-
}
|
|
4957
4957
|
})();
|
|
4958
4958
|
return v_error === undefined ? null : v_error;
|
|
4959
4959
|
}
|
package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepInputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpressionSetDesTokenMappingRepresentation as ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation } from './ExpressionSetDesTokenMappingRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "6760ca72547126ca14bb3591fdadbeef";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CalculationProcedureStepInputRepresentation, existing: CalculationProcedureStepInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CalculationProcedureStepInputRepresentationNormalized;
|
|
@@ -31,8 +31,8 @@ export interface CalculationProcedureStepInputRepresentationNormalized {
|
|
|
31
31
|
exposeExecPathMsgOnly?: boolean;
|
|
32
32
|
/** FailureTemplateId of Calcuation Procedure Version Step */
|
|
33
33
|
failedExplainerTemplateId?: string;
|
|
34
|
-
/** List of the Token Resource mappings for
|
|
35
|
-
|
|
34
|
+
/** List of the Token Resource mappings for Failed Explainability Message Template */
|
|
35
|
+
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
36
36
|
/** Formula Expression Text of Calcuation Procedure Version Step */
|
|
37
37
|
formulaExpressionText?: string;
|
|
38
38
|
/** Formula Ui Formatted Text of Calcuation Procedure Version Step */
|
|
@@ -48,13 +48,15 @@ export interface CalculationProcedureStepInputRepresentationNormalized {
|
|
|
48
48
|
/** noResultTemplateId of Calcuation Procedure Version Step */
|
|
49
49
|
noResultExplainerTemplateId?: string;
|
|
50
50
|
/** List of the Token Resource mappings for NoResult Explainability Message Template */
|
|
51
|
-
|
|
51
|
+
noResultMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
52
52
|
/** Output Variables Format Text of Calcuation Procedure Version Step */
|
|
53
53
|
outputVariablesFormatText?: string;
|
|
54
54
|
/** OutputVariablesMappingText of Calcuation Procedure Version Step */
|
|
55
55
|
outputVariablesMappingText?: string;
|
|
56
56
|
/** successTemplateId of Calcuation Procedure Version Step */
|
|
57
57
|
passedExplainerTemplateId?: string;
|
|
58
|
+
/** List of the Token Resource mappings for Passed Explainability Message Template */
|
|
59
|
+
passedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
58
60
|
/** Reference Calculation Procedure Id used in Calcuation Procedure Version Step */
|
|
59
61
|
referenceCalculationProcedureId?: string;
|
|
60
62
|
/** ReturnMessageValueSet of Calcuation Procedure Version Step */
|
|
@@ -65,8 +67,6 @@ export interface CalculationProcedureStepInputRepresentationNormalized {
|
|
|
65
67
|
stage: string;
|
|
66
68
|
/** StepType of Calcuation Procedure Version Step */
|
|
67
69
|
stepType: string;
|
|
68
|
-
/** List of the Token Resource mappings for Success Explainability Message Template */
|
|
69
|
-
successTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Input representation for Calculation Procedure Version Steps
|
|
@@ -83,7 +83,7 @@ export interface CalculationProcedureStepInputRepresentation {
|
|
|
83
83
|
exposeConditionDetails?: boolean;
|
|
84
84
|
exposeExecPathMsgOnly?: boolean;
|
|
85
85
|
failedExplainerTemplateId?: string;
|
|
86
|
-
|
|
86
|
+
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
87
87
|
formulaExpressionText?: string;
|
|
88
88
|
formulaUiFormattedText?: string;
|
|
89
89
|
id: string;
|
|
@@ -91,14 +91,14 @@ export interface CalculationProcedureStepInputRepresentation {
|
|
|
91
91
|
isResultIncluded?: boolean;
|
|
92
92
|
name: string;
|
|
93
93
|
noResultExplainerTemplateId?: string;
|
|
94
|
-
|
|
94
|
+
noResultMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
95
95
|
outputVariablesFormatText?: string;
|
|
96
96
|
outputVariablesMappingText?: string;
|
|
97
97
|
passedExplainerTemplateId?: string;
|
|
98
|
+
passedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
98
99
|
referenceCalculationProcedureId?: string;
|
|
99
100
|
returnMessageValueSet?: string;
|
|
100
101
|
showExplExternally?: boolean;
|
|
101
102
|
stage: string;
|
|
102
103
|
stepType: string;
|
|
103
|
-
successTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
104
104
|
}
|
package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpressionSetDesTokenMappingRepresentation as ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation } from './ExpressionSetDesTokenMappingRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "9d476c7fa98a0414e8431604273ed084";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CalculationProcedureStepOutputRepresentation, existing: CalculationProcedureStepOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CalculationProcedureStepOutputRepresentationNormalized;
|
|
@@ -31,8 +31,8 @@ export interface CalculationProcedureStepOutputRepresentationNormalized {
|
|
|
31
31
|
exposeExecPathMsgOnly?: boolean;
|
|
32
32
|
/** FailureTemplateId of Calculation Procedure Step */
|
|
33
33
|
failedExplainerTemplateId?: string;
|
|
34
|
-
/** List of the Token Resource mappings for
|
|
35
|
-
|
|
34
|
+
/** List of the Token Resource mappings for Failed Explainability Message Template */
|
|
35
|
+
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
36
36
|
/** Formula Expression Text of Calcuation Procedure Version Step */
|
|
37
37
|
formulaExpressionText?: string;
|
|
38
38
|
/** Formula Ui Formatted Text of Calcuation Procedure Version Step */
|
|
@@ -48,13 +48,15 @@ export interface CalculationProcedureStepOutputRepresentationNormalized {
|
|
|
48
48
|
/** noResultTemplateId of Calcuation Procedure Version Step */
|
|
49
49
|
noResultExplainerTemplateId?: string;
|
|
50
50
|
/** List of the Token Resource mappings for NoResult Explainability Message Template */
|
|
51
|
-
|
|
51
|
+
noResultMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
52
52
|
/** Output Variables Format Text of Calcuation Procedure Version Step */
|
|
53
53
|
outputVariablesFormatText?: string;
|
|
54
54
|
/** OutputVariablesMappingText of Calcuation Procedure Version Step */
|
|
55
55
|
outputVariablesMappingText?: string;
|
|
56
56
|
/** SuccessTemplateId of Calculation Procedure Step */
|
|
57
57
|
passedExplainerTemplateId?: string;
|
|
58
|
+
/** List of the Token Resource mappings for Passed Explainability Message Template */
|
|
59
|
+
passedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
58
60
|
/** Reference CalculationProcedureId of another CalculationProcedure */
|
|
59
61
|
referenceCalculationProcedureId?: string;
|
|
60
62
|
/** ReturnMessageValueSet of Calcuation Procedure Version Step */
|
|
@@ -65,8 +67,6 @@ export interface CalculationProcedureStepOutputRepresentationNormalized {
|
|
|
65
67
|
stage?: string;
|
|
66
68
|
/** StepType of Calculation Procedure Step */
|
|
67
69
|
stepType?: string;
|
|
68
|
-
/** List of the Token Resource mappings for Success Explainability Message Template */
|
|
69
|
-
successTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Output represenation of Calculation Procedure Version Steps
|
|
@@ -83,7 +83,7 @@ export interface CalculationProcedureStepOutputRepresentation {
|
|
|
83
83
|
exposeConditionDetails?: boolean;
|
|
84
84
|
exposeExecPathMsgOnly?: boolean;
|
|
85
85
|
failedExplainerTemplateId?: string;
|
|
86
|
-
|
|
86
|
+
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
87
87
|
formulaExpressionText?: string;
|
|
88
88
|
formulaUiFormattedText?: string;
|
|
89
89
|
id?: string;
|
|
@@ -91,14 +91,14 @@ export interface CalculationProcedureStepOutputRepresentation {
|
|
|
91
91
|
isResultIncluded?: boolean;
|
|
92
92
|
name?: string;
|
|
93
93
|
noResultExplainerTemplateId?: string;
|
|
94
|
-
|
|
94
|
+
noResultMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
95
95
|
outputVariablesFormatText?: string;
|
|
96
96
|
outputVariablesMappingText?: string;
|
|
97
97
|
passedExplainerTemplateId?: string;
|
|
98
|
+
passedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
98
99
|
referenceCalculationProcedureId?: string;
|
|
99
100
|
returnMessageValueSet?: string;
|
|
100
101
|
showExplExternally?: boolean;
|
|
101
102
|
stage?: string;
|
|
102
103
|
stepType?: string;
|
|
103
|
-
successTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
104
104
|
}
|
package/dist/es/es2018/types/src/generated/types/ExpressionSetDesTokenMappingRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "dbf942bf9346ea61dac06541aae85cdf";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ExpressionSetDesTokenMappingRepresentation, existing: ExpressionSetDesTokenMappingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetDesTokenMappingRepresentationNormalized;
|
|
@@ -14,10 +14,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ExpressionSetDesTokenMappingRepresentationNormalized {
|
|
17
|
-
/** Name of the Expression set Resource which is mapped to a token */
|
|
18
|
-
resourceName: string;
|
|
19
17
|
/** Token in the Explainability Message Template */
|
|
20
|
-
|
|
18
|
+
expressionSetMessageToken: string;
|
|
19
|
+
/** Name of the Expression set Resource which is mapped to a token */
|
|
20
|
+
resourceReference: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Input representation of DES Token Mapping in the Expression Set Version
|
|
@@ -26,6 +26,6 @@ export interface ExpressionSetDesTokenMappingRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ExpressionSetDesTokenMappingRepresentation {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
expressionSetMessageToken: string;
|
|
30
|
+
resourceReference: string;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-rule-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.228.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "This is part of industries interactions and have files for rule builders",
|
|
6
6
|
"main": "dist/es/es2018/industries-rule-builder.js",
|
package/sfdc/index.js
CHANGED
|
@@ -2328,15 +2328,15 @@ function validate$Q(obj, path = 'ExpressionSetDesTokenMappingRepresentation') {
|
|
|
2328
2328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2329
2329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2330
2330
|
}
|
|
2331
|
-
const
|
|
2332
|
-
const
|
|
2333
|
-
if (typeof
|
|
2334
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
2331
|
+
const obj_expressionSetMessageToken = obj.expressionSetMessageToken;
|
|
2332
|
+
const path_expressionSetMessageToken = path + '.expressionSetMessageToken';
|
|
2333
|
+
if (typeof obj_expressionSetMessageToken !== 'string') {
|
|
2334
|
+
return new TypeError('Expected "string" but received "' + typeof obj_expressionSetMessageToken + '" (at "' + path_expressionSetMessageToken + '")');
|
|
2335
2335
|
}
|
|
2336
|
-
const
|
|
2337
|
-
const
|
|
2338
|
-
if (typeof
|
|
2339
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
2336
|
+
const obj_resourceReference = obj.resourceReference;
|
|
2337
|
+
const path_resourceReference = path + '.resourceReference';
|
|
2338
|
+
if (typeof obj_resourceReference !== 'string') {
|
|
2339
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resourceReference + '" (at "' + path_resourceReference + '")');
|
|
2340
2340
|
}
|
|
2341
2341
|
})();
|
|
2342
2342
|
return v_error === undefined ? null : v_error;
|
|
@@ -2410,19 +2410,19 @@ function validate$P(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
2410
2410
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
2411
2411
|
}
|
|
2412
2412
|
}
|
|
2413
|
-
if (obj.
|
|
2414
|
-
const
|
|
2415
|
-
const
|
|
2416
|
-
if (!ArrayIsArray(
|
|
2417
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
2413
|
+
if (obj.failedMessageTokenMappings !== undefined) {
|
|
2414
|
+
const obj_failedMessageTokenMappings = obj.failedMessageTokenMappings;
|
|
2415
|
+
const path_failedMessageTokenMappings = path + '.failedMessageTokenMappings';
|
|
2416
|
+
if (!ArrayIsArray(obj_failedMessageTokenMappings)) {
|
|
2417
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedMessageTokenMappings + '" (at "' + path_failedMessageTokenMappings + '")');
|
|
2418
2418
|
}
|
|
2419
|
-
for (let i = 0; i <
|
|
2420
|
-
const
|
|
2421
|
-
const
|
|
2422
|
-
const
|
|
2423
|
-
if (
|
|
2424
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
2425
|
-
message +=
|
|
2419
|
+
for (let i = 0; i < obj_failedMessageTokenMappings.length; i++) {
|
|
2420
|
+
const obj_failedMessageTokenMappings_item = obj_failedMessageTokenMappings[i];
|
|
2421
|
+
const path_failedMessageTokenMappings_item = path_failedMessageTokenMappings + '[' + i + ']';
|
|
2422
|
+
const referencepath_failedMessageTokenMappings_itemValidationError = validate$Q(obj_failedMessageTokenMappings_item, path_failedMessageTokenMappings_item);
|
|
2423
|
+
if (referencepath_failedMessageTokenMappings_itemValidationError !== null) {
|
|
2424
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failedMessageTokenMappings_item + '")\n';
|
|
2425
|
+
message += referencepath_failedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2426
2426
|
return new TypeError(message);
|
|
2427
2427
|
}
|
|
2428
2428
|
}
|
|
@@ -2476,19 +2476,19 @@ function validate$P(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
2476
2476
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
2477
2477
|
}
|
|
2478
2478
|
}
|
|
2479
|
-
if (obj.
|
|
2480
|
-
const
|
|
2481
|
-
const
|
|
2482
|
-
if (!ArrayIsArray(
|
|
2483
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
2479
|
+
if (obj.noResultMessageTokenMappings !== undefined) {
|
|
2480
|
+
const obj_noResultMessageTokenMappings = obj.noResultMessageTokenMappings;
|
|
2481
|
+
const path_noResultMessageTokenMappings = path + '.noResultMessageTokenMappings';
|
|
2482
|
+
if (!ArrayIsArray(obj_noResultMessageTokenMappings)) {
|
|
2483
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultMessageTokenMappings + '" (at "' + path_noResultMessageTokenMappings + '")');
|
|
2484
2484
|
}
|
|
2485
|
-
for (let i = 0; i <
|
|
2486
|
-
const
|
|
2487
|
-
const
|
|
2488
|
-
const
|
|
2489
|
-
if (
|
|
2490
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
2491
|
-
message +=
|
|
2485
|
+
for (let i = 0; i < obj_noResultMessageTokenMappings.length; i++) {
|
|
2486
|
+
const obj_noResultMessageTokenMappings_item = obj_noResultMessageTokenMappings[i];
|
|
2487
|
+
const path_noResultMessageTokenMappings_item = path_noResultMessageTokenMappings + '[' + i + ']';
|
|
2488
|
+
const referencepath_noResultMessageTokenMappings_itemValidationError = validate$Q(obj_noResultMessageTokenMappings_item, path_noResultMessageTokenMappings_item);
|
|
2489
|
+
if (referencepath_noResultMessageTokenMappings_itemValidationError !== null) {
|
|
2490
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultMessageTokenMappings_item + '")\n';
|
|
2491
|
+
message += referencepath_noResultMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2492
2492
|
return new TypeError(message);
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
@@ -2514,6 +2514,23 @@ function validate$P(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
2514
2514
|
return new TypeError('Expected "string" but received "' + typeof obj_passedExplainerTemplateId + '" (at "' + path_passedExplainerTemplateId + '")');
|
|
2515
2515
|
}
|
|
2516
2516
|
}
|
|
2517
|
+
if (obj.passedMessageTokenMappings !== undefined) {
|
|
2518
|
+
const obj_passedMessageTokenMappings = obj.passedMessageTokenMappings;
|
|
2519
|
+
const path_passedMessageTokenMappings = path + '.passedMessageTokenMappings';
|
|
2520
|
+
if (!ArrayIsArray(obj_passedMessageTokenMappings)) {
|
|
2521
|
+
return new TypeError('Expected "array" but received "' + typeof obj_passedMessageTokenMappings + '" (at "' + path_passedMessageTokenMappings + '")');
|
|
2522
|
+
}
|
|
2523
|
+
for (let i = 0; i < obj_passedMessageTokenMappings.length; i++) {
|
|
2524
|
+
const obj_passedMessageTokenMappings_item = obj_passedMessageTokenMappings[i];
|
|
2525
|
+
const path_passedMessageTokenMappings_item = path_passedMessageTokenMappings + '[' + i + ']';
|
|
2526
|
+
const referencepath_passedMessageTokenMappings_itemValidationError = validate$Q(obj_passedMessageTokenMappings_item, path_passedMessageTokenMappings_item);
|
|
2527
|
+
if (referencepath_passedMessageTokenMappings_itemValidationError !== null) {
|
|
2528
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_passedMessageTokenMappings_item + '")\n';
|
|
2529
|
+
message += referencepath_passedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2530
|
+
return new TypeError(message);
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2517
2534
|
if (obj.referenceCalculationProcedureId !== undefined) {
|
|
2518
2535
|
const obj_referenceCalculationProcedureId = obj.referenceCalculationProcedureId;
|
|
2519
2536
|
const path_referenceCalculationProcedureId = path + '.referenceCalculationProcedureId';
|
|
@@ -2549,23 +2566,6 @@ function validate$P(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
2549
2566
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
2550
2567
|
}
|
|
2551
2568
|
}
|
|
2552
|
-
if (obj.successTokenMappings !== undefined) {
|
|
2553
|
-
const obj_successTokenMappings = obj.successTokenMappings;
|
|
2554
|
-
const path_successTokenMappings = path + '.successTokenMappings';
|
|
2555
|
-
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
2556
|
-
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
2557
|
-
}
|
|
2558
|
-
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
2559
|
-
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
2560
|
-
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
2561
|
-
const referencepath_successTokenMappings_itemValidationError = validate$Q(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
2562
|
-
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
2563
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
2564
|
-
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2565
|
-
return new TypeError(message);
|
|
2566
|
-
}
|
|
2567
|
-
}
|
|
2568
|
-
}
|
|
2569
2569
|
})();
|
|
2570
2570
|
return v_error === undefined ? null : v_error;
|
|
2571
2571
|
}
|
|
@@ -6113,19 +6113,19 @@ function validate$r(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
6113
6113
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplateId + '" (at "' + path_failedExplainerTemplateId + '")');
|
|
6114
6114
|
}
|
|
6115
6115
|
}
|
|
6116
|
-
if (obj.
|
|
6117
|
-
const
|
|
6118
|
-
const
|
|
6119
|
-
if (!ArrayIsArray(
|
|
6120
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
6116
|
+
if (obj.failedMessageTokenMappings !== undefined) {
|
|
6117
|
+
const obj_failedMessageTokenMappings = obj.failedMessageTokenMappings;
|
|
6118
|
+
const path_failedMessageTokenMappings = path + '.failedMessageTokenMappings';
|
|
6119
|
+
if (!ArrayIsArray(obj_failedMessageTokenMappings)) {
|
|
6120
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedMessageTokenMappings + '" (at "' + path_failedMessageTokenMappings + '")');
|
|
6121
6121
|
}
|
|
6122
|
-
for (let i = 0; i <
|
|
6123
|
-
const
|
|
6124
|
-
const
|
|
6125
|
-
const
|
|
6126
|
-
if (
|
|
6127
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
6128
|
-
message +=
|
|
6122
|
+
for (let i = 0; i < obj_failedMessageTokenMappings.length; i++) {
|
|
6123
|
+
const obj_failedMessageTokenMappings_item = obj_failedMessageTokenMappings[i];
|
|
6124
|
+
const path_failedMessageTokenMappings_item = path_failedMessageTokenMappings + '[' + i + ']';
|
|
6125
|
+
const referencepath_failedMessageTokenMappings_itemValidationError = validate$Q(obj_failedMessageTokenMappings_item, path_failedMessageTokenMappings_item);
|
|
6126
|
+
if (referencepath_failedMessageTokenMappings_itemValidationError !== null) {
|
|
6127
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_failedMessageTokenMappings_item + '")\n';
|
|
6128
|
+
message += referencepath_failedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6129
6129
|
return new TypeError(message);
|
|
6130
6130
|
}
|
|
6131
6131
|
}
|
|
@@ -6175,19 +6175,19 @@ function validate$r(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
6175
6175
|
return new TypeError('Expected "string" but received "' + typeof obj_noResultExplainerTemplateId + '" (at "' + path_noResultExplainerTemplateId + '")');
|
|
6176
6176
|
}
|
|
6177
6177
|
}
|
|
6178
|
-
if (obj.
|
|
6179
|
-
const
|
|
6180
|
-
const
|
|
6181
|
-
if (!ArrayIsArray(
|
|
6182
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
6178
|
+
if (obj.noResultMessageTokenMappings !== undefined) {
|
|
6179
|
+
const obj_noResultMessageTokenMappings = obj.noResultMessageTokenMappings;
|
|
6180
|
+
const path_noResultMessageTokenMappings = path + '.noResultMessageTokenMappings';
|
|
6181
|
+
if (!ArrayIsArray(obj_noResultMessageTokenMappings)) {
|
|
6182
|
+
return new TypeError('Expected "array" but received "' + typeof obj_noResultMessageTokenMappings + '" (at "' + path_noResultMessageTokenMappings + '")');
|
|
6183
6183
|
}
|
|
6184
|
-
for (let i = 0; i <
|
|
6185
|
-
const
|
|
6186
|
-
const
|
|
6187
|
-
const
|
|
6188
|
-
if (
|
|
6189
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' +
|
|
6190
|
-
message +=
|
|
6184
|
+
for (let i = 0; i < obj_noResultMessageTokenMappings.length; i++) {
|
|
6185
|
+
const obj_noResultMessageTokenMappings_item = obj_noResultMessageTokenMappings[i];
|
|
6186
|
+
const path_noResultMessageTokenMappings_item = path_noResultMessageTokenMappings + '[' + i + ']';
|
|
6187
|
+
const referencepath_noResultMessageTokenMappings_itemValidationError = validate$Q(obj_noResultMessageTokenMappings_item, path_noResultMessageTokenMappings_item);
|
|
6188
|
+
if (referencepath_noResultMessageTokenMappings_itemValidationError !== null) {
|
|
6189
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_noResultMessageTokenMappings_item + '")\n';
|
|
6190
|
+
message += referencepath_noResultMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6191
6191
|
return new TypeError(message);
|
|
6192
6192
|
}
|
|
6193
6193
|
}
|
|
@@ -6213,6 +6213,23 @@ function validate$r(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
6213
6213
|
return new TypeError('Expected "string" but received "' + typeof obj_passedExplainerTemplateId + '" (at "' + path_passedExplainerTemplateId + '")');
|
|
6214
6214
|
}
|
|
6215
6215
|
}
|
|
6216
|
+
if (obj.passedMessageTokenMappings !== undefined) {
|
|
6217
|
+
const obj_passedMessageTokenMappings = obj.passedMessageTokenMappings;
|
|
6218
|
+
const path_passedMessageTokenMappings = path + '.passedMessageTokenMappings';
|
|
6219
|
+
if (!ArrayIsArray(obj_passedMessageTokenMappings)) {
|
|
6220
|
+
return new TypeError('Expected "array" but received "' + typeof obj_passedMessageTokenMappings + '" (at "' + path_passedMessageTokenMappings + '")');
|
|
6221
|
+
}
|
|
6222
|
+
for (let i = 0; i < obj_passedMessageTokenMappings.length; i++) {
|
|
6223
|
+
const obj_passedMessageTokenMappings_item = obj_passedMessageTokenMappings[i];
|
|
6224
|
+
const path_passedMessageTokenMappings_item = path_passedMessageTokenMappings + '[' + i + ']';
|
|
6225
|
+
const referencepath_passedMessageTokenMappings_itemValidationError = validate$Q(obj_passedMessageTokenMappings_item, path_passedMessageTokenMappings_item);
|
|
6226
|
+
if (referencepath_passedMessageTokenMappings_itemValidationError !== null) {
|
|
6227
|
+
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_passedMessageTokenMappings_item + '")\n';
|
|
6228
|
+
message += referencepath_passedMessageTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6229
|
+
return new TypeError(message);
|
|
6230
|
+
}
|
|
6231
|
+
}
|
|
6232
|
+
}
|
|
6216
6233
|
if (obj.referenceCalculationProcedureId !== undefined) {
|
|
6217
6234
|
const obj_referenceCalculationProcedureId = obj.referenceCalculationProcedureId;
|
|
6218
6235
|
const path_referenceCalculationProcedureId = path + '.referenceCalculationProcedureId';
|
|
@@ -6244,23 +6261,6 @@ function validate$r(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
6244
6261
|
if (typeof obj_stepType !== 'string') {
|
|
6245
6262
|
return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
|
|
6246
6263
|
}
|
|
6247
|
-
if (obj.successTokenMappings !== undefined) {
|
|
6248
|
-
const obj_successTokenMappings = obj.successTokenMappings;
|
|
6249
|
-
const path_successTokenMappings = path + '.successTokenMappings';
|
|
6250
|
-
if (!ArrayIsArray(obj_successTokenMappings)) {
|
|
6251
|
-
return new TypeError('Expected "array" but received "' + typeof obj_successTokenMappings + '" (at "' + path_successTokenMappings + '")');
|
|
6252
|
-
}
|
|
6253
|
-
for (let i = 0; i < obj_successTokenMappings.length; i++) {
|
|
6254
|
-
const obj_successTokenMappings_item = obj_successTokenMappings[i];
|
|
6255
|
-
const path_successTokenMappings_item = path_successTokenMappings + '[' + i + ']';
|
|
6256
|
-
const referencepath_successTokenMappings_itemValidationError = validate$Q(obj_successTokenMappings_item, path_successTokenMappings_item);
|
|
6257
|
-
if (referencepath_successTokenMappings_itemValidationError !== null) {
|
|
6258
|
-
let message = 'Object doesn\'t match ExpressionSetDesTokenMappingRepresentation (at "' + path_successTokenMappings_item + '")\n';
|
|
6259
|
-
message += referencepath_successTokenMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
6260
|
-
return new TypeError(message);
|
|
6261
|
-
}
|
|
6262
|
-
}
|
|
6263
|
-
}
|
|
6264
6264
|
})();
|
|
6265
6265
|
return v_error === undefined ? null : v_error;
|
|
6266
6266
|
}
|
|
@@ -8783,4 +8783,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8783
8783
|
});
|
|
8784
8784
|
|
|
8785
8785
|
export { activateCalcProcedureVersion, createExpressionSet, createObjectAlias, deleteExpressionSet, getBusinessKnowledgeModel, getBusinessKnowledgeModel_imperative, getCalcProcDetails, getCalcProcDetails_imperative, getCalcProcVersionDetails, getCalcProcVersionDetailsNotifyChange, getCalcProcVersionDetails_imperative, getDecisionMatrixDetails, getDecisionMatrixDetailsNotifyChange, getDecisionMatrixDetails_imperative, getDecisionTableDetails, getDecisionTableDetails_imperative, getExplainabilityLogs, getExplainabilityLogs_imperative, getExpressionSet, getExpressionSetAliasMetaInfo, getExpressionSetAliasMetaInfo_imperative, getExpressionSetNotifyChange, getExpressionSet_imperative, getLookupTables, getLookupTables_imperative, getMessageTemplateDetail, getMessageTemplateDetail_imperative, getProcessType, getProcessType_imperative, getSimulationInputVariables, getSimulationInputVariables_imperative, getUsageTypes, getUsageTypes_imperative, postCalcProcVersionDetails, postInvokeExpressionSet, searchCalculationProcedure, searchCalculationProcedure_imperative, searchDecisionMatrixByName, searchDecisionMatrixByName_imperative, searchDecisionTableByName, searchDecisionTableByName_imperative, searchMessageTemplates, searchMessageTemplates_imperative, simulateEvaluationService, updateAliasField, updateExpressionSet };
|
|
8786
|
-
// version: 1.
|
|
8786
|
+
// version: 1.228.1-0cb6f94f1
|
package/src/raml/api.raml
CHANGED
|
@@ -761,11 +761,11 @@ types:
|
|
|
761
761
|
description: Input representation of DES Token Mapping in the Expression Set Version
|
|
762
762
|
type: object
|
|
763
763
|
properties:
|
|
764
|
-
|
|
764
|
+
resourceReference:
|
|
765
765
|
description: Name of the Expression set Resource which is mapped to a token
|
|
766
766
|
type: string
|
|
767
767
|
required: true
|
|
768
|
-
|
|
768
|
+
expressionSetMessageToken:
|
|
769
769
|
description: Token in the Explainability Message Template
|
|
770
770
|
type: string
|
|
771
771
|
required: true
|
|
@@ -1291,7 +1291,7 @@ types:
|
|
|
1291
1291
|
description: noResultTemplateId of Calcuation Procedure Version Step
|
|
1292
1292
|
type: string
|
|
1293
1293
|
required: false
|
|
1294
|
-
|
|
1294
|
+
noResultMessageTokenMappings:
|
|
1295
1295
|
description: List of the Token Resource mappings for NoResult Explainability
|
|
1296
1296
|
Message Template
|
|
1297
1297
|
type: array
|
|
@@ -1302,8 +1302,8 @@ types:
|
|
|
1302
1302
|
description: FailureTemplateId of Calcuation Procedure Version Step
|
|
1303
1303
|
type: string
|
|
1304
1304
|
required: false
|
|
1305
|
-
|
|
1306
|
-
description: List of the Token Resource mappings for
|
|
1305
|
+
failedMessageTokenMappings:
|
|
1306
|
+
description: List of the Token Resource mappings for Failed Explainability
|
|
1307
1307
|
Message Template
|
|
1308
1308
|
type: array
|
|
1309
1309
|
items:
|
|
@@ -1364,8 +1364,8 @@ types:
|
|
|
1364
1364
|
stepType:
|
|
1365
1365
|
description: StepType of Calcuation Procedure Version Step
|
|
1366
1366
|
type: string
|
|
1367
|
-
|
|
1368
|
-
description: List of the Token Resource mappings for
|
|
1367
|
+
passedMessageTokenMappings:
|
|
1368
|
+
description: List of the Token Resource mappings for Passed Explainability
|
|
1369
1369
|
Message Template
|
|
1370
1370
|
type: array
|
|
1371
1371
|
items:
|
|
@@ -1433,7 +1433,7 @@ types:
|
|
|
1433
1433
|
description: noResultTemplateId of Calcuation Procedure Version Step
|
|
1434
1434
|
type: string
|
|
1435
1435
|
required: false
|
|
1436
|
-
|
|
1436
|
+
noResultMessageTokenMappings:
|
|
1437
1437
|
description: List of the Token Resource mappings for NoResult Explainability
|
|
1438
1438
|
Message Template
|
|
1439
1439
|
type: array
|
|
@@ -1444,8 +1444,8 @@ types:
|
|
|
1444
1444
|
description: FailureTemplateId of Calculation Procedure Step
|
|
1445
1445
|
type: string
|
|
1446
1446
|
required: false
|
|
1447
|
-
|
|
1448
|
-
description: List of the Token Resource mappings for
|
|
1447
|
+
failedMessageTokenMappings:
|
|
1448
|
+
description: List of the Token Resource mappings for Failed Explainability
|
|
1449
1449
|
Message Template
|
|
1450
1450
|
type: array
|
|
1451
1451
|
items:
|
|
@@ -1509,8 +1509,8 @@ types:
|
|
|
1509
1509
|
description: StepType of Calculation Procedure Step
|
|
1510
1510
|
type: string
|
|
1511
1511
|
required: false
|
|
1512
|
-
|
|
1513
|
-
description: List of the Token Resource mappings for
|
|
1512
|
+
passedMessageTokenMappings:
|
|
1513
|
+
description: List of the Token Resource mappings for Passed Explainability
|
|
1514
1514
|
Message Template
|
|
1515
1515
|
type: array
|
|
1516
1516
|
items:
|