@salesforce/lds-adapters-marketing-cdp 1.232.0 → 1.233.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.
@@ -365,11 +365,6 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
365
365
  return new TypeError('Expected "defined" but received "' + typeof obj_relatedObjects_item + '" (at "' + path_relatedObjects_item + '")');
366
366
  }
367
367
  }
368
- const obj_type = obj.type;
369
- const path_type = path + '.type';
370
- if (typeof obj_type !== 'string') {
371
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
372
- }
373
368
  })();
374
369
  return v_error === undefined ? null : v_error;
375
370
  }
@@ -380,7 +375,7 @@ function equals$4(existing, incoming) {
380
375
  return true;
381
376
  }
382
377
 
383
- const VERSION$2 = "d84f55c15c62e66d204c852f1e650ea4";
378
+ const VERSION$2 = "57c7ad707cc00b2b0eeb6a47d382feac";
384
379
  function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
385
380
  const validateCdpObjectBaseOutputRepresentation_validateError = validate$8(obj, path);
386
381
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
@@ -412,11 +407,6 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
412
407
  if (typeof obj_primaryObjectName !== 'string') {
413
408
  return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectName + '" (at "' + path_primaryObjectName + '")');
414
409
  }
415
- const obj_primaryObjectType = obj.primaryObjectType;
416
- const path_primaryObjectType = path + '.primaryObjectType';
417
- if (typeof obj_primaryObjectType !== 'string') {
418
- return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectType + '" (at "' + path_primaryObjectType + '")');
419
- }
420
410
  const obj_sourceObject = obj.sourceObject;
421
411
  const path_sourceObject = path + '.sourceObject';
422
412
  const referencepath_sourceObjectValidationError = validate$4(obj_sourceObject, path_sourceObject);
@@ -500,11 +490,6 @@ function equals$3(existing, incoming) {
500
490
  if (!(existing_primaryObjectName === incoming_primaryObjectName)) {
501
491
  return false;
502
492
  }
503
- const existing_primaryObjectType = existing.primaryObjectType;
504
- const incoming_primaryObjectType = incoming.primaryObjectType;
505
- if (!(existing_primaryObjectType === incoming_primaryObjectType)) {
506
- return false;
507
- }
508
493
  const existing_status = existing.status;
509
494
  const incoming_status = incoming.status;
510
495
  if (!(existing_status === incoming_status)) {
@@ -606,7 +591,6 @@ const createDataGraph_ConfigPropertyMetadata = [
606
591
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
607
592
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
608
593
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
609
- generateParamConfigMetadata('primaryObjectType', true, 2 /* Body */, 0 /* String */),
610
594
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
611
595
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
612
596
  ];
@@ -11,7 +11,6 @@ export interface CreateDataGraphConfig {
11
11
  label?: string;
12
12
  name?: string;
13
13
  primaryObjectName: string;
14
- primaryObjectType: string;
15
14
  sourceObject: unknown;
16
15
  type?: string;
17
16
  }
@@ -7,7 +7,6 @@ export interface ResourceRequestConfig {
7
7
  label?: string;
8
8
  name?: string;
9
9
  primaryObjectName: string;
10
- primaryObjectType: string;
11
10
  sourceObject: unknown;
12
11
  type?: string;
13
12
  };
@@ -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 = "babeb561d6149975f94a7c32dd80b12a";
2
+ export declare const VERSION = "0cdee3de0ba3dd07deadd26df48539ad";
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: CdpDataGraphInputRepresentation, existing: CdpDataGraphInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphInputRepresentationNormalized;
@@ -24,8 +24,6 @@ export interface CdpDataGraphInputRepresentationNormalized {
24
24
  name?: string;
25
25
  /** Primary Object Name */
26
26
  primaryObjectName: string;
27
- /** primary object type */
28
- primaryObjectType: string;
29
27
  /** source object */
30
28
  sourceObject: unknown;
31
29
  /** data graph type */
@@ -43,7 +41,6 @@ export interface CdpDataGraphInputRepresentation {
43
41
  label?: string;
44
42
  name?: string;
45
43
  primaryObjectName: string;
46
- primaryObjectType: string;
47
44
  sourceObject: unknown;
48
45
  type?: string;
49
46
  }
@@ -1,7 +1,7 @@
1
1
  import { keyBuilder as CdpObjectBaseOutputRepresentation_keyBuilder, CdpObjectBaseOutputRepresentation as CdpObjectBaseOutputRepresentation_CdpObjectBaseOutputRepresentation } from './CdpObjectBaseOutputRepresentation';
2
2
  import { CdpDataGraphSourceObjectOutputRepresentation as CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation } from './CdpDataGraphSourceObjectOutputRepresentation';
3
3
  import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
- export declare const VERSION = "d84f55c15c62e66d204c852f1e650ea4";
4
+ export declare const VERSION = "57c7ad707cc00b2b0eeb6a47d382feac";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: Parameters<typeof CdpObjectBaseOutputRepresentation_keyBuilder>[1]): string;
@@ -28,8 +28,6 @@ export interface CdpDataGraphOutputRepresentationNormalized extends CdpObjectBas
28
28
  lastRunStatus?: string;
29
29
  /** primary object developer name */
30
30
  primaryObjectName: string;
31
- /** primary object type */
32
- primaryObjectType: string;
33
31
  /** object */
34
32
  sourceObject: $64$luvio_engine_StoreLink;
35
33
  /** status */
@@ -52,7 +50,6 @@ export interface CdpDataGraphOutputRepresentation extends CdpObjectBaseOutputRep
52
50
  idDmoName: string;
53
51
  lastRunStatus?: string;
54
52
  primaryObjectName: string;
55
- primaryObjectType: string;
56
53
  sourceObject: CdpDataGraphSourceObjectOutputRepresentation_CdpDataGraphSourceObjectOutputRepresentation;
57
54
  status: string;
58
55
  type?: string;
@@ -2,7 +2,7 @@ import { CdpObjectBaseInputRepresentation as CdpObjectBaseInputRepresentation_Cd
2
2
  import { CdpDataGraphFieldInputRepresentation as CdpDataGraphFieldInputRepresentation_CdpDataGraphFieldInputRepresentation } from './CdpDataGraphFieldInputRepresentation';
3
3
  import { CdpDataGraphPathToParentInputRepresentation as CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation } from './CdpDataGraphPathToParentInputRepresentation';
4
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
5
- export declare const VERSION = "a8fa5973cd2fa703f25c948ca9fcea61";
5
+ export declare const VERSION = "fcd784ab8d7ff7d383a156d418bc6f24";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: CdpDataGraphSourceInputRepresentation, existing: CdpDataGraphSourceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphSourceInputRepresentationNormalized;
@@ -27,8 +27,6 @@ export interface CdpDataGraphSourceInputRepresentationNormalized extends CdpObje
27
27
  recencyCriteria: Array<{}>;
28
28
  /** relatedObjects */
29
29
  relatedObjects: Array<unknown>;
30
- /** type */
31
- type: string;
32
30
  }
33
31
  /**
34
32
  * Data Graph Source Object input representation
@@ -42,5 +40,4 @@ export interface CdpDataGraphSourceInputRepresentation extends CdpObjectBaseInpu
42
40
  path: Array<CdpDataGraphPathToParentInputRepresentation_CdpDataGraphPathToParentInputRepresentation>;
43
41
  recencyCriteria: Array<{}>;
44
42
  relatedObjects: Array<unknown>;
45
- type: string;
46
43
  }
@@ -2,7 +2,7 @@ import { CdpDataGraphFieldOutputRepresentation as CdpDataGraphFieldOutputReprese
2
2
  import { CdpDataGraphPathToParentOutputRepresentation as CdpDataGraphPathToParentOutputRepresentation_CdpDataGraphPathToParentOutputRepresentation } from './CdpDataGraphPathToParentOutputRepresentation';
3
3
  import { CdpDataGraphRecencyCriteriaOutputRepresentation as CdpDataGraphRecencyCriteriaOutputRepresentation_CdpDataGraphRecencyCriteriaOutputRepresentation } from './CdpDataGraphRecencyCriteriaOutputRepresentation';
4
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
5
- export declare const VERSION = "6a62db0f6a1fe5ff124d206088848bc4";
5
+ export declare const VERSION = "371f470d7d44949f1dcfa3f272b80d9c";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: CdpDataGraphSourceObjectOutputRepresentation, existing: CdpDataGraphSourceObjectOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphSourceObjectOutputRepresentationNormalized;
@@ -29,8 +29,6 @@ export interface CdpDataGraphSourceObjectOutputRepresentationNormalized {
29
29
  recencyCriteria?: Array<CdpDataGraphRecencyCriteriaOutputRepresentation_CdpDataGraphRecencyCriteriaOutputRepresentation>;
30
30
  /** relatedObjects */
31
31
  relatedObjects: Array<unknown>;
32
- /** type */
33
- type: string;
34
32
  }
35
33
  /**
36
34
  * Represents Cdp Data Graph Source Output
@@ -45,5 +43,4 @@ export interface CdpDataGraphSourceObjectOutputRepresentation {
45
43
  path?: Array<CdpDataGraphPathToParentOutputRepresentation_CdpDataGraphPathToParentOutputRepresentation>;
46
44
  recencyCriteria?: Array<CdpDataGraphRecencyCriteriaOutputRepresentation_CdpDataGraphRecencyCriteriaOutputRepresentation>;
47
45
  relatedObjects: Array<unknown>;
48
- type: string;
49
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-marketing-cdp",
3
- "version": "1.232.0",
3
+ "version": "1.233.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
@@ -375,11 +375,6 @@ function validate$4(obj, path = 'CdpDataGraphSourceObjectOutputRepresentation')
375
375
  return new TypeError('Expected "defined" but received "' + typeof obj_relatedObjects_item + '" (at "' + path_relatedObjects_item + '")');
376
376
  }
377
377
  }
378
- const obj_type = obj.type;
379
- const path_type = path + '.type';
380
- if (typeof obj_type !== 'string') {
381
- return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
382
- }
383
378
  })();
384
379
  return v_error === undefined ? null : v_error;
385
380
  }
@@ -390,7 +385,7 @@ function equals$4(existing, incoming) {
390
385
  return true;
391
386
  }
392
387
 
393
- const VERSION$2 = "d84f55c15c62e66d204c852f1e650ea4";
388
+ const VERSION$2 = "57c7ad707cc00b2b0eeb6a47d382feac";
394
389
  function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
395
390
  const validateCdpObjectBaseOutputRepresentation_validateError = validate$8(obj, path);
396
391
  if (validateCdpObjectBaseOutputRepresentation_validateError !== null) {
@@ -422,11 +417,6 @@ function validate$3(obj, path = 'CdpDataGraphOutputRepresentation') {
422
417
  if (typeof obj_primaryObjectName !== 'string') {
423
418
  return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectName + '" (at "' + path_primaryObjectName + '")');
424
419
  }
425
- const obj_primaryObjectType = obj.primaryObjectType;
426
- const path_primaryObjectType = path + '.primaryObjectType';
427
- if (typeof obj_primaryObjectType !== 'string') {
428
- return new TypeError('Expected "string" but received "' + typeof obj_primaryObjectType + '" (at "' + path_primaryObjectType + '")');
429
- }
430
420
  const obj_sourceObject = obj.sourceObject;
431
421
  const path_sourceObject = path + '.sourceObject';
432
422
  const referencepath_sourceObjectValidationError = validate$4(obj_sourceObject, path_sourceObject);
@@ -510,11 +500,6 @@ function equals$3(existing, incoming) {
510
500
  if (!(existing_primaryObjectName === incoming_primaryObjectName)) {
511
501
  return false;
512
502
  }
513
- const existing_primaryObjectType = existing.primaryObjectType;
514
- const incoming_primaryObjectType = incoming.primaryObjectType;
515
- if (!(existing_primaryObjectType === incoming_primaryObjectType)) {
516
- return false;
517
- }
518
503
  const existing_status = existing.status;
519
504
  const incoming_status = incoming.status;
520
505
  if (!(existing_status === incoming_status)) {
@@ -616,7 +601,6 @@ const createDataGraph_ConfigPropertyMetadata = [
616
601
  generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
617
602
  generateParamConfigMetadata('name', false, 2 /* Body */, 0 /* String */),
618
603
  generateParamConfigMetadata('primaryObjectName', true, 2 /* Body */, 0 /* String */),
619
- generateParamConfigMetadata('primaryObjectType', true, 2 /* Body */, 0 /* String */),
620
604
  generateParamConfigMetadata('sourceObject', true, 2 /* Body */, 4 /* Unsupported */),
621
605
  generateParamConfigMetadata('type', false, 2 /* Body */, 0 /* String */),
622
606
  ];
@@ -1462,4 +1446,4 @@ withDefaultLuvio((luvio) => {
1462
1446
  });
1463
1447
 
1464
1448
  export { createDataGraph, deleteDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph };
1465
- // version: 1.232.0-6cf0cd6c7
1449
+ // version: 1.233.0-e0ba7cc7b
package/src/raml/api.raml CHANGED
@@ -191,9 +191,6 @@ types:
191
191
  primaryObjectName:
192
192
  description: Primary Object Name
193
193
  type: string
194
- primaryObjectType:
195
- description: primary object type
196
- type: string
197
194
  sourceObject:
198
195
  description: source object
199
196
  type: any
@@ -235,18 +232,6 @@ types:
235
232
  type: array
236
233
  items:
237
234
  type: any #Add any to remove circular dependency
238
- type:
239
- description: type
240
- type: string
241
- enum:
242
- - BatchCI
243
- - Engagement
244
- - Other
245
- - Profile
246
- - RealTimeCI
247
- - SegmentHistory
248
- - SegmentLatest
249
- - StreamingCI
250
235
  CdpDataGraphOutputRepresentation:
251
236
  description: Represents Cdp Data Graph Output
252
237
  type: CdpObjectBaseOutputRepresentation
@@ -264,12 +249,6 @@ types:
264
249
  primaryObjectName:
265
250
  description: primary object developer name
266
251
  type: string
267
- primaryObjectType:
268
- description: primary object type
269
- type: string
270
- enum:
271
- - Cio
272
- - Dmo
273
252
  sourceObject:
274
253
  description: object
275
254
  type: CdpDataGraphSourceObjectOutputRepresentation
@@ -350,18 +329,6 @@ types:
350
329
  type: array
351
330
  items:
352
331
  type: any
353
- type:
354
- description: type
355
- type: string
356
- enum:
357
- - BatchCI
358
- - Engagement
359
- - Other
360
- - Profile
361
- - RealTimeCI
362
- - SegmentHistory
363
- - SegmentLatest
364
- - StreamingCI
365
332
  CdpDataGraphRetryInputRepresentation:
366
333
  description: Input representation for retry running error state CDP Data Graph
367
334
  type: object