@salesforce/lds-adapters-industries-rule-builder 1.388.0 → 1.389.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 +21 -0
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CalculationProcedureStepOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ExpressionSetVersionStepOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +22 -1
- package/src/raml/api.raml +12 -0
|
@@ -492,6 +492,13 @@ function validate$15(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
492
492
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplate + '" (at "' + path_failedExplainerTemplate + '")');
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
496
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
497
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
498
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
499
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
500
|
+
}
|
|
501
|
+
}
|
|
495
502
|
if (obj.lookupTable !== undefined) {
|
|
496
503
|
const obj_lookupTable = obj.lookupTable;
|
|
497
504
|
const path_lookupTable = path + '.lookupTable';
|
|
@@ -4357,6 +4364,13 @@ function validate$A(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
4357
4364
|
return new TypeError('Expected "string" but received "' + typeof obj_formulaUiFormattedText + '" (at "' + path_formulaUiFormattedText + '")');
|
|
4358
4365
|
}
|
|
4359
4366
|
}
|
|
4367
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
4368
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
4369
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
4370
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
4371
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4360
4374
|
const obj_id = obj.id;
|
|
4361
4375
|
const path_id = path + '.id';
|
|
4362
4376
|
if (typeof obj_id !== 'string') {
|
|
@@ -4928,6 +4942,13 @@ function validate$s(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
4928
4942
|
return new TypeError('Expected "string" but received "' + typeof obj_formulaUiFormattedText + '" (at "' + path_formulaUiFormattedText + '")');
|
|
4929
4943
|
}
|
|
4930
4944
|
}
|
|
4945
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
4946
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
4947
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
4948
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
4949
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4931
4952
|
if (obj.id !== undefined) {
|
|
4932
4953
|
const obj_id = obj.id;
|
|
4933
4954
|
const path_id = path + '.id';
|
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 = "f9e21428a7e3203d0125fccd458c46e3";
|
|
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;
|
|
@@ -37,6 +37,8 @@ export interface CalculationProcedureStepInputRepresentationNormalized {
|
|
|
37
37
|
formulaExpressionText?: string;
|
|
38
38
|
/** Formula Ui Formatted Text of Calcuation Procedure Version Step */
|
|
39
39
|
formulaUiFormattedText?: string;
|
|
40
|
+
/** Explainability flag for the sub-expression step */
|
|
41
|
+
hasNestedExplainability?: boolean;
|
|
40
42
|
/** Id of Calcuation Procedure Version Step */
|
|
41
43
|
id: string;
|
|
42
44
|
/** Input Variables Format Text of Calcuation Procedure Version Step */
|
|
@@ -86,6 +88,7 @@ export interface CalculationProcedureStepInputRepresentation {
|
|
|
86
88
|
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
87
89
|
formulaExpressionText?: string;
|
|
88
90
|
formulaUiFormattedText?: string;
|
|
91
|
+
hasNestedExplainability?: boolean;
|
|
89
92
|
id: string;
|
|
90
93
|
inputVariablesFormatText?: string;
|
|
91
94
|
isResultIncluded?: boolean;
|
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 = "2684651140fc59c7ed25f2f18fa1db7c";
|
|
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;
|
|
@@ -37,6 +37,8 @@ export interface CalculationProcedureStepOutputRepresentationNormalized {
|
|
|
37
37
|
formulaExpressionText?: string;
|
|
38
38
|
/** Formula Ui Formatted Text of Calcuation Procedure Version Step */
|
|
39
39
|
formulaUiFormattedText?: string;
|
|
40
|
+
/** Explainability flag for the sub-expression step */
|
|
41
|
+
hasNestedExplainability?: boolean;
|
|
40
42
|
/** recordId of Calculation Procedure Step */
|
|
41
43
|
id?: string;
|
|
42
44
|
/** Input Variables Format Text of Calcuation Procedure Version Step */
|
|
@@ -86,6 +88,7 @@ export interface CalculationProcedureStepOutputRepresentation {
|
|
|
86
88
|
failedMessageTokenMappings?: Array<ExpressionSetDesTokenMappingRepresentation_ExpressionSetDesTokenMappingRepresentation>;
|
|
87
89
|
formulaExpressionText?: string;
|
|
88
90
|
formulaUiFormattedText?: string;
|
|
91
|
+
hasNestedExplainability?: boolean;
|
|
89
92
|
id?: string;
|
|
90
93
|
inputVariablesFormatText?: string;
|
|
91
94
|
isResultIncluded?: boolean;
|
package/dist/es/es2018/types/src/generated/types/ExpressionSetVersionStepOutputRepresentation.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ExpressionSetCustomElementStepOutputRepresentation as ExpressionSetCust
|
|
|
6
6
|
import { ExpressionSetLookupTableStepOutputRepresentation as ExpressionSetLookupTableStepOutputRepresentation_ExpressionSetLookupTableStepOutputRepresentation } from './ExpressionSetLookupTableStepOutputRepresentation';
|
|
7
7
|
import { ExpressionSetSubExpressionStepOutputRepresentation as ExpressionSetSubExpressionStepOutputRepresentation_ExpressionSetSubExpressionStepOutputRepresentation } from './ExpressionSetSubExpressionStepOutputRepresentation';
|
|
8
8
|
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';
|
|
9
|
-
export declare const VERSION = "
|
|
9
|
+
export declare const VERSION = "61db9bc119dea908875ade151534127c";
|
|
10
10
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
11
11
|
export declare const RepresentationType: string;
|
|
12
12
|
export declare function normalize(input: ExpressionSetVersionStepOutputRepresentation, existing: ExpressionSetVersionStepOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetVersionStepOutputRepresentationNormalized;
|
|
@@ -37,6 +37,8 @@ export interface ExpressionSetVersionStepOutputRepresentationNormalized {
|
|
|
37
37
|
description?: string;
|
|
38
38
|
/** The failed explainability message template name */
|
|
39
39
|
failedExplainerTemplate?: string;
|
|
40
|
+
/** Explainability flag for the sub-expression step */
|
|
41
|
+
hasNestedExplainability?: boolean;
|
|
40
42
|
/** This field has information if it is a decision matrix or decision table step */
|
|
41
43
|
lookupTable?: ExpressionSetLookupTableStepOutputRepresentation_ExpressionSetLookupTableStepOutputRepresentation;
|
|
42
44
|
/** The unique name of step in expression set version */
|
|
@@ -75,6 +77,7 @@ export interface ExpressionSetVersionStepOutputRepresentation {
|
|
|
75
77
|
customElement?: ExpressionSetCustomElementStepOutputRepresentation_ExpressionSetCustomElementStepOutputRepresentation;
|
|
76
78
|
description?: string;
|
|
77
79
|
failedExplainerTemplate?: string;
|
|
80
|
+
hasNestedExplainability?: boolean;
|
|
78
81
|
lookupTable?: ExpressionSetLookupTableStepOutputRepresentation_ExpressionSetLookupTableStepOutputRepresentation;
|
|
79
82
|
name: string;
|
|
80
83
|
parentStep?: string;
|
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.389.0",
|
|
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",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"test:unit": "jest"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@salesforce/lds-bindings": "^1.
|
|
48
|
+
"@salesforce/lds-bindings": "^1.389.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.389.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.389.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -677,6 +677,13 @@ function validate$14(obj, path = 'ExpressionSetVersionStepOutputRepresentation')
|
|
|
677
677
|
return new TypeError('Expected "string" but received "' + typeof obj_failedExplainerTemplate + '" (at "' + path_failedExplainerTemplate + '")');
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
681
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
682
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
683
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
684
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
685
|
+
}
|
|
686
|
+
}
|
|
680
687
|
if (obj.lookupTable !== undefined) {
|
|
681
688
|
const obj_lookupTable = obj.lookupTable;
|
|
682
689
|
const path_lookupTable = path + '.lookupTable';
|
|
@@ -2484,6 +2491,13 @@ function validate$P(obj, path = 'CalculationProcedureStepOutputRepresentation')
|
|
|
2484
2491
|
return new TypeError('Expected "string" but received "' + typeof obj_formulaUiFormattedText + '" (at "' + path_formulaUiFormattedText + '")');
|
|
2485
2492
|
}
|
|
2486
2493
|
}
|
|
2494
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
2495
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
2496
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
2497
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
2498
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2487
2501
|
if (obj.id !== undefined) {
|
|
2488
2502
|
const obj_id = obj.id;
|
|
2489
2503
|
const path_id = path + '.id';
|
|
@@ -6265,6 +6279,13 @@ function validate$r(obj, path = 'CalculationProcedureStepInputRepresentation') {
|
|
|
6265
6279
|
return new TypeError('Expected "string" but received "' + typeof obj_formulaUiFormattedText + '" (at "' + path_formulaUiFormattedText + '")');
|
|
6266
6280
|
}
|
|
6267
6281
|
}
|
|
6282
|
+
if (obj.hasNestedExplainability !== undefined) {
|
|
6283
|
+
const obj_hasNestedExplainability = obj.hasNestedExplainability;
|
|
6284
|
+
const path_hasNestedExplainability = path + '.hasNestedExplainability';
|
|
6285
|
+
if (typeof obj_hasNestedExplainability !== 'boolean') {
|
|
6286
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNestedExplainability + '" (at "' + path_hasNestedExplainability + '")');
|
|
6287
|
+
}
|
|
6288
|
+
}
|
|
6268
6289
|
const obj_id = obj.id;
|
|
6269
6290
|
const path_id = path + '.id';
|
|
6270
6291
|
if (typeof obj_id !== 'string') {
|
|
@@ -9005,4 +9026,4 @@ withDefaultLuvio((luvio) => {
|
|
|
9005
9026
|
});
|
|
9006
9027
|
|
|
9007
9028
|
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 };
|
|
9008
|
-
// version: 1.
|
|
9029
|
+
// version: 1.389.0-375f8790ac
|
package/src/raml/api.raml
CHANGED
|
@@ -498,6 +498,10 @@ types:
|
|
|
498
498
|
description: The failed explainability message template name
|
|
499
499
|
type: string
|
|
500
500
|
required: false
|
|
501
|
+
hasNestedExplainability:
|
|
502
|
+
description: Explainability flag for the sub-expression step
|
|
503
|
+
type: boolean
|
|
504
|
+
required: false
|
|
501
505
|
lookupTable:
|
|
502
506
|
description: This field has information if it is a decision matrix or decision
|
|
503
507
|
table step
|
|
@@ -1366,6 +1370,10 @@ types:
|
|
|
1366
1370
|
description: Formula Ui Formatted Text of Calcuation Procedure Version Step
|
|
1367
1371
|
type: string
|
|
1368
1372
|
required: false # TODO Hand-rolled W-9314597
|
|
1373
|
+
hasNestedExplainability:
|
|
1374
|
+
description: Explainability flag for the sub-expression step
|
|
1375
|
+
type: boolean
|
|
1376
|
+
required: false #TODO Hand-rolled W-19546985
|
|
1369
1377
|
id:
|
|
1370
1378
|
description: Id of Calcuation Procedure Version Step
|
|
1371
1379
|
type: string
|
|
@@ -1508,6 +1516,10 @@ types:
|
|
|
1508
1516
|
description: Formula Ui Formatted Text of Calcuation Procedure Version Step
|
|
1509
1517
|
type: string
|
|
1510
1518
|
required: false
|
|
1519
|
+
hasNestedExplainability:
|
|
1520
|
+
description: Explainability flag for the sub-expression step
|
|
1521
|
+
type: boolean
|
|
1522
|
+
required: false
|
|
1511
1523
|
id:
|
|
1512
1524
|
description: recordId of Calculation Procedure Step
|
|
1513
1525
|
type: string
|