@salesforce/lds-adapters-service-ecm 1.400.0 → 1.401.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.
|
@@ -10819,16 +10819,18 @@ function equals$2(existing, incoming) {
|
|
|
10819
10819
|
return true;
|
|
10820
10820
|
}
|
|
10821
10821
|
|
|
10822
|
-
const VERSION$1 = "
|
|
10822
|
+
const VERSION$1 = "68f7cca2979a3992693be47bddb0daa2";
|
|
10823
10823
|
function validate$1(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
10824
10824
|
const v_error = (() => {
|
|
10825
10825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10826
10826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
10827
10827
|
}
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10828
|
+
if (obj.conditionCriteria !== undefined) {
|
|
10829
|
+
const obj_conditionCriteria = obj.conditionCriteria;
|
|
10830
|
+
const path_conditionCriteria = path + '.conditionCriteria';
|
|
10831
|
+
if (typeof obj_conditionCriteria !== 'string') {
|
|
10832
|
+
return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
|
|
10833
|
+
}
|
|
10832
10834
|
}
|
|
10833
10835
|
const obj_conditionType = obj.conditionType;
|
|
10834
10836
|
const path_conditionType = path + '.conditionType';
|
|
@@ -10978,7 +10980,8 @@ const select$2 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
10978
10980
|
selections: [
|
|
10979
10981
|
{
|
|
10980
10982
|
name: 'conditionCriteria',
|
|
10981
|
-
kind: 'Scalar'
|
|
10983
|
+
kind: 'Scalar',
|
|
10984
|
+
required: false
|
|
10982
10985
|
},
|
|
10983
10986
|
{
|
|
10984
10987
|
name: 'conditionType',
|
|
@@ -11102,8 +11105,16 @@ function equals$1(existing, incoming) {
|
|
|
11102
11105
|
}
|
|
11103
11106
|
const existing_conditionCriteria = existing.conditionCriteria;
|
|
11104
11107
|
const incoming_conditionCriteria = incoming.conditionCriteria;
|
|
11105
|
-
if
|
|
11106
|
-
|
|
11108
|
+
// if at least one of these optionals is defined
|
|
11109
|
+
if (existing_conditionCriteria !== undefined || incoming_conditionCriteria !== undefined) {
|
|
11110
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
11111
|
+
// not equal
|
|
11112
|
+
if (existing_conditionCriteria === undefined || incoming_conditionCriteria === undefined) {
|
|
11113
|
+
return false;
|
|
11114
|
+
}
|
|
11115
|
+
if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
|
|
11116
|
+
return false;
|
|
11117
|
+
}
|
|
11107
11118
|
}
|
|
11108
11119
|
const existing_conditionType = existing.conditionType;
|
|
11109
11120
|
const incoming_conditionType = incoming.conditionType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EligibilityRuleParameterRepresentation as EligibilityRuleParameterRepresentation_EligibilityRuleParameterRepresentation } from './EligibilityRuleParameterRepresentation';
|
|
2
2
|
import { DecisionTableSourceCriteriaOutputRepresentation as DecisionTableSourceCriteriaOutputRepresentation_DecisionTableSourceCriteriaOutputRepresentation } from './DecisionTableSourceCriteriaOutputRepresentation';
|
|
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 = "
|
|
4
|
+
export declare const VERSION = "68f7cca2979a3992693be47bddb0daa2";
|
|
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: EligibilityRuleDetailsRepresentation, existing: EligibilityRuleDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleDetailsRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
*/
|
|
18
18
|
export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
19
19
|
/** The criteria for the condition */
|
|
20
|
-
conditionCriteria
|
|
20
|
+
conditionCriteria?: string;
|
|
21
21
|
/** The type of the condition */
|
|
22
22
|
conditionType: string;
|
|
23
23
|
/** The date and time when the decision table was created */
|
|
@@ -64,7 +64,7 @@ export interface EligibilityRuleDetailsRepresentationNormalized {
|
|
|
64
64
|
* (none)
|
|
65
65
|
*/
|
|
66
66
|
export interface EligibilityRuleDetailsRepresentation {
|
|
67
|
-
conditionCriteria
|
|
67
|
+
conditionCriteria?: string;
|
|
68
68
|
conditionType: string;
|
|
69
69
|
createdDate: string;
|
|
70
70
|
decisionTableId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.401.0",
|
|
4
4
|
"description": "Service Automation Request",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/service-ecm.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.401.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.401.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -9728,16 +9728,18 @@ function equals$5(existing, incoming) {
|
|
|
9728
9728
|
return true;
|
|
9729
9729
|
}
|
|
9730
9730
|
|
|
9731
|
-
const VERSION$4 = "
|
|
9731
|
+
const VERSION$4 = "68f7cca2979a3992693be47bddb0daa2";
|
|
9732
9732
|
function validate$7(obj, path = 'EligibilityRuleDetailsRepresentation') {
|
|
9733
9733
|
const v_error = (() => {
|
|
9734
9734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9735
9735
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
9736
9736
|
}
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9737
|
+
if (obj.conditionCriteria !== undefined) {
|
|
9738
|
+
const obj_conditionCriteria = obj.conditionCriteria;
|
|
9739
|
+
const path_conditionCriteria = path + '.conditionCriteria';
|
|
9740
|
+
if (typeof obj_conditionCriteria !== 'string') {
|
|
9741
|
+
return new TypeError('Expected "string" but received "' + typeof obj_conditionCriteria + '" (at "' + path_conditionCriteria + '")');
|
|
9742
|
+
}
|
|
9741
9743
|
}
|
|
9742
9744
|
const obj_conditionType = obj.conditionType;
|
|
9743
9745
|
const path_conditionType = path + '.conditionType';
|
|
@@ -9887,7 +9889,8 @@ const select$9 = function EligibilityRuleDetailsRepresentationSelect() {
|
|
|
9887
9889
|
selections: [
|
|
9888
9890
|
{
|
|
9889
9891
|
name: 'conditionCriteria',
|
|
9890
|
-
kind: 'Scalar'
|
|
9892
|
+
kind: 'Scalar',
|
|
9893
|
+
required: false
|
|
9891
9894
|
},
|
|
9892
9895
|
{
|
|
9893
9896
|
name: 'conditionType',
|
|
@@ -10011,8 +10014,16 @@ function equals$4(existing, incoming) {
|
|
|
10011
10014
|
}
|
|
10012
10015
|
const existing_conditionCriteria = existing.conditionCriteria;
|
|
10013
10016
|
const incoming_conditionCriteria = incoming.conditionCriteria;
|
|
10014
|
-
if
|
|
10015
|
-
|
|
10017
|
+
// if at least one of these optionals is defined
|
|
10018
|
+
if (existing_conditionCriteria !== undefined || incoming_conditionCriteria !== undefined) {
|
|
10019
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10020
|
+
// not equal
|
|
10021
|
+
if (existing_conditionCriteria === undefined || incoming_conditionCriteria === undefined) {
|
|
10022
|
+
return false;
|
|
10023
|
+
}
|
|
10024
|
+
if (!(existing_conditionCriteria === incoming_conditionCriteria)) {
|
|
10025
|
+
return false;
|
|
10026
|
+
}
|
|
10016
10027
|
}
|
|
10017
10028
|
const existing_conditionType = existing.conditionType;
|
|
10018
10029
|
const incoming_conditionType = incoming.conditionType;
|
|
@@ -11686,4 +11697,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11686
11697
|
});
|
|
11687
11698
|
|
|
11688
11699
|
export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, downloadServiceProcessTemplate, downloadServiceProcessTemplate_imperative, generateIntakeForm, generateOmniScript, getAgentActions, getAgentActions_imperative, getAllServiceAutomationDep, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate, getAllServiceProcessTemplate_imperative, getCatalogItem, getCatalogItem_imperative, getEligibilityRuleMetadata, getEligibilityRuleMetadata_imperative, getServiceRequest, getServiceRequest_imperative, saveEligibilityRule, updateCatalogItem, updateEpcCategories };
|
|
11689
|
-
// version: 1.
|
|
11700
|
+
// version: 1.401.0-c620f9ffed
|
package/src/raml/api.raml
CHANGED
|
@@ -1669,7 +1669,7 @@ types:
|
|
|
1669
1669
|
description: The date and time when the decision table was created
|
|
1670
1670
|
type: string
|
|
1671
1671
|
conditionCriteria:
|
|
1672
|
-
required:
|
|
1672
|
+
required: false
|
|
1673
1673
|
description: The criteria for the condition
|
|
1674
1674
|
type: string
|
|
1675
1675
|
conditionType:
|