@salesforce/lds-adapters-industries-rule-builder 1.336.0 → 1.338.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/CalculationProcedureVariableOutputRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/UsageTypeOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +22 -1
- package/src/raml/api.raml +12 -0
|
@@ -5661,6 +5661,13 @@ function validate$o(obj, path = 'CalculationProcedureVariableOutputRepresentatio
|
|
|
5661
5661
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5662
5662
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5663
5663
|
}
|
|
5664
|
+
if (obj.allowNullInputsInSimulation !== undefined) {
|
|
5665
|
+
const obj_allowNullInputsInSimulation = obj.allowNullInputsInSimulation;
|
|
5666
|
+
const path_allowNullInputsInSimulation = path + '.allowNullInputsInSimulation';
|
|
5667
|
+
if (typeof obj_allowNullInputsInSimulation !== 'boolean') {
|
|
5668
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowNullInputsInSimulation + '" (at "' + path_allowNullInputsInSimulation + '")');
|
|
5669
|
+
}
|
|
5670
|
+
}
|
|
5664
5671
|
const obj_dataType = obj.dataType;
|
|
5665
5672
|
const path_dataType = path + '.dataType';
|
|
5666
5673
|
if (typeof obj_dataType !== 'string') {
|
|
@@ -5671,6 +5678,13 @@ function validate$o(obj, path = 'CalculationProcedureVariableOutputRepresentatio
|
|
|
5671
5678
|
if (typeof obj_name !== 'string') {
|
|
5672
5679
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
5673
5680
|
}
|
|
5681
|
+
if (obj.usageType !== undefined) {
|
|
5682
|
+
const obj_usageType = obj.usageType;
|
|
5683
|
+
const path_usageType = path + '.usageType';
|
|
5684
|
+
if (typeof obj_usageType !== 'string') {
|
|
5685
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
|
|
5686
|
+
}
|
|
5687
|
+
}
|
|
5674
5688
|
})();
|
|
5675
5689
|
return v_error === undefined ? null : v_error;
|
|
5676
5690
|
}
|
|
@@ -7944,6 +7958,13 @@ function validate$4(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
7944
7958
|
if (typeof obj_label !== 'string') {
|
|
7945
7959
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
7946
7960
|
}
|
|
7961
|
+
if (obj.usageTypeDataTypeDefaulting !== undefined) {
|
|
7962
|
+
const obj_usageTypeDataTypeDefaulting = obj.usageTypeDataTypeDefaulting;
|
|
7963
|
+
const path_usageTypeDataTypeDefaulting = path + '.usageTypeDataTypeDefaulting';
|
|
7964
|
+
if (typeof obj_usageTypeDataTypeDefaulting !== 'boolean') {
|
|
7965
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_usageTypeDataTypeDefaulting + '" (at "' + path_usageTypeDataTypeDefaulting + '")');
|
|
7966
|
+
}
|
|
7967
|
+
}
|
|
7947
7968
|
if (obj.usageTypeExecutionScale !== undefined) {
|
|
7948
7969
|
const obj_usageTypeExecutionScale = obj.usageTypeExecutionScale;
|
|
7949
7970
|
const path_usageTypeExecutionScale = path + '.usageTypeExecutionScale';
|
|
@@ -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 = "f1b524f1703517749f7c401de275879e";
|
|
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: CalculationProcedureVariableOutputRepresentation, existing: CalculationProcedureVariableOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CalculationProcedureVariableOutputRepresentationNormalized;
|
|
@@ -14,10 +14,14 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface CalculationProcedureVariableOutputRepresentationNormalized {
|
|
17
|
+
/** CalculationProcedureVariable to allow null inputs */
|
|
18
|
+
allowNullInputsInSimulation?: boolean;
|
|
17
19
|
/** CalculationProcedureVariable dataType */
|
|
18
20
|
dataType: string;
|
|
19
21
|
/** CalculationProcedureVariable column Key */
|
|
20
22
|
name: string;
|
|
23
|
+
/** CalculationProcedureVariable for usage type */
|
|
24
|
+
usageType?: string;
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* represenation of CalcProcVariable
|
|
@@ -26,6 +30,8 @@ export interface CalculationProcedureVariableOutputRepresentationNormalized {
|
|
|
26
30
|
* (none)
|
|
27
31
|
*/
|
|
28
32
|
export interface CalculationProcedureVariableOutputRepresentation {
|
|
33
|
+
allowNullInputsInSimulation?: boolean;
|
|
29
34
|
dataType: string;
|
|
30
35
|
name: string;
|
|
36
|
+
usageType?: string;
|
|
31
37
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "c0721feb4c12385f996b54dcef77311c";
|
|
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: UsageTypeOutputRepresentation, existing: UsageTypeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UsageTypeOutputRepresentationNormalized;
|
|
@@ -19,6 +19,8 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
19
19
|
apiName: string;
|
|
20
20
|
/** Label for UsageType */
|
|
21
21
|
label: string;
|
|
22
|
+
/** Is Data Type Defaulting enabled for UsageType */
|
|
23
|
+
usageTypeDataTypeDefaulting?: boolean;
|
|
22
24
|
/** Execution Scale for UsageType */
|
|
23
25
|
usageTypeExecutionScale?: string;
|
|
24
26
|
}
|
|
@@ -31,5 +33,6 @@ export interface UsageTypeOutputRepresentationNormalized {
|
|
|
31
33
|
export interface UsageTypeOutputRepresentation {
|
|
32
34
|
apiName: string;
|
|
33
35
|
label: string;
|
|
36
|
+
usageTypeDataTypeDefaulting?: boolean;
|
|
34
37
|
usageTypeExecutionScale?: string;
|
|
35
38
|
}
|
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.338.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.338.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
52
|
-
"@salesforce/lds-karma": "^1.
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.338.0",
|
|
52
|
+
"@salesforce/lds-karma": "^1.338.0"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1831,6 +1831,13 @@ function validate$X(obj, path = 'CalculationProcedureVariableOutputRepresentatio
|
|
|
1831
1831
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1832
1832
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1833
1833
|
}
|
|
1834
|
+
if (obj.allowNullInputsInSimulation !== undefined) {
|
|
1835
|
+
const obj_allowNullInputsInSimulation = obj.allowNullInputsInSimulation;
|
|
1836
|
+
const path_allowNullInputsInSimulation = path + '.allowNullInputsInSimulation';
|
|
1837
|
+
if (typeof obj_allowNullInputsInSimulation !== 'boolean') {
|
|
1838
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowNullInputsInSimulation + '" (at "' + path_allowNullInputsInSimulation + '")');
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1834
1841
|
const obj_dataType = obj.dataType;
|
|
1835
1842
|
const path_dataType = path + '.dataType';
|
|
1836
1843
|
if (typeof obj_dataType !== 'string') {
|
|
@@ -1841,6 +1848,13 @@ function validate$X(obj, path = 'CalculationProcedureVariableOutputRepresentatio
|
|
|
1841
1848
|
if (typeof obj_name !== 'string') {
|
|
1842
1849
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
1843
1850
|
}
|
|
1851
|
+
if (obj.usageType !== undefined) {
|
|
1852
|
+
const obj_usageType = obj.usageType;
|
|
1853
|
+
const path_usageType = path + '.usageType';
|
|
1854
|
+
if (typeof obj_usageType !== 'string') {
|
|
1855
|
+
return new TypeError('Expected "string" but received "' + typeof obj_usageType + '" (at "' + path_usageType + '")');
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1844
1858
|
})();
|
|
1845
1859
|
return v_error === undefined ? null : v_error;
|
|
1846
1860
|
}
|
|
@@ -5758,6 +5772,13 @@ function validate$w(obj, path = 'UsageTypeOutputRepresentation') {
|
|
|
5758
5772
|
if (typeof obj_label !== 'string') {
|
|
5759
5773
|
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
5760
5774
|
}
|
|
5775
|
+
if (obj.usageTypeDataTypeDefaulting !== undefined) {
|
|
5776
|
+
const obj_usageTypeDataTypeDefaulting = obj.usageTypeDataTypeDefaulting;
|
|
5777
|
+
const path_usageTypeDataTypeDefaulting = path + '.usageTypeDataTypeDefaulting';
|
|
5778
|
+
if (typeof obj_usageTypeDataTypeDefaulting !== 'boolean') {
|
|
5779
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_usageTypeDataTypeDefaulting + '" (at "' + path_usageTypeDataTypeDefaulting + '")');
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5761
5782
|
if (obj.usageTypeExecutionScale !== undefined) {
|
|
5762
5783
|
const obj_usageTypeExecutionScale = obj.usageTypeExecutionScale;
|
|
5763
5784
|
const path_usageTypeExecutionScale = path + '.usageTypeExecutionScale';
|
|
@@ -8922,4 +8943,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8922
8943
|
});
|
|
8923
8944
|
|
|
8924
8945
|
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 };
|
|
8925
|
-
// version: 1.
|
|
8946
|
+
// version: 1.338.0-08547ecb90
|
package/src/raml/api.raml
CHANGED
|
@@ -791,6 +791,10 @@ types:
|
|
|
791
791
|
description: Execution Scale for UsageType
|
|
792
792
|
type: string
|
|
793
793
|
required: false
|
|
794
|
+
usageTypeDataTypeDefaulting:
|
|
795
|
+
description: Is Data Type Defaulting enabled for UsageType
|
|
796
|
+
type: boolean
|
|
797
|
+
required: false
|
|
794
798
|
MessageTemplateDetailOutputRepresentation:
|
|
795
799
|
description: Output representation of ExplMessageTemplateDetails
|
|
796
800
|
type: object
|
|
@@ -1543,6 +1547,14 @@ types:
|
|
|
1543
1547
|
description: CalculationProcedureVariable column
|
|
1544
1548
|
Key
|
|
1545
1549
|
type: string
|
|
1550
|
+
allowNullInputsInSimulation:
|
|
1551
|
+
description: CalculationProcedureVariable to allow null inputs
|
|
1552
|
+
type: boolean
|
|
1553
|
+
required: false
|
|
1554
|
+
usageType:
|
|
1555
|
+
description: CalculationProcedureVariable for usage type
|
|
1556
|
+
type: string
|
|
1557
|
+
required: false
|
|
1546
1558
|
# TODO Hand-rolled W-8334626
|
|
1547
1559
|
CalculationProcedureVersionDefinitionInputWrapperRepresentation:
|
|
1548
1560
|
description: Wrapper Input Representation for CalculationProcedureVersionDefinitionInputRepresentation
|