@salesforce/lds-adapters-industries-rule-builder 1.163.2 → 1.164.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.
@@ -6754,7 +6754,7 @@ const simulateEvaluationService_ConfigPropertyNames = {
6754
6754
  displayName: 'simulateEvaluationService',
6755
6755
  parameters: {
6756
6756
  required: ['id', 'simulationInput'],
6757
- optional: []
6757
+ optional: ['shouldSaveSimulationInput']
6758
6758
  }
6759
6759
  };
6760
6760
  function createResourceParams$8(config) {
@@ -6766,6 +6766,9 @@ function createResourceParams$8(config) {
6766
6766
  simulationInput: config.simulationInput
6767
6767
  }
6768
6768
  };
6769
+ if (config['shouldSaveSimulationInput'] !== undefined) {
6770
+ resourceParams.body['shouldSaveSimulationInput'] = config['shouldSaveSimulationInput'];
6771
+ }
6769
6772
  return resourceParams;
6770
6773
  }
6771
6774
  function typeCheckConfig$8(untrustedConfig) {
@@ -6779,6 +6782,10 @@ function typeCheckConfig$8(untrustedConfig) {
6779
6782
  if (referenceSimulationEvalServiceInputRepresentationValidationError === null) {
6780
6783
  config.simulationInput = untrustedConfig_simulationInput;
6781
6784
  }
6785
+ const untrustedConfig_shouldSaveSimulationInput = untrustedConfig.shouldSaveSimulationInput;
6786
+ if (typeof untrustedConfig_shouldSaveSimulationInput === 'boolean') {
6787
+ config.shouldSaveSimulationInput = untrustedConfig_shouldSaveSimulationInput;
6788
+ }
6782
6789
  return config;
6783
6790
  }
6784
6791
  function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
@@ -8,6 +8,7 @@ export declare const simulateEvaluationService_ConfigPropertyNames: adapter$45$u
8
8
  export interface SimulateEvaluationServiceConfig {
9
9
  id: string;
10
10
  simulationInput: types_SimulationEvalServiceInputRepresentation_SimulationEvalServiceInputRepresentation;
11
+ shouldSaveSimulationInput?: boolean;
11
12
  }
12
13
  export declare function createResourceParams(config: SimulateEvaluationServiceConfig): resources_patchConnectOmnistudioEvaluationServicesVersionDefinitionsSimulationById_ResourceRequestConfig;
13
14
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SimulateEvaluationServiceConfig>): adapter$45$utils_Untrusted<SimulateEvaluationServiceConfig>;
@@ -7,6 +7,7 @@ export interface ResourceRequestConfig {
7
7
  };
8
8
  body: {
9
9
  simulationInput: types_SimulationEvalServiceInputRepresentation_SimulationEvalServiceInputRepresentation;
10
+ shouldSaveSimulationInput?: boolean;
10
11
  };
11
12
  }
12
13
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,6 @@
1
1
  import { SimulationEvalServiceInputRepresentation as SimulationEvalServiceInputRepresentation_SimulationEvalServiceInputRepresentation } from './SimulationEvalServiceInputRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "00fa8e3bcd590900d6383f97cf881ff5";
3
+ export declare const VERSION = "4d29602414e590f32c662cd1924d32be";
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: SimulationEvalServiceWrapperInputRepresentation, existing: SimulationEvalServiceWrapperInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SimulationEvalServiceWrapperInputRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: S
15
15
  * (none)
16
16
  */
17
17
  export interface SimulationEvalServiceWrapperInputRepresentationNormalized {
18
+ /** Flag to tell the service whether to save the simulation input or not in db */
19
+ shouldSaveSimulationInput?: boolean;
18
20
  simulationInput: SimulationEvalServiceInputRepresentation_SimulationEvalServiceInputRepresentation;
19
21
  }
20
22
  /**
@@ -24,5 +26,6 @@ export interface SimulationEvalServiceWrapperInputRepresentationNormalized {
24
26
  * (none)
25
27
  */
26
28
  export interface SimulationEvalServiceWrapperInputRepresentation {
29
+ shouldSaveSimulationInput?: boolean;
27
30
  simulationInput: SimulationEvalServiceInputRepresentation_SimulationEvalServiceInputRepresentation;
28
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.163.2",
3
+ "version": "1.164.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
@@ -9043,7 +9043,7 @@ const simulateEvaluationService_ConfigPropertyNames = {
9043
9043
  displayName: 'simulateEvaluationService',
9044
9044
  parameters: {
9045
9045
  required: ['id', 'simulationInput'],
9046
- optional: []
9046
+ optional: ['shouldSaveSimulationInput']
9047
9047
  }
9048
9048
  };
9049
9049
  function createResourceParams$2(config) {
@@ -9055,6 +9055,9 @@ function createResourceParams$2(config) {
9055
9055
  simulationInput: config.simulationInput
9056
9056
  }
9057
9057
  };
9058
+ if (config['shouldSaveSimulationInput'] !== undefined) {
9059
+ resourceParams.body['shouldSaveSimulationInput'] = config['shouldSaveSimulationInput'];
9060
+ }
9058
9061
  return resourceParams;
9059
9062
  }
9060
9063
  function typeCheckConfig$2(untrustedConfig) {
@@ -9068,6 +9071,10 @@ function typeCheckConfig$2(untrustedConfig) {
9068
9071
  if (referenceSimulationEvalServiceInputRepresentationValidationError === null) {
9069
9072
  config.simulationInput = untrustedConfig_simulationInput;
9070
9073
  }
9074
+ const untrustedConfig_shouldSaveSimulationInput = untrustedConfig.shouldSaveSimulationInput;
9075
+ if (typeof untrustedConfig_shouldSaveSimulationInput === 'boolean') {
9076
+ config.shouldSaveSimulationInput = untrustedConfig_shouldSaveSimulationInput;
9077
+ }
9071
9078
  return config;
9072
9079
  }
9073
9080
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -9509,4 +9516,4 @@ withDefaultLuvio((luvio) => {
9509
9516
  });
9510
9517
 
9511
9518
  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 };
9512
- // version: 1.163.2-2fcc92bea
9519
+ // version: 1.164.1-7438f5be5
package/src/raml/api.raml CHANGED
@@ -523,10 +523,13 @@ types:
523
523
  type: string
524
524
  enum:
525
525
  - AdvancedCondition
526
+ - AdvancedListFilter
526
527
  - Branch
527
528
  - BusinessKnowledgeModel
528
529
  - Condition
529
530
  - DefaultPath
531
+ - ListFilter
532
+ - ListGroup
530
533
  - SubExpression
531
534
  subExpression:
532
535
  description: This field has information if it is a sub expression step
@@ -1957,6 +1960,10 @@ types:
1957
1960
  simulationInput:
1958
1961
  description: Input representation for Rule Simulation
1959
1962
  type: SimulationEvalServiceInputRepresentation
1963
+ shouldSaveSimulationInput:
1964
+ description: Flag to tell the service whether to save the simulation input or not in db
1965
+ type: boolean
1966
+ required: false
1960
1967
  SimulationEvalServiceInputRepresentation:
1961
1968
  description: Input representation for Rule Simulation
1962
1969
  type: object