@salesforce/lds-adapters-industries-rule-builder 1.347.1 → 1.348.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.
@@ -2249,20 +2249,26 @@ function validate$T(obj, path = 'SimulationErrorOutputRepresentation') {
2249
2249
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2250
2250
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2251
2251
  }
2252
- const obj_errorCode = obj.errorCode;
2253
- const path_errorCode = path + '.errorCode';
2254
- if (typeof obj_errorCode !== 'string') {
2255
- return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
2256
- }
2257
- const obj_errorDetails = obj.errorDetails;
2258
- const path_errorDetails = path + '.errorDetails';
2259
- if (typeof obj_errorDetails !== 'string') {
2260
- return new TypeError('Expected "string" but received "' + typeof obj_errorDetails + '" (at "' + path_errorDetails + '")');
2261
- }
2262
- const obj_errorMsg = obj.errorMsg;
2263
- const path_errorMsg = path + '.errorMsg';
2264
- if (typeof obj_errorMsg !== 'string') {
2265
- return new TypeError('Expected "string" but received "' + typeof obj_errorMsg + '" (at "' + path_errorMsg + '")');
2252
+ if (obj.errorCode !== undefined) {
2253
+ const obj_errorCode = obj.errorCode;
2254
+ const path_errorCode = path + '.errorCode';
2255
+ if (typeof obj_errorCode !== 'string') {
2256
+ return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
2257
+ }
2258
+ }
2259
+ if (obj.errorDetails !== undefined) {
2260
+ const obj_errorDetails = obj.errorDetails;
2261
+ const path_errorDetails = path + '.errorDetails';
2262
+ if (typeof obj_errorDetails !== 'string') {
2263
+ return new TypeError('Expected "string" but received "' + typeof obj_errorDetails + '" (at "' + path_errorDetails + '")');
2264
+ }
2265
+ }
2266
+ if (obj.errorMsg !== undefined) {
2267
+ const obj_errorMsg = obj.errorMsg;
2268
+ const path_errorMsg = path + '.errorMsg';
2269
+ if (typeof obj_errorMsg !== 'string') {
2270
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMsg + '" (at "' + path_errorMsg + '")');
2271
+ }
2266
2272
  }
2267
2273
  })();
2268
2274
  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 = "0d9f776430ff9f88886bca838ad6d29b";
2
+ export declare const VERSION = "b3fba19a5a05a53bb98102282f1cb062";
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: SimulationErrorOutputRepresentation, existing: SimulationErrorOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SimulationErrorOutputRepresentationNormalized;
@@ -15,11 +15,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface SimulationErrorOutputRepresentationNormalized {
17
17
  /** store the error code */
18
- errorCode: string;
18
+ errorCode?: string;
19
19
  /** stores error msg in detail */
20
- errorDetails: string;
20
+ errorDetails?: string;
21
21
  /** stores error msg */
22
- errorMsg: string;
22
+ errorMsg?: string;
23
23
  }
24
24
  /**
25
25
  * Output Representation of Calculation Procedure Execution
@@ -28,7 +28,7 @@ export interface SimulationErrorOutputRepresentationNormalized {
28
28
  * (none)
29
29
  */
30
30
  export interface SimulationErrorOutputRepresentation {
31
- errorCode: string;
32
- errorDetails: string;
33
- errorMsg: string;
31
+ errorCode?: string;
32
+ errorDetails?: string;
33
+ errorMsg?: 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.347.1",
3
+ "version": "1.348.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.347.1"
48
+ "@salesforce/lds-bindings": "^1.348.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@salesforce/lds-compiler-plugins": "^1.347.1",
52
- "@salesforce/lds-karma": "^1.347.1"
51
+ "@salesforce/lds-compiler-plugins": "^1.348.0",
52
+ "@salesforce/lds-karma": "^1.348.0"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -6801,20 +6801,26 @@ function validate$i(obj, path = 'SimulationErrorOutputRepresentation') {
6801
6801
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
6802
6802
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
6803
6803
  }
6804
- const obj_errorCode = obj.errorCode;
6805
- const path_errorCode = path + '.errorCode';
6806
- if (typeof obj_errorCode !== 'string') {
6807
- return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
6804
+ if (obj.errorCode !== undefined) {
6805
+ const obj_errorCode = obj.errorCode;
6806
+ const path_errorCode = path + '.errorCode';
6807
+ if (typeof obj_errorCode !== 'string') {
6808
+ return new TypeError('Expected "string" but received "' + typeof obj_errorCode + '" (at "' + path_errorCode + '")');
6809
+ }
6808
6810
  }
6809
- const obj_errorDetails = obj.errorDetails;
6810
- const path_errorDetails = path + '.errorDetails';
6811
- if (typeof obj_errorDetails !== 'string') {
6812
- return new TypeError('Expected "string" but received "' + typeof obj_errorDetails + '" (at "' + path_errorDetails + '")');
6811
+ if (obj.errorDetails !== undefined) {
6812
+ const obj_errorDetails = obj.errorDetails;
6813
+ const path_errorDetails = path + '.errorDetails';
6814
+ if (typeof obj_errorDetails !== 'string') {
6815
+ return new TypeError('Expected "string" but received "' + typeof obj_errorDetails + '" (at "' + path_errorDetails + '")');
6816
+ }
6813
6817
  }
6814
- const obj_errorMsg = obj.errorMsg;
6815
- const path_errorMsg = path + '.errorMsg';
6816
- if (typeof obj_errorMsg !== 'string') {
6817
- return new TypeError('Expected "string" but received "' + typeof obj_errorMsg + '" (at "' + path_errorMsg + '")');
6818
+ if (obj.errorMsg !== undefined) {
6819
+ const obj_errorMsg = obj.errorMsg;
6820
+ const path_errorMsg = path + '.errorMsg';
6821
+ if (typeof obj_errorMsg !== 'string') {
6822
+ return new TypeError('Expected "string" but received "' + typeof obj_errorMsg + '" (at "' + path_errorMsg + '")');
6823
+ }
6818
6824
  }
6819
6825
  })();
6820
6826
  return v_error === undefined ? null : v_error;
@@ -8961,4 +8967,4 @@ withDefaultLuvio((luvio) => {
8961
8967
  });
8962
8968
 
8963
8969
  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 };
8964
- // version: 1.347.1-60ff64f212
8970
+ // version: 1.348.0-4aa8c0c0cb
package/src/raml/api.raml CHANGED
@@ -2053,12 +2053,15 @@ types:
2053
2053
  errorCode:
2054
2054
  description: store the error code
2055
2055
  type: string
2056
+ required: false
2056
2057
  errorDetails:
2057
2058
  description: stores error msg in detail
2058
2059
  type: string
2060
+ required: false
2059
2061
  errorMsg:
2060
2062
  description: stores error msg
2061
2063
  type: string
2064
+ required: false
2062
2065
  SimulationEvalServiceWrapperInputRepresentation:
2063
2066
  description: wrapper of SimulationEvalServiceInputRepresentation
2064
2067
  type: object