@salesforce/lds-adapters-service-ecm 1.396.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 = "0bc134ba5fc7c9ad95ed90ab7be5bd2c";
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.sourceObjectLookUp !== undefined) {
10350
- const obj_sourceObjectLookUp = obj.sourceObjectLookUp;
10351
- const path_sourceObjectLookUp = path + '.sourceObjectLookUp';
10352
- if (typeof obj_sourceObjectLookUp !== 'string') {
10353
- return new TypeError('Expected "string" but received "' + typeof obj_sourceObjectLookUp + '" (at "' + path_sourceObjectLookUp + '")');
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: 'sourceObjectLookUp',
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 existing_sourceObjectLookUp = existing.sourceObjectLookUp;
10621
- const incoming_sourceObjectLookUp = incoming.sourceObjectLookUp;
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 (existing_sourceObjectLookUp !== undefined || incoming_sourceObjectLookUp !== undefined) {
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 (existing_sourceObjectLookUp === undefined || incoming_sourceObjectLookUp === undefined) {
10626
+ if (existing_targetLookupObject === undefined || incoming_targetLookupObject === undefined) {
10627
10627
  return false;
10628
10628
  }
10629
- if (!(existing_sourceObjectLookUp === incoming_sourceObjectLookUp)) {
10629
+ if (!(existing_targetLookupObject === incoming_targetLookupObject)) {
10630
10630
  return false;
10631
10631
  }
10632
10632
  }
@@ -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 = "0bc134ba5fc7c9ad95ed90ab7be5bd2c";
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
- sourceObjectLookUp?: string;
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
- sourceObjectLookUp?: string;
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.396.0",
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.396.0"
43
+ "@salesforce/lds-bindings": "^1.397.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.396.0"
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 = "0bc134ba5fc7c9ad95ed90ab7be5bd2c";
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.sourceObjectLookUp !== undefined) {
9285
- const obj_sourceObjectLookUp = obj.sourceObjectLookUp;
9286
- const path_sourceObjectLookUp = path + '.sourceObjectLookUp';
9287
- if (typeof obj_sourceObjectLookUp !== 'string') {
9288
- return new TypeError('Expected "string" but received "' + typeof obj_sourceObjectLookUp + '" (at "' + path_sourceObjectLookUp + '")');
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: 'sourceObjectLookUp',
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 existing_sourceObjectLookUp = existing.sourceObjectLookUp;
9556
- const incoming_sourceObjectLookUp = incoming.sourceObjectLookUp;
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 (existing_sourceObjectLookUp !== undefined || incoming_sourceObjectLookUp !== undefined) {
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 (existing_sourceObjectLookUp === undefined || incoming_sourceObjectLookUp === undefined) {
9561
+ if (existing_targetLookupObject === undefined || incoming_targetLookupObject === undefined) {
9562
9562
  return false;
9563
9563
  }
9564
- if (!(existing_sourceObjectLookUp === incoming_sourceObjectLookUp)) {
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.396.0-216c6e4547
11564
+ // version: 1.397.0-006831ea37
package/src/raml/api.raml CHANGED
@@ -1860,7 +1860,7 @@ types:
1860
1860
  - DescNullFirst
1861
1861
  - DescNullLast
1862
1862
  - None
1863
- sourceObjectLookUp:
1863
+ targetLookupObject:
1864
1864
  description: Specifies the lookup entity the source object field is mapped to
1865
1865
  type: string
1866
1866
  required: false