@salesforce/lds-adapters-industries-rule-builder 1.266.0-dev4 → 1.266.0-dev5
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 +18 -12
- package/dist/es/es2018/types/src/generated/types/ExpressionSetConditionCriteriaOutputRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ExpressionSetConditionExpressionStepOutputRepresentation.d.ts +3 -3
- package/package.json +4 -4
- package/sfdc/index.js +19 -13
- package/src/raml/api.raml +3 -0
|
@@ -205,15 +205,19 @@ function validate$1e(obj, path = 'ExpressionSetConditionCriteriaOutputRepresenta
|
|
|
205
205
|
if (typeof obj_sourceFieldName !== 'string') {
|
|
206
206
|
return new TypeError('Expected "string" but received "' + typeof obj_sourceFieldName + '" (at "' + path_sourceFieldName + '")');
|
|
207
207
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
if (obj.value !== undefined) {
|
|
209
|
+
const obj_value = obj.value;
|
|
210
|
+
const path_value = path + '.value';
|
|
211
|
+
if (typeof obj_value !== 'string') {
|
|
212
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
213
|
+
}
|
|
212
214
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
if (obj.valueType !== undefined) {
|
|
216
|
+
const obj_valueType = obj.valueType;
|
|
217
|
+
const path_valueType = path + '.valueType';
|
|
218
|
+
if (typeof obj_valueType !== 'string') {
|
|
219
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valueType + '" (at "' + path_valueType + '")');
|
|
220
|
+
}
|
|
217
221
|
}
|
|
218
222
|
})();
|
|
219
223
|
return v_error === undefined ? null : v_error;
|
|
@@ -308,10 +312,12 @@ function validate$1a(obj, path = 'ExpressionSetConditionExpressionStepOutputRepr
|
|
|
308
312
|
if (typeof obj_expression !== 'string') {
|
|
309
313
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
310
314
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
+
if (obj.resultParameter !== undefined) {
|
|
316
|
+
const obj_resultParameter = obj.resultParameter;
|
|
317
|
+
const path_resultParameter = path + '.resultParameter';
|
|
318
|
+
if (typeof obj_resultParameter !== 'string') {
|
|
319
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resultParameter + '" (at "' + path_resultParameter + '")');
|
|
320
|
+
}
|
|
315
321
|
}
|
|
316
322
|
})();
|
|
317
323
|
return v_error === undefined ? null : v_error;
|
|
@@ -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 = "5e61be541f51b907267232c22b43ae5d";
|
|
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: ExpressionSetConditionCriteriaOutputRepresentation, existing: ExpressionSetConditionCriteriaOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetConditionCriteriaOutputRepresentationNormalized;
|
|
@@ -21,9 +21,9 @@ export interface ExpressionSetConditionCriteriaOutputRepresentationNormalized {
|
|
|
21
21
|
/** The expression set version variable associated with the condition criteria */
|
|
22
22
|
sourceFieldName: string;
|
|
23
23
|
/** The right-hand side of the condition is specified in this field */
|
|
24
|
-
value
|
|
24
|
+
value?: string;
|
|
25
25
|
/** The value type: */
|
|
26
|
-
valueType
|
|
26
|
+
valueType?: string;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Output representation of expression set condition criteria
|
|
@@ -35,6 +35,6 @@ export interface ExpressionSetConditionCriteriaOutputRepresentation {
|
|
|
35
35
|
operator: string;
|
|
36
36
|
sequenceNumber: number;
|
|
37
37
|
sourceFieldName: string;
|
|
38
|
-
value
|
|
39
|
-
valueType
|
|
38
|
+
value?: string;
|
|
39
|
+
valueType?: string;
|
|
40
40
|
}
|
|
@@ -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 = "344a19be928097b0f6006fa7f65acd1c";
|
|
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: ExpressionSetConditionExpressionStepOutputRepresentation, existing: ExpressionSetConditionExpressionStepOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetConditionExpressionStepOutputRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export interface ExpressionSetConditionExpressionStepOutputRepresentationNormali
|
|
|
17
17
|
/** The expression that’s defined for this step. */
|
|
18
18
|
expression: string;
|
|
19
19
|
/** The expression set version variable associated with the result of this step. */
|
|
20
|
-
resultParameter
|
|
20
|
+
resultParameter?: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Output representation of expression set condition step
|
|
@@ -27,5 +27,5 @@ export interface ExpressionSetConditionExpressionStepOutputRepresentationNormali
|
|
|
27
27
|
*/
|
|
28
28
|
export interface ExpressionSetConditionExpressionStepOutputRepresentation {
|
|
29
29
|
expression: string;
|
|
30
|
-
resultParameter
|
|
30
|
+
resultParameter?: 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.266.0-
|
|
3
|
+
"version": "1.266.0-dev5",
|
|
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.266.0-
|
|
48
|
+
"@salesforce/lds-bindings": "^1.266.0-dev5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@salesforce/lds-compiler-plugins": "^1.266.0-
|
|
52
|
-
"@salesforce/lds-karma": "^1.266.0-
|
|
51
|
+
"@salesforce/lds-compiler-plugins": "^1.266.0-dev5",
|
|
52
|
+
"@salesforce/lds-karma": "^1.266.0-dev5"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -390,15 +390,19 @@ function validate$1d(obj, path = 'ExpressionSetConditionCriteriaOutputRepresenta
|
|
|
390
390
|
if (typeof obj_sourceFieldName !== 'string') {
|
|
391
391
|
return new TypeError('Expected "string" but received "' + typeof obj_sourceFieldName + '" (at "' + path_sourceFieldName + '")');
|
|
392
392
|
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
393
|
+
if (obj.value !== undefined) {
|
|
394
|
+
const obj_value = obj.value;
|
|
395
|
+
const path_value = path + '.value';
|
|
396
|
+
if (typeof obj_value !== 'string') {
|
|
397
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
398
|
+
}
|
|
397
399
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
if (obj.valueType !== undefined) {
|
|
401
|
+
const obj_valueType = obj.valueType;
|
|
402
|
+
const path_valueType = path + '.valueType';
|
|
403
|
+
if (typeof obj_valueType !== 'string') {
|
|
404
|
+
return new TypeError('Expected "string" but received "' + typeof obj_valueType + '" (at "' + path_valueType + '")');
|
|
405
|
+
}
|
|
402
406
|
}
|
|
403
407
|
})();
|
|
404
408
|
return v_error === undefined ? null : v_error;
|
|
@@ -493,10 +497,12 @@ function validate$19(obj, path = 'ExpressionSetConditionExpressionStepOutputRepr
|
|
|
493
497
|
if (typeof obj_expression !== 'string') {
|
|
494
498
|
return new TypeError('Expected "string" but received "' + typeof obj_expression + '" (at "' + path_expression + '")');
|
|
495
499
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
+
if (obj.resultParameter !== undefined) {
|
|
501
|
+
const obj_resultParameter = obj.resultParameter;
|
|
502
|
+
const path_resultParameter = path + '.resultParameter';
|
|
503
|
+
if (typeof obj_resultParameter !== 'string') {
|
|
504
|
+
return new TypeError('Expected "string" but received "' + typeof obj_resultParameter + '" (at "' + path_resultParameter + '")');
|
|
505
|
+
}
|
|
500
506
|
}
|
|
501
507
|
})();
|
|
502
508
|
return v_error === undefined ? null : v_error;
|
|
@@ -8850,4 +8856,4 @@ withDefaultLuvio((luvio) => {
|
|
|
8850
8856
|
});
|
|
8851
8857
|
|
|
8852
8858
|
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 };
|
|
8853
|
-
// version: 1.266.0-
|
|
8859
|
+
// version: 1.266.0-dev5-5855d4d0a
|
package/src/raml/api.raml
CHANGED
|
@@ -334,6 +334,7 @@ types:
|
|
|
334
334
|
description: The expression set version variable associated with the result
|
|
335
335
|
of this step.
|
|
336
336
|
type: string
|
|
337
|
+
required: false
|
|
337
338
|
ExpressionSetAssignmentStepOutputRepresentation:
|
|
338
339
|
description: Output representation of expression set assignment step
|
|
339
340
|
type: object
|
|
@@ -395,9 +396,11 @@ types:
|
|
|
395
396
|
value:
|
|
396
397
|
description: The right-hand side of the condition is specified in this field
|
|
397
398
|
type: string
|
|
399
|
+
required: false
|
|
398
400
|
valueType:
|
|
399
401
|
description: 'The value type:'
|
|
400
402
|
type: string
|
|
403
|
+
required: false
|
|
401
404
|
enum:
|
|
402
405
|
- Formula
|
|
403
406
|
- Literal
|