@salesforce/lds-adapters-industries-rule-builder 1.340.0 → 1.342.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.
@@ -670,6 +670,13 @@ function validate$13(obj, path = 'ExpressionSetVersionOutputRepresentation') {
670
670
  if (typeof obj_apiName !== 'string') {
671
671
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
672
672
  }
673
+ if (obj.decimalScale !== undefined) {
674
+ const obj_decimalScale = obj.decimalScale;
675
+ const path_decimalScale = path + '.decimalScale';
676
+ if (typeof obj_decimalScale !== 'number' || (typeof obj_decimalScale === 'number' && Math.floor(obj_decimalScale) !== obj_decimalScale)) {
677
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalScale + '" (at "' + path_decimalScale + '")');
678
+ }
679
+ }
673
680
  if (obj.description !== undefined) {
674
681
  const obj_description = obj.description;
675
682
  const path_description = path + '.description';
@@ -4495,6 +4502,13 @@ function validate$y(obj, path = 'CalculationProcedureVersionDefinitionInputRepre
4495
4502
  return new TypeError(message);
4496
4503
  }
4497
4504
  }
4505
+ if (obj.decimalScale !== undefined) {
4506
+ const obj_decimalScale = obj.decimalScale;
4507
+ const path_decimalScale = path + '.decimalScale';
4508
+ if (typeof obj_decimalScale !== 'number' || (typeof obj_decimalScale === 'number' && Math.floor(obj_decimalScale) !== obj_decimalScale)) {
4509
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalScale + '" (at "' + path_decimalScale + '")');
4510
+ }
4511
+ }
4498
4512
  if (obj.description !== undefined) {
4499
4513
  const obj_description = obj.description;
4500
4514
  const path_description = path + '.description';
@@ -2,7 +2,7 @@ import { ResourceListInputRepresentation as ResourceListInputRepresentation_Reso
2
2
  import { RootStepListInputRepresentation as RootStepListInputRepresentation_RootStepListInputRepresentation } from './RootStepListInputRepresentation';
3
3
  import { CalculationProcedureStepMapInputRepresentation as CalculationProcedureStepMapInputRepresentation_CalculationProcedureStepMapInputRepresentation } from './CalculationProcedureStepMapInputRepresentation';
4
4
  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';
5
- export declare const VERSION = "71acac50a8ffdf23fb3042dea9e66bf9";
5
+ export declare const VERSION = "44db0eb5287570c67cd85bdc852aba2b";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: CalculationProcedureVersionDefinitionInputRepresentation, existing: CalculationProcedureVersionDefinitionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CalculationProcedureVersionDefinitionInputRepresentationNormalized;
@@ -20,6 +20,8 @@ export interface CalculationProcedureVersionDefinitionInputRepresentationNormali
20
20
  /** Calculation Procedure Id for which version is created/updated */
21
21
  calculationProcedureId: string;
22
22
  constants?: ResourceListInputRepresentation_ResourceListInputRepresentation;
23
+ /** Decimal scale of Calculation Procedure Version */
24
+ decimalScale?: number;
23
25
  /** Description of Calculation Procedure Version */
24
26
  description?: string;
25
27
  /** States if version is active */
@@ -52,6 +54,7 @@ export interface CalculationProcedureVersionDefinitionInputRepresentationNormali
52
54
  export interface CalculationProcedureVersionDefinitionInputRepresentation {
53
55
  calculationProcedureId: string;
54
56
  constants?: ResourceListInputRepresentation_ResourceListInputRepresentation;
57
+ decimalScale?: number;
55
58
  description?: string;
56
59
  enabled?: boolean;
57
60
  endDate?: string;
@@ -1,7 +1,7 @@
1
1
  import { ExpressionSetVersionStepOutputRepresentation as ExpressionSetVersionStepOutputRepresentation_ExpressionSetVersionStepOutputRepresentation } from './ExpressionSetVersionStepOutputRepresentation';
2
2
  import { ExpressionSetVersionVariableOutputRepresentation as ExpressionSetVersionVariableOutputRepresentation_ExpressionSetVersionVariableOutputRepresentation } from './ExpressionSetVersionVariableOutputRepresentation';
3
3
  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';
4
- export declare const VERSION = "7f5bee62dcc53010fa40db5ebbdb2f4e";
4
+ export declare const VERSION = "31d351db89de9895cc5142114f7b6f2b";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function normalize(input: ExpressionSetVersionOutputRepresentation, existing: ExpressionSetVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExpressionSetVersionOutputRepresentationNormalized;
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  export interface ExpressionSetVersionOutputRepresentationNormalized {
19
19
  /** The api name of the version */
20
20
  apiName: string;
21
+ /** The decimal scale of the version */
22
+ decimalScale?: number;
21
23
  /** The description of the version */
22
24
  description?: string;
23
25
  /** Tells whether the version is active or inactive */
@@ -49,6 +51,7 @@ export interface ExpressionSetVersionOutputRepresentationNormalized {
49
51
  */
50
52
  export interface ExpressionSetVersionOutputRepresentation {
51
53
  apiName: string;
54
+ decimalScale?: number;
52
55
  description?: string;
53
56
  enabled: boolean;
54
57
  endDate?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-rule-builder",
3
- "version": "1.340.0",
3
+ "version": "1.342.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.340.0"
48
+ "@salesforce/lds-bindings": "^1.342.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@salesforce/lds-compiler-plugins": "^1.340.0",
52
- "@salesforce/lds-karma": "^1.340.0"
51
+ "@salesforce/lds-compiler-plugins": "^1.342.0",
52
+ "@salesforce/lds-karma": "^1.342.0"
53
53
  },
54
54
  "nx": {
55
55
  "targets": {
package/sfdc/index.js CHANGED
@@ -855,6 +855,13 @@ function validate$12(obj, path = 'ExpressionSetVersionOutputRepresentation') {
855
855
  if (typeof obj_apiName !== 'string') {
856
856
  return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
857
857
  }
858
+ if (obj.decimalScale !== undefined) {
859
+ const obj_decimalScale = obj.decimalScale;
860
+ const path_decimalScale = path + '.decimalScale';
861
+ if (typeof obj_decimalScale !== 'number' || (typeof obj_decimalScale === 'number' && Math.floor(obj_decimalScale) !== obj_decimalScale)) {
862
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalScale + '" (at "' + path_decimalScale + '")');
863
+ }
864
+ }
858
865
  if (obj.description !== undefined) {
859
866
  const obj_description = obj.description;
860
867
  const path_description = path + '.description';
@@ -6383,6 +6390,13 @@ function validate$p(obj, path = 'CalculationProcedureVersionDefinitionInputRepre
6383
6390
  return new TypeError(message);
6384
6391
  }
6385
6392
  }
6393
+ if (obj.decimalScale !== undefined) {
6394
+ const obj_decimalScale = obj.decimalScale;
6395
+ const path_decimalScale = path + '.decimalScale';
6396
+ if (typeof obj_decimalScale !== 'number' || (typeof obj_decimalScale === 'number' && Math.floor(obj_decimalScale) !== obj_decimalScale)) {
6397
+ return new TypeError('Expected "integer" but received "' + typeof obj_decimalScale + '" (at "' + path_decimalScale + '")');
6398
+ }
6399
+ }
6386
6400
  if (obj.description !== undefined) {
6387
6401
  const obj_description = obj.description;
6388
6402
  const path_description = path + '.description';
@@ -8943,4 +8957,4 @@ withDefaultLuvio((luvio) => {
8943
8957
  });
8944
8958
 
8945
8959
  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 };
8946
- // version: 1.340.0-08235a5e1b
8960
+ // version: 1.342.0-f478af8b93
package/src/raml/api.raml CHANGED
@@ -558,6 +558,10 @@ types:
558
558
  apiName:
559
559
  description: The api name of the version
560
560
  type: string
561
+ decimalScale:
562
+ description: The decimal scale of the version
563
+ type: integer
564
+ required: false
561
565
  description:
562
566
  description: The description of the version
563
567
  type: string
@@ -1575,6 +1579,10 @@ types:
1575
1579
  # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
1576
1580
  type: ResourceListInputRepresentation
1577
1581
  required: false # TODO Hand-rolled W-9314597
1582
+ decimalScale:
1583
+ description: Decimal scale of Calculation Procedure Version
1584
+ type: integer
1585
+ required: false # TODO Hand-rolled W-17654634
1578
1586
  description:
1579
1587
  description: Description of Calculation Procedure Version
1580
1588
  type: string