@salesforce/lds-adapters-marketing-cdp 1.182.1 → 1.183.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.
@@ -154,6 +154,13 @@ function validate$5(obj, path = 'CdpApplicationDataGraphFieldOutputRepresentatio
154
154
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
155
155
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
156
156
  }
157
+ if (obj.dataType !== undefined) {
158
+ const obj_dataType = obj.dataType;
159
+ const path_dataType = path + '.dataType';
160
+ if (typeof obj_dataType !== 'string') {
161
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
162
+ }
163
+ }
157
164
  const obj_isKeyColumn = obj.isKeyColumn;
158
165
  const path_isKeyColumn = path + '.isKeyColumn';
159
166
  if (typeof obj_isKeyColumn !== 'boolean') {
@@ -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 = "e3ca443a544f4139e56ecc2ecb3fda03";
2
+ export declare const VERSION = "168cdcdf5cdbd4684db15469dd4d870f";
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: CdpApplicationDataGraphFieldInputRepresentation, existing: CdpApplicationDataGraphFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpApplicationDataGraphFieldInputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface CdpApplicationDataGraphFieldInputRepresentationNormalized {
17
+ /** Field Data Type */
18
+ dataType?: string;
17
19
  /** is column a key */
18
20
  isKeyColumn: boolean;
19
21
  /** source field name */
@@ -26,6 +28,7 @@ export interface CdpApplicationDataGraphFieldInputRepresentationNormalized {
26
28
  * (none)
27
29
  */
28
30
  export interface CdpApplicationDataGraphFieldInputRepresentation {
31
+ dataType?: string;
29
32
  isKeyColumn: boolean;
30
33
  sourceFieldName: string;
31
34
  }
@@ -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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "5ccd85bcaf66b23d82f3af541d347b3e";
2
+ export declare const VERSION = "549a4e75145c620d81f7824a2358f6ed";
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: CdpApplicationDataGraphFieldOutputRepresentation, existing: CdpApplicationDataGraphFieldOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpApplicationDataGraphFieldOutputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface CdpApplicationDataGraphFieldOutputRepresentationNormalized {
17
+ /** Field Data Type */
18
+ dataType?: string;
17
19
  /** isKeyColumn */
18
20
  isKeyColumn: boolean;
19
21
  /** source_field_developer_name */
@@ -26,6 +28,7 @@ export interface CdpApplicationDataGraphFieldOutputRepresentationNormalized {
26
28
  * (none)
27
29
  */
28
30
  export interface CdpApplicationDataGraphFieldOutputRepresentation {
31
+ dataType?: string;
29
32
  isKeyColumn: boolean;
30
33
  sourceFieldName: string;
31
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-marketing-cdp",
3
- "version": "1.182.1",
3
+ "version": "1.183.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
@@ -164,6 +164,13 @@ function validate$5(obj, path = 'CdpApplicationDataGraphFieldOutputRepresentatio
164
164
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
165
165
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
166
166
  }
167
+ if (obj.dataType !== undefined) {
168
+ const obj_dataType = obj.dataType;
169
+ const path_dataType = path + '.dataType';
170
+ if (typeof obj_dataType !== 'string') {
171
+ return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
172
+ }
173
+ }
167
174
  const obj_isKeyColumn = obj.isKeyColumn;
168
175
  const path_isKeyColumn = path + '.isKeyColumn';
169
176
  if (typeof obj_isKeyColumn !== 'boolean') {
@@ -1126,4 +1133,4 @@ withDefaultLuvio((luvio) => {
1126
1133
  });
1127
1134
 
1128
1135
  export { createAdg, deleteAdg, getAdg, getAdgNotifyChange, getAdg_imperative, retryDataGraph };
1129
- // version: 1.182.1-cf10900c2
1136
+ // version: 1.183.0-c61f9da4f
package/src/raml/api.raml CHANGED
@@ -112,6 +112,10 @@ types:
112
112
  description: ADG Field input representation
113
113
  type: object
114
114
  properties:
115
+ dataType:
116
+ description: Field Data Type
117
+ type: string
118
+ required: false
115
119
  isKeyColumn:
116
120
  description: is column a key
117
121
  type: boolean
@@ -122,6 +126,10 @@ types:
122
126
  description: Represents Cdp Application Data Graph Field Output
123
127
  type: object
124
128
  properties:
129
+ dataType:
130
+ description: Field Data Type
131
+ type: string
132
+ required: false
125
133
  isKeyColumn:
126
134
  description: isKeyColumn
127
135
  type: boolean