@salesforce/lds-adapters-marketing-cdp 1.144.0 → 1.145.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.
@@ -543,12 +543,7 @@ function typeCheckConfig$2(untrustedConfig) {
543
543
  config.primaryObjectType = untrustedConfig_primaryObjectType;
544
544
  }
545
545
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
546
- if (untrustedIsObject(untrustedConfig_sourceObject)) {
547
- const untrustedConfig_sourceObject_object = {};
548
- if (untrustedConfig_sourceObject_object !== undefined && Object.keys(untrustedConfig_sourceObject_object).length >= 0) {
549
- config.sourceObject = untrustedConfig_sourceObject_object;
550
- }
551
- }
546
+ config.sourceObject = untrustedConfig_sourceObject;
552
547
  return config;
553
548
  }
554
549
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -11,7 +11,7 @@ export interface CreateAdgConfig {
11
11
  name?: string;
12
12
  primaryObjectName: string;
13
13
  primaryObjectType: string;
14
- sourceObject: {};
14
+ sourceObject: unknown;
15
15
  }
16
16
  export declare function createResourceParams(config: CreateAdgConfig): resources_postSsotApplicationDataGraphs_ResourceRequestConfig;
17
17
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAdgConfig>): adapter$45$utils_Untrusted<CreateAdgConfig>;
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
8
8
  name?: string;
9
9
  primaryObjectName: string;
10
10
  primaryObjectType: string;
11
- sourceObject: {};
11
+ sourceObject: unknown;
12
12
  };
13
13
  }
14
14
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "eb422b2d8da1718532f05a34ca32462a";
2
+ export declare const VERSION = "cd0031c5ca8a7c3216ce0436ed11566b";
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: CdpApplicationDataGraphInputRepresentation, existing: CdpApplicationDataGraphInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpApplicationDataGraphInputRepresentationNormalized;
@@ -27,7 +27,7 @@ export interface CdpApplicationDataGraphInputRepresentationNormalized {
27
27
  /** primary object type */
28
28
  primaryObjectType: string;
29
29
  /** source object */
30
- sourceObject: {};
30
+ sourceObject: unknown;
31
31
  }
32
32
  /**
33
33
  * Input representation for creating CDP ADG
@@ -42,5 +42,5 @@ export interface CdpApplicationDataGraphInputRepresentation {
42
42
  name?: string;
43
43
  primaryObjectName: string;
44
44
  primaryObjectType: string;
45
- sourceObject: {};
45
+ sourceObject: unknown;
46
46
  }
@@ -1,6 +1,8 @@
1
1
  import { CdpObjectBaseInputRepresentation as CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation } from './CdpObjectBaseInputRepresentation';
2
+ import { CdpApplicationDataGraphFieldInputRepresentation as CdpApplicationDataGraphFieldInputRepresentation_CdpApplicationDataGraphFieldInputRepresentation } from './CdpApplicationDataGraphFieldInputRepresentation';
3
+ import { CdpApplicationDataGraphPathToParentInputRepresentation as CdpApplicationDataGraphPathToParentInputRepresentation_CdpApplicationDataGraphPathToParentInputRepresentation } from './CdpApplicationDataGraphPathToParentInputRepresentation';
2
4
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
- export declare const VERSION = "7c42fcfe7c2522284f9dc97380634b82";
5
+ export declare const VERSION = "6e89ba5bf3413349e1863e3d2d3d7bf9";
4
6
  export declare function validate(obj: any, path?: string): TypeError | null;
5
7
  export declare const RepresentationType: string;
6
8
  export declare function normalize(input: CdpApplicationDataGraphSourceInputRepresentation, existing: CdpApplicationDataGraphSourceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpApplicationDataGraphSourceInputRepresentationNormalized;
@@ -16,13 +18,13 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: C
16
18
  */
17
19
  export interface CdpApplicationDataGraphSourceInputRepresentationNormalized extends CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation {
18
20
  /** fields */
19
- fields: Array<{}>;
21
+ fields: Array<CdpApplicationDataGraphFieldInputRepresentation_CdpApplicationDataGraphFieldInputRepresentation>;
20
22
  /** path */
21
- path: Array<{}>;
23
+ path: Array<CdpApplicationDataGraphPathToParentInputRepresentation_CdpApplicationDataGraphPathToParentInputRepresentation>;
22
24
  /** recencyCriteria */
23
- recencyCriteria: {};
25
+ recencyCriteria: unknown;
24
26
  /** relatedObjects */
25
- relatedObjects: Array<{}>;
27
+ relatedObjects: Array<unknown>;
26
28
  /** type */
27
29
  type: string;
28
30
  }
@@ -33,9 +35,9 @@ export interface CdpApplicationDataGraphSourceInputRepresentationNormalized exte
33
35
  * (none)
34
36
  */
35
37
  export interface CdpApplicationDataGraphSourceInputRepresentation extends CdpObjectBaseInputRepresentation_CdpObjectBaseInputRepresentation {
36
- fields: Array<{}>;
37
- path: Array<{}>;
38
- recencyCriteria: {};
39
- relatedObjects: Array<{}>;
38
+ fields: Array<CdpApplicationDataGraphFieldInputRepresentation_CdpApplicationDataGraphFieldInputRepresentation>;
39
+ path: Array<CdpApplicationDataGraphPathToParentInputRepresentation_CdpApplicationDataGraphPathToParentInputRepresentation>;
40
+ recencyCriteria: unknown;
41
+ relatedObjects: Array<unknown>;
40
42
  type: string;
41
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-marketing-cdp",
3
- "version": "1.144.0",
3
+ "version": "1.145.0",
4
4
  "description": "LDS adapters for CDP",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/marketing-cdp.js",
package/sfdc/index.js CHANGED
@@ -553,12 +553,7 @@ function typeCheckConfig$2(untrustedConfig) {
553
553
  config.primaryObjectType = untrustedConfig_primaryObjectType;
554
554
  }
555
555
  const untrustedConfig_sourceObject = untrustedConfig.sourceObject;
556
- if (untrustedIsObject(untrustedConfig_sourceObject)) {
557
- const untrustedConfig_sourceObject_object = {};
558
- if (untrustedConfig_sourceObject_object !== undefined && Object.keys(untrustedConfig_sourceObject_object).length >= 0) {
559
- config.sourceObject = untrustedConfig_sourceObject_object;
560
- }
561
- }
556
+ config.sourceObject = untrustedConfig_sourceObject;
562
557
  return config;
563
558
  }
564
559
  function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
@@ -916,4 +911,4 @@ withDefaultLuvio((luvio) => {
916
911
  });
917
912
 
918
913
  export { createAdg, deleteAdg, getAdg, getAdgNotifyChange, getAdg_imperative };
919
- // version: 1.144.0-32cfd690e
914
+ // version: 1.145.0-5ff081cdd
package/src/raml/api.raml CHANGED
@@ -156,7 +156,7 @@ types:
156
156
  type: string
157
157
  sourceObject:
158
158
  description: source object
159
- type: object
159
+ type: any
160
160
  CdpApplicationDataGraphSourceObjectOutputRepresentation:
161
161
  description: Represents Cdp Application Data Graph Source Output
162
162
  type: object
@@ -262,20 +262,20 @@ types:
262
262
  description: fields
263
263
  type: array
264
264
  items:
265
- type: object
265
+ type: CdpApplicationDataGraphFieldInputRepresentation
266
266
  path:
267
267
  description: path
268
268
  type: array
269
269
  items:
270
- type: object
270
+ type: CdpApplicationDataGraphPathToParentInputRepresentation
271
271
  recencyCriteria:
272
272
  description: recencyCriteria
273
- type: object
273
+ type: any
274
274
  relatedObjects:
275
275
  description: relatedObjects
276
276
  type: array
277
277
  items:
278
- type: object
278
+ type: any
279
279
  type:
280
280
  description: type
281
281
  type: string