@salesforce/lds-adapters-service-ecm 1.395.0 → 1.397.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.
|
@@ -10249,7 +10249,7 @@ const saveEligibilityRuleAdapterFactory = (luvio) => {
|
|
|
10249
10249
|
};
|
|
10250
10250
|
};
|
|
10251
10251
|
|
|
10252
|
-
const VERSION$3 = "
|
|
10252
|
+
const VERSION$3 = "7b8b7b9b84514bc31b9067d070187292";
|
|
10253
10253
|
function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
10254
10254
|
const v_error = (() => {
|
|
10255
10255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10346,11 +10346,11 @@ function validate$3(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
10346
10346
|
return new TypeError('Expected "string" but received "' + typeof obj_sortType + '" (at "' + path_sortType + '")');
|
|
10347
10347
|
}
|
|
10348
10348
|
}
|
|
10349
|
-
if (obj.
|
|
10350
|
-
const
|
|
10351
|
-
const
|
|
10352
|
-
if (typeof
|
|
10353
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
10349
|
+
if (obj.targetLookupObject !== undefined) {
|
|
10350
|
+
const obj_targetLookupObject = obj.targetLookupObject;
|
|
10351
|
+
const path_targetLookupObject = path + '.targetLookupObject';
|
|
10352
|
+
if (typeof obj_targetLookupObject !== 'string') {
|
|
10353
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetLookupObject + '" (at "' + path_targetLookupObject + '")');
|
|
10354
10354
|
}
|
|
10355
10355
|
}
|
|
10356
10356
|
if (obj.usage !== undefined) {
|
|
@@ -10435,7 +10435,7 @@ const select$4 = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
10435
10435
|
required: false
|
|
10436
10436
|
},
|
|
10437
10437
|
{
|
|
10438
|
-
name: '
|
|
10438
|
+
name: 'targetLookupObject',
|
|
10439
10439
|
kind: 'Scalar',
|
|
10440
10440
|
required: false
|
|
10441
10441
|
},
|
|
@@ -10617,16 +10617,16 @@ function equals$3(existing, incoming) {
|
|
|
10617
10617
|
return false;
|
|
10618
10618
|
}
|
|
10619
10619
|
}
|
|
10620
|
-
const
|
|
10621
|
-
const
|
|
10620
|
+
const existing_targetLookupObject = existing.targetLookupObject;
|
|
10621
|
+
const incoming_targetLookupObject = incoming.targetLookupObject;
|
|
10622
10622
|
// if at least one of these optionals is defined
|
|
10623
|
-
if (
|
|
10623
|
+
if (existing_targetLookupObject !== undefined || incoming_targetLookupObject !== undefined) {
|
|
10624
10624
|
// if one of these is not defined we know the other is defined and therefore
|
|
10625
10625
|
// not equal
|
|
10626
|
-
if (
|
|
10626
|
+
if (existing_targetLookupObject === undefined || incoming_targetLookupObject === undefined) {
|
|
10627
10627
|
return false;
|
|
10628
10628
|
}
|
|
10629
|
-
if (!(
|
|
10629
|
+
if (!(existing_targetLookupObject === incoming_targetLookupObject)) {
|
|
10630
10630
|
return false;
|
|
10631
10631
|
}
|
|
10632
10632
|
}
|
package/dist/es/es2018/types/src/generated/types/EligibilityRuleParameterRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "7b8b7b9b84514bc31b9067d070187292";
|
|
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: EligibilityRuleParameterRepresentation, existing: EligibilityRuleParameterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EligibilityRuleParameterRepresentationNormalized;
|
|
@@ -41,7 +41,7 @@ export interface EligibilityRuleParameterRepresentationNormalized {
|
|
|
41
41
|
/** Specifies the type of sorting done on the rows of a decision table */
|
|
42
42
|
sortType?: string;
|
|
43
43
|
/** Specifies the lookup entity the source object field is mapped to */
|
|
44
|
-
|
|
44
|
+
targetLookupObject?: string;
|
|
45
45
|
/** A picklist to select whether a particular field will be used as input or output */
|
|
46
46
|
usage?: string;
|
|
47
47
|
}
|
|
@@ -65,6 +65,6 @@ export interface EligibilityRuleParameterRepresentation {
|
|
|
65
65
|
operator?: string;
|
|
66
66
|
sequence?: number;
|
|
67
67
|
sortType?: string;
|
|
68
|
-
|
|
68
|
+
targetLookupObject?: string;
|
|
69
69
|
usage?: string;
|
|
70
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-service-ecm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.397.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.397.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.397.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -9184,7 +9184,7 @@ const getCatalogItemAdapterFactory = (luvio) => function ecm__getCatalogItem(unt
|
|
|
9184
9184
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
9185
9185
|
};
|
|
9186
9186
|
|
|
9187
|
-
const VERSION$6 = "
|
|
9187
|
+
const VERSION$6 = "7b8b7b9b84514bc31b9067d070187292";
|
|
9188
9188
|
function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
9189
9189
|
const v_error = (() => {
|
|
9190
9190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9281,11 +9281,11 @@ function validate$9(obj, path = 'EligibilityRuleParameterRepresentation') {
|
|
|
9281
9281
|
return new TypeError('Expected "string" but received "' + typeof obj_sortType + '" (at "' + path_sortType + '")');
|
|
9282
9282
|
}
|
|
9283
9283
|
}
|
|
9284
|
-
if (obj.
|
|
9285
|
-
const
|
|
9286
|
-
const
|
|
9287
|
-
if (typeof
|
|
9288
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
9284
|
+
if (obj.targetLookupObject !== undefined) {
|
|
9285
|
+
const obj_targetLookupObject = obj.targetLookupObject;
|
|
9286
|
+
const path_targetLookupObject = path + '.targetLookupObject';
|
|
9287
|
+
if (typeof obj_targetLookupObject !== 'string') {
|
|
9288
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetLookupObject + '" (at "' + path_targetLookupObject + '")');
|
|
9289
9289
|
}
|
|
9290
9290
|
}
|
|
9291
9291
|
if (obj.usage !== undefined) {
|
|
@@ -9370,7 +9370,7 @@ const select$b = function EligibilityRuleParameterRepresentationSelect() {
|
|
|
9370
9370
|
required: false
|
|
9371
9371
|
},
|
|
9372
9372
|
{
|
|
9373
|
-
name: '
|
|
9373
|
+
name: 'targetLookupObject',
|
|
9374
9374
|
kind: 'Scalar',
|
|
9375
9375
|
required: false
|
|
9376
9376
|
},
|
|
@@ -9552,16 +9552,16 @@ function equals$6(existing, incoming) {
|
|
|
9552
9552
|
return false;
|
|
9553
9553
|
}
|
|
9554
9554
|
}
|
|
9555
|
-
const
|
|
9556
|
-
const
|
|
9555
|
+
const existing_targetLookupObject = existing.targetLookupObject;
|
|
9556
|
+
const incoming_targetLookupObject = incoming.targetLookupObject;
|
|
9557
9557
|
// if at least one of these optionals is defined
|
|
9558
|
-
if (
|
|
9558
|
+
if (existing_targetLookupObject !== undefined || incoming_targetLookupObject !== undefined) {
|
|
9559
9559
|
// if one of these is not defined we know the other is defined and therefore
|
|
9560
9560
|
// not equal
|
|
9561
|
-
if (
|
|
9561
|
+
if (existing_targetLookupObject === undefined || incoming_targetLookupObject === undefined) {
|
|
9562
9562
|
return false;
|
|
9563
9563
|
}
|
|
9564
|
-
if (!(
|
|
9564
|
+
if (!(existing_targetLookupObject === incoming_targetLookupObject)) {
|
|
9565
9565
|
return false;
|
|
9566
9566
|
}
|
|
9567
9567
|
}
|
|
@@ -11561,4 +11561,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11561
11561
|
});
|
|
11562
11562
|
|
|
11563
11563
|
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 };
|
|
11564
|
-
// version: 1.
|
|
11564
|
+
// version: 1.397.0-006831ea37
|
package/src/raml/api.raml
CHANGED