@salesforce/lds-adapters-industries-filebased-dataimport 1.280.0 → 1.282.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.
@@ -1106,6 +1106,13 @@ function validate$e(obj, path = 'FieldConfigurationInputRepresentation') {
1106
1106
  return new TypeError('Expected "string" but received "' + typeof obj_relatedObjectName + '" (at "' + path_relatedObjectName + '")');
1107
1107
  }
1108
1108
  }
1109
+ if (obj.relationshipName !== undefined) {
1110
+ const obj_relationshipName = obj.relationshipName;
1111
+ const path_relationshipName = path + '.relationshipName';
1112
+ if (typeof obj_relationshipName !== 'string') {
1113
+ return new TypeError('Expected "string" but received "' + typeof obj_relationshipName + '" (at "' + path_relationshipName + '")');
1114
+ }
1115
+ }
1109
1116
  if (obj.sourceColumnName !== undefined) {
1110
1117
  const obj_sourceColumnName = obj.sourceColumnName;
1111
1118
  const path_sourceColumnName = path + '.sourceColumnName';
@@ -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 = "da3186ca7e1e758732f7a54496411bc7";
2
+ export declare const VERSION = "5859371b9eff2ed3737accfe62db4420";
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: FieldConfigurationInputRepresentation, existing: FieldConfigurationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldConfigurationInputRepresentationNormalized;
@@ -20,6 +20,8 @@ export interface FieldConfigurationInputRepresentationNormalized {
20
20
  relatedFieldName?: string;
21
21
  /** The name of the object where the lookup needs to be performed for this entity field */
22
22
  relatedObjectName?: string;
23
+ /** The relationship name of the lookup definition */
24
+ relationshipName?: string;
23
25
  /** The name of the column of the source content for this mapping definition */
24
26
  sourceColumnName?: string;
25
27
  /** The field name of the targeted import object for this mapping definition */
@@ -35,6 +37,7 @@ export interface FieldConfigurationInputRepresentation {
35
37
  isLookupRelationship?: boolean;
36
38
  relatedFieldName?: string;
37
39
  relatedObjectName?: string;
40
+ relationshipName?: string;
38
41
  sourceColumnName?: string;
39
42
  targetFieldName?: string;
40
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-filebased-dataimport",
3
- "version": "1.280.0",
3
+ "version": "1.282.0",
4
4
  "description": "Resource Family for File Based Data Import Use cases",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-filebased-dataimport.js",
@@ -41,11 +41,11 @@
41
41
  "test:unit": "jest"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.280.0"
44
+ "@salesforce/lds-bindings": "^1.282.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.280.0",
48
- "@salesforce/lds-karma": "^1.280.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.282.0",
48
+ "@salesforce/lds-karma": "^1.282.0"
49
49
  },
50
50
  "nx": {
51
51
  "targets": {
package/sfdc/index.js CHANGED
@@ -3358,6 +3358,13 @@ function validate$3(obj, path = 'FieldConfigurationInputRepresentation') {
3358
3358
  return new TypeError('Expected "string" but received "' + typeof obj_relatedObjectName + '" (at "' + path_relatedObjectName + '")');
3359
3359
  }
3360
3360
  }
3361
+ if (obj.relationshipName !== undefined) {
3362
+ const obj_relationshipName = obj.relationshipName;
3363
+ const path_relationshipName = path + '.relationshipName';
3364
+ if (typeof obj_relationshipName !== 'string') {
3365
+ return new TypeError('Expected "string" but received "' + typeof obj_relationshipName + '" (at "' + path_relationshipName + '")');
3366
+ }
3367
+ }
3361
3368
  if (obj.sourceColumnName !== undefined) {
3362
3369
  const obj_sourceColumnName = obj.sourceColumnName;
3363
3370
  const path_sourceColumnName = path + '.sourceColumnName';
@@ -3937,4 +3944,4 @@ withDefaultLuvio((luvio) => {
3937
3944
  });
3938
3945
 
3939
3946
  export { createFileBasedDataImport, deleteFileBasedDataImport, getAllFields, getAllFields_imperative, getAllSobjects, getAllSobjects_imperative, getCsvAutoMap, getCsvAutoMap_imperative, getCsvPreviewData, getCsvPreviewData_imperative, getDPEDefinitions, getDPEDefinitions_imperative, getFileBasedDataImportById, getFileBasedDataImportByIdNotifyChange, getFileBasedDataImportById_imperative, getFileBasedDataImports, getFileBasedDataImports_imperative, startAdvanceImport, startSimpleImport, updateFileBasedDataImport };
3940
- // version: 1.280.0-09f980816
3947
+ // version: 1.282.0-dd2e9831c
package/src/raml/api.raml CHANGED
@@ -53,6 +53,11 @@ types:
53
53
  definition
54
54
  type: string
55
55
  required: false
56
+ relationshipName:
57
+ description: The relationship name of the lookup
58
+ definition
59
+ type: string
60
+ required: false
56
61
  FileImportInputRepresentation:
57
62
  description: Input representation of payload for File Based Data Import Use Case
58
63
  type: object