@salesforce/lds-adapters-industries-rule-builder 1.229.0 → 1.231.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 +7 -30
- package/dist/es/es2018/types/src/generated/types/ExpressionSetAdvancedConditionStepOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/LookupTableDetailsRepresentation.d.ts +1 -4
- package/package.json +1 -1
- package/sfdc/index.js +8 -31
- package/src/raml/api.raml +1 -4
|
@@ -244,10 +244,12 @@ function validate$1d(obj, path = 'ExpressionSetAdvancedConditionStepOutputRepres
|
|
|
244
244
|
return new TypeError(message);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
if (obj.resultParameter !== undefined) {
|
|
248
|
+
const obj_resultParameter = obj.resultParameter;
|
|
249
|
+
const path_resultParameter = path + '.resultParameter';
|
|
250
|
+
if (typeof obj_resultParameter !== 'string') {
|
|
251
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resultParameter + '" (at "' + path_resultParameter + '")');
|
|
252
|
+
}
|
|
251
253
|
}
|
|
252
254
|
})();
|
|
253
255
|
return v_error === undefined ? null : v_error;
|
|
@@ -2706,7 +2708,7 @@ const postInvokeExpressionSetAdapterFactory = (luvio) => {
|
|
|
2706
2708
|
};
|
|
2707
2709
|
};
|
|
2708
2710
|
|
|
2709
|
-
const VERSION$f = "
|
|
2711
|
+
const VERSION$f = "4a9a49294d8382d87bce948e659b67eb";
|
|
2710
2712
|
function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
|
|
2711
2713
|
const v_error = (() => {
|
|
2712
2714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -2726,13 +2728,6 @@ function validate$M(obj, path = 'LookupTableDetailsRepresentation') {
|
|
|
2726
2728
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2727
2729
|
}
|
|
2728
2730
|
}
|
|
2729
|
-
if (obj.hasMultiHitPolicy !== undefined) {
|
|
2730
|
-
const obj_hasMultiHitPolicy = obj.hasMultiHitPolicy;
|
|
2731
|
-
const path_hasMultiHitPolicy = path + '.hasMultiHitPolicy';
|
|
2732
|
-
if (typeof obj_hasMultiHitPolicy !== 'boolean') {
|
|
2733
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_hasMultiHitPolicy + '" (at "' + path_hasMultiHitPolicy + '")');
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
2731
|
if (obj.id !== undefined) {
|
|
2737
2732
|
const obj_id = obj.id;
|
|
2738
2733
|
const path_id = path + '.id';
|
|
@@ -2780,11 +2775,6 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
|
|
|
2780
2775
|
kind: 'Scalar',
|
|
2781
2776
|
required: false
|
|
2782
2777
|
},
|
|
2783
|
-
{
|
|
2784
|
-
name: 'hasMultiHitPolicy',
|
|
2785
|
-
kind: 'Scalar',
|
|
2786
|
-
required: false
|
|
2787
|
-
},
|
|
2788
2778
|
{
|
|
2789
2779
|
name: 'id',
|
|
2790
2780
|
kind: 'Scalar',
|
|
@@ -2809,19 +2799,6 @@ const select$x = function LookupTableDetailsRepresentationSelect() {
|
|
|
2809
2799
|
};
|
|
2810
2800
|
};
|
|
2811
2801
|
function equals$f(existing, incoming) {
|
|
2812
|
-
const existing_hasMultiHitPolicy = existing.hasMultiHitPolicy;
|
|
2813
|
-
const incoming_hasMultiHitPolicy = incoming.hasMultiHitPolicy;
|
|
2814
|
-
// if at least one of these optionals is defined
|
|
2815
|
-
if (existing_hasMultiHitPolicy !== undefined || incoming_hasMultiHitPolicy !== undefined) {
|
|
2816
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
2817
|
-
// not equal
|
|
2818
|
-
if (existing_hasMultiHitPolicy === undefined || incoming_hasMultiHitPolicy === undefined) {
|
|
2819
|
-
return false;
|
|
2820
|
-
}
|
|
2821
|
-
if (!(existing_hasMultiHitPolicy === incoming_hasMultiHitPolicy)) {
|
|
2822
|
-
return false;
|
|
2823
|
-
}
|
|
2824
|
-
}
|
|
2825
2802
|
const existing_apiName = existing.apiName;
|
|
2826
2803
|
const incoming_apiName = incoming.apiName;
|
|
2827
2804
|
// if at least one of these optionals is defined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExpressionSetConditionCriteriaOutputRepresentation as ExpressionSetConditionCriteriaOutputRepresentation_ExpressionSetConditionCriteriaOutputRepresentation } from './ExpressionSetConditionCriteriaOutputRepresentation';
|
|
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 = "e30a4aa909ca84365b0f707317b76917";
|
|
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: ExpressionSetAdvancedConditionStepOutputRepresentation, existing: ExpressionSetAdvancedConditionStepOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetAdvancedConditionStepOutputRepresentationNormalized;
|
|
@@ -20,7 +20,7 @@ export interface ExpressionSetAdvancedConditionStepOutputRepresentationNormalize
|
|
|
20
20
|
/** Criteria of Expression Set Conditions */
|
|
21
21
|
criteria: Array<ExpressionSetConditionCriteriaOutputRepresentation_ExpressionSetConditionCriteriaOutputRepresentation>;
|
|
22
22
|
/** The expression set definition version variable associated with the result of this step . */
|
|
23
|
-
resultParameter
|
|
23
|
+
resultParameter?: string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Output representation of expression set advanced condition step
|
|
@@ -31,5 +31,5 @@ export interface ExpressionSetAdvancedConditionStepOutputRepresentationNormalize
|
|
|
31
31
|
export interface ExpressionSetAdvancedConditionStepOutputRepresentation {
|
|
32
32
|
conditionLogic: string;
|
|
33
33
|
criteria: Array<ExpressionSetConditionCriteriaOutputRepresentation_ExpressionSetConditionCriteriaOutputRepresentation>;
|
|
34
|
-
resultParameter
|
|
34
|
+
resultParameter?: string;
|
|
35
35
|
}
|
|
@@ -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 = "4a9a49294d8382d87bce948e659b67eb";
|
|
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: LookupTableDetailsRepresentation, existing: LookupTableDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LookupTableDetailsRepresentationNormalized;
|
|
@@ -18,8 +18,6 @@ export interface LookupTableDetailsRepresentationNormalized {
|
|
|
18
18
|
apiName?: string;
|
|
19
19
|
/** LookupTableDetails api Lookup Table description */
|
|
20
20
|
description?: string;
|
|
21
|
-
/** LookupTableDetails api Multi Hit Policy */
|
|
22
|
-
hasMultiHitPolicy?: boolean;
|
|
23
21
|
/** LookupTableDetails api Lookup Table id */
|
|
24
22
|
id?: string;
|
|
25
23
|
/** LookupTableDetails api Lookup Table Definition Id */
|
|
@@ -38,7 +36,6 @@ export interface LookupTableDetailsRepresentationNormalized {
|
|
|
38
36
|
export interface LookupTableDetailsRepresentation {
|
|
39
37
|
apiName?: string;
|
|
40
38
|
description?: string;
|
|
41
|
-
hasMultiHitPolicy?: boolean;
|
|
42
39
|
id?: string;
|
|
43
40
|
lookupTableDefinitionId?: string;
|
|
44
41
|
lookupTableType?: 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.231.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",
|
package/sfdc/index.js
CHANGED
|
@@ -429,10 +429,12 @@ function validate$1c(obj, path = 'ExpressionSetAdvancedConditionStepOutputRepres
|
|
|
429
429
|
return new TypeError(message);
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
432
|
+
if (obj.resultParameter !== undefined) {
|
|
433
|
+
const obj_resultParameter = obj.resultParameter;
|
|
434
|
+
const path_resultParameter = path + '.resultParameter';
|
|
435
|
+
if (typeof obj_resultParameter !== 'string') {
|
|
436
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resultParameter + '" (at "' + path_resultParameter + '")');
|
|
437
|
+
}
|
|
436
438
|
}
|
|
437
439
|
})();
|
|
438
440
|
return v_error === undefined ? null : v_error;
|
|
@@ -4346,7 +4348,7 @@ const getExpressionSetAliasMetaInfoAdapterFactory = (luvio) => function interact
|
|
|
4346
4348
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
4347
4349
|
};
|
|
4348
4350
|
|
|
4349
|
-
const VERSION$b = "
|
|
4351
|
+
const VERSION$b = "4a9a49294d8382d87bce948e659b67eb";
|
|
4350
4352
|
function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
|
|
4351
4353
|
const v_error = (() => {
|
|
4352
4354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4366,13 +4368,6 @@ function validate$D(obj, path = 'LookupTableDetailsRepresentation') {
|
|
|
4366
4368
|
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
4367
4369
|
}
|
|
4368
4370
|
}
|
|
4369
|
-
if (obj.hasMultiHitPolicy !== undefined) {
|
|
4370
|
-
const obj_hasMultiHitPolicy = obj.hasMultiHitPolicy;
|
|
4371
|
-
const path_hasMultiHitPolicy = path + '.hasMultiHitPolicy';
|
|
4372
|
-
if (typeof obj_hasMultiHitPolicy !== 'boolean') {
|
|
4373
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_hasMultiHitPolicy + '" (at "' + path_hasMultiHitPolicy + '")');
|
|
4374
|
-
}
|
|
4375
|
-
}
|
|
4376
4371
|
if (obj.id !== undefined) {
|
|
4377
4372
|
const obj_id = obj.id;
|
|
4378
4373
|
const path_id = path + '.id';
|
|
@@ -4420,11 +4415,6 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
|
|
|
4420
4415
|
kind: 'Scalar',
|
|
4421
4416
|
required: false
|
|
4422
4417
|
},
|
|
4423
|
-
{
|
|
4424
|
-
name: 'hasMultiHitPolicy',
|
|
4425
|
-
kind: 'Scalar',
|
|
4426
|
-
required: false
|
|
4427
|
-
},
|
|
4428
4418
|
{
|
|
4429
4419
|
name: 'id',
|
|
4430
4420
|
kind: 'Scalar',
|
|
@@ -4449,19 +4439,6 @@ const select$p = function LookupTableDetailsRepresentationSelect() {
|
|
|
4449
4439
|
};
|
|
4450
4440
|
};
|
|
4451
4441
|
function equals$b(existing, incoming) {
|
|
4452
|
-
const existing_hasMultiHitPolicy = existing.hasMultiHitPolicy;
|
|
4453
|
-
const incoming_hasMultiHitPolicy = incoming.hasMultiHitPolicy;
|
|
4454
|
-
// if at least one of these optionals is defined
|
|
4455
|
-
if (existing_hasMultiHitPolicy !== undefined || incoming_hasMultiHitPolicy !== undefined) {
|
|
4456
|
-
// if one of these is not defined we know the other is defined and therefore
|
|
4457
|
-
// not equal
|
|
4458
|
-
if (existing_hasMultiHitPolicy === undefined || incoming_hasMultiHitPolicy === undefined) {
|
|
4459
|
-
return false;
|
|
4460
|
-
}
|
|
4461
|
-
if (!(existing_hasMultiHitPolicy === incoming_hasMultiHitPolicy)) {
|
|
4462
|
-
return false;
|
|
4463
|
-
}
|
|
4464
|
-
}
|
|
4465
4442
|
const existing_apiName = existing.apiName;
|
|
4466
4443
|
const incoming_apiName = incoming.apiName;
|
|
4467
4444
|
// if at least one of these optionals is defined
|
|
@@ -8783,4 +8760,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8783
8760
|
});
|
|
8784
8761
|
|
|
8785
8762
|
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.
|
|
8763
|
+
// version: 1.231.0-2b4244fb5
|
package/src/raml/api.raml
CHANGED
|
@@ -250,10 +250,6 @@ types:
|
|
|
250
250
|
description: LookupTableDetails api Lookup Table name
|
|
251
251
|
type: string
|
|
252
252
|
required: false
|
|
253
|
-
hasMultiHitPolicy:
|
|
254
|
-
description: LookupTableDetails api Multi Hit Policy
|
|
255
|
-
type: boolean
|
|
256
|
-
required: false
|
|
257
253
|
apiName:
|
|
258
254
|
description: LookupTableDetails api API Name
|
|
259
255
|
type: string
|
|
@@ -423,6 +419,7 @@ types:
|
|
|
423
419
|
description: The expression set definition version variable associated with
|
|
424
420
|
the result of this step .
|
|
425
421
|
type: string
|
|
422
|
+
required: false
|
|
426
423
|
ExpressionSetVersionStepOutputRepresentation:
|
|
427
424
|
description: Output representation of step in expression set version
|
|
428
425
|
type: object
|