@salesforce/lds-adapters-industries-rule-builder 1.303.0 → 1.305.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.
@@ -2290,20 +2290,26 @@ function validate$R(obj, path = 'SimulationStepAdditionalInfoOutputRepresentatio
2290
2290
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2291
2291
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2292
2292
  }
2293
- const obj_stepType = obj.stepType;
2294
- const path_stepType = path + '.stepType';
2295
- if (typeof obj_stepType !== 'string') {
2296
- return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
2293
+ if (obj.stepType !== undefined) {
2294
+ const obj_stepType = obj.stepType;
2295
+ const path_stepType = path + '.stepType';
2296
+ if (typeof obj_stepType !== 'string') {
2297
+ return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
2298
+ }
2297
2299
  }
2298
- const obj_versionName = obj.versionName;
2299
- const path_versionName = path + '.versionName';
2300
- if (typeof obj_versionName !== 'string') {
2301
- return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
2300
+ if (obj.versionName !== undefined) {
2301
+ const obj_versionName = obj.versionName;
2302
+ const path_versionName = path + '.versionName';
2303
+ if (typeof obj_versionName !== 'string') {
2304
+ return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
2305
+ }
2302
2306
  }
2303
- const obj_versionNumber = obj.versionNumber;
2304
- const path_versionNumber = path + '.versionNumber';
2305
- if (typeof obj_versionNumber !== 'string') {
2306
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2307
+ if (obj.versionNumber !== undefined) {
2308
+ const obj_versionNumber = obj.versionNumber;
2309
+ const path_versionNumber = path + '.versionNumber';
2310
+ if (typeof obj_versionNumber !== 'string') {
2311
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
2312
+ }
2307
2313
  }
2308
2314
  })();
2309
2315
  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 = "3d141c4df15068a708dec8f104473333";
2
+ export declare const VERSION = "3d44488357f7af35de89a68afd5ef525";
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: SimulationStepAdditionalInfoOutputRepresentation, existing: SimulationStepAdditionalInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SimulationStepAdditionalInfoOutputRepresentationNormalized;
@@ -15,11 +15,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface SimulationStepAdditionalInfoOutputRepresentationNormalized {
17
17
  /** stores stype of step (CalculationProcedure or DecisionMatrix) */
18
- stepType: string;
18
+ stepType?: string;
19
19
  /** store name of the step */
20
- versionName: string;
20
+ versionName?: string;
21
21
  /** stores version number of the step */
22
- versionNumber: string;
22
+ versionNumber?: string;
23
23
  }
24
24
  /**
25
25
  * Output Representation of step additional info
@@ -28,7 +28,7 @@ export interface SimulationStepAdditionalInfoOutputRepresentationNormalized {
28
28
  * (none)
29
29
  */
30
30
  export interface SimulationStepAdditionalInfoOutputRepresentation {
31
- stepType: string;
32
- versionName: string;
33
- versionNumber: string;
31
+ stepType?: string;
32
+ versionName?: string;
33
+ versionNumber?: string;
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.303.0",
3
+ "version": "1.305.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.303.0"
48
+ "@salesforce/lds-bindings": "^1.305.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@salesforce/lds-compiler-plugins": "^1.303.0",
52
- "@salesforce/lds-karma": "^1.303.0"
51
+ "@salesforce/lds-compiler-plugins": "^1.305.0",
52
+ "@salesforce/lds-karma": "^1.305.0"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -6810,20 +6810,26 @@ function validate$g(obj, path = 'SimulationStepAdditionalInfoOutputRepresentatio
6810
6810
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6811
6811
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6812
6812
  }
6813
- const obj_stepType = obj.stepType;
6814
- const path_stepType = path + '.stepType';
6815
- if (typeof obj_stepType !== 'string') {
6816
- return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
6813
+ if (obj.stepType !== undefined) {
6814
+ const obj_stepType = obj.stepType;
6815
+ const path_stepType = path + '.stepType';
6816
+ if (typeof obj_stepType !== 'string') {
6817
+ return new TypeError('Expected "string" but received "' + typeof obj_stepType + '" (at "' + path_stepType + '")');
6818
+ }
6817
6819
  }
6818
- const obj_versionName = obj.versionName;
6819
- const path_versionName = path + '.versionName';
6820
- if (typeof obj_versionName !== 'string') {
6821
- return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
6820
+ if (obj.versionName !== undefined) {
6821
+ const obj_versionName = obj.versionName;
6822
+ const path_versionName = path + '.versionName';
6823
+ if (typeof obj_versionName !== 'string') {
6824
+ return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
6825
+ }
6822
6826
  }
6823
- const obj_versionNumber = obj.versionNumber;
6824
- const path_versionNumber = path + '.versionNumber';
6825
- if (typeof obj_versionNumber !== 'string') {
6826
- return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
6827
+ if (obj.versionNumber !== undefined) {
6828
+ const obj_versionNumber = obj.versionNumber;
6829
+ const path_versionNumber = path + '.versionNumber';
6830
+ if (typeof obj_versionNumber !== 'string') {
6831
+ return new TypeError('Expected "string" but received "' + typeof obj_versionNumber + '" (at "' + path_versionNumber + '")');
6832
+ }
6827
6833
  }
6828
6834
  })();
6829
6835
  return v_error === undefined ? null : v_error;
@@ -8916,4 +8922,4 @@ withDefaultLuvio((luvio) => {
8916
8922
  });
8917
8923
 
8918
8924
  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 };
8919
- // version: 1.303.0-b6ed223d95
8925
+ // version: 1.305.0-ec92f7304c
package/src/raml/api.raml CHANGED
@@ -2093,12 +2093,15 @@ types:
2093
2093
  stepType:
2094
2094
  description: stores stype of step (CalculationProcedure or DecisionMatrix)
2095
2095
  type: string
2096
+ required: false
2096
2097
  versionName:
2097
2098
  description: store name of the step
2098
2099
  type: string
2100
+ required: false
2099
2101
  versionNumber:
2100
2102
  description: stores version number of the step
2101
2103
  type: string
2104
+ required: false
2102
2105
  SimulationStepExplainabilityMessageOutputRepresentation:
2103
2106
  description: Output representation of explainability message for simulation
2104
2107
  type: object