@salesforce/lds-adapters-cdp-personalization-service 1.319.0 → 1.320.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.
@@ -2525,12 +2525,12 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
2525
2525
  generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
2526
2526
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
2527
2527
  generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
2528
+ generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2528
2529
  generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
2530
+ generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2529
2531
  generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
2530
2532
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2531
2533
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2532
- generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2533
- generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2534
2534
  ];
2535
2535
  const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
2536
2536
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
@@ -2584,6 +2584,13 @@ function typeCheckConfig$6(untrustedConfig) {
2584
2584
  }
2585
2585
  config.decisions = untrustedConfig_decisions_array;
2586
2586
  }
2587
+ const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
2588
+ if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
2589
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
2590
+ }
2591
+ if (untrustedConfig_maxItemsCount === null) {
2592
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
2593
+ }
2587
2594
  const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
2588
2595
  if (typeof untrustedConfig_profileDataGraphName === 'string') {
2589
2596
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
@@ -2591,6 +2598,13 @@ function typeCheckConfig$6(untrustedConfig) {
2591
2598
  if (untrustedConfig_profileDataGraphName === null) {
2592
2599
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
2593
2600
  }
2601
+ const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
2602
+ if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
2603
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2604
+ }
2605
+ if (untrustedConfig_rootPersonalizationPointId === null) {
2606
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2607
+ }
2594
2608
  const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
2595
2609
  if (typeof untrustedConfig_schemaEnum === 'string') {
2596
2610
  config.schemaEnum = untrustedConfig_schemaEnum;
@@ -2605,20 +2619,6 @@ function typeCheckConfig$6(untrustedConfig) {
2605
2619
  if (untrustedConfig_schemaName === null) {
2606
2620
  config.schemaName = untrustedConfig_schemaName;
2607
2621
  }
2608
- const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
2609
- if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
2610
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2611
- }
2612
- if (untrustedConfig_rootPersonalizationPointId === null) {
2613
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2614
- }
2615
- const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
2616
- if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
2617
- config.maxItemsCount = untrustedConfig_maxItemsCount;
2618
- }
2619
- if (untrustedConfig_maxItemsCount === null) {
2620
- config.maxItemsCount = untrustedConfig_maxItemsCount;
2621
- }
2622
2622
  return config;
2623
2623
  }
2624
2624
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -2933,12 +2933,12 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
2933
2933
  generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
2934
2934
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
2935
2935
  generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
2936
+ generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2936
2937
  generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
2938
+ generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2937
2939
  generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
2938
2940
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2939
2941
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2940
- generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2941
- generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2942
2942
  ];
2943
2943
  const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updatePersonalizationPoint_ConfigPropertyMetadata);
2944
2944
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
@@ -2992,6 +2992,13 @@ function typeCheckConfig$3(untrustedConfig) {
2992
2992
  }
2993
2993
  config.decisions = untrustedConfig_decisions_array;
2994
2994
  }
2995
+ const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
2996
+ if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
2997
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
2998
+ }
2999
+ if (untrustedConfig_maxItemsCount === null) {
3000
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
3001
+ }
2995
3002
  const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
2996
3003
  if (typeof untrustedConfig_profileDataGraphName === 'string') {
2997
3004
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
@@ -2999,6 +3006,13 @@ function typeCheckConfig$3(untrustedConfig) {
2999
3006
  if (untrustedConfig_profileDataGraphName === null) {
3000
3007
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
3001
3008
  }
3009
+ const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
3010
+ if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
3011
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3012
+ }
3013
+ if (untrustedConfig_rootPersonalizationPointId === null) {
3014
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3015
+ }
3002
3016
  const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
3003
3017
  if (typeof untrustedConfig_schemaEnum === 'string') {
3004
3018
  config.schemaEnum = untrustedConfig_schemaEnum;
@@ -3013,20 +3027,6 @@ function typeCheckConfig$3(untrustedConfig) {
3013
3027
  if (untrustedConfig_schemaName === null) {
3014
3028
  config.schemaName = untrustedConfig_schemaName;
3015
3029
  }
3016
- const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
3017
- if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
3018
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3019
- }
3020
- if (untrustedConfig_rootPersonalizationPointId === null) {
3021
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3022
- }
3023
- const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
3024
- if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
3025
- config.maxItemsCount = untrustedConfig_maxItemsCount;
3026
- }
3027
- if (untrustedConfig_maxItemsCount === null) {
3028
- config.maxItemsCount = untrustedConfig_maxItemsCount;
3029
- }
3030
3030
  return config;
3031
3031
  }
3032
3032
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -3309,7 +3309,7 @@ function equals$1(existing, incoming) {
3309
3309
  }
3310
3310
 
3311
3311
  const TTL = 600;
3312
- const VERSION = "5af63dda9547f61a93c8ca2ee190887f";
3312
+ const VERSION = "25740f87643de6fdae570c77bbec7377";
3313
3313
  function validate(obj, path = 'PersonalizationSchemaRepresentation') {
3314
3314
  const v_error = (() => {
3315
3315
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3330,6 +3330,39 @@ function validate(obj, path = 'PersonalizationSchemaRepresentation') {
3330
3330
  return new TypeError(message);
3331
3331
  }
3332
3332
  }
3333
+ const obj_contentObjectFieldNames = obj.contentObjectFieldNames;
3334
+ const path_contentObjectFieldNames = path + '.contentObjectFieldNames';
3335
+ if (!ArrayIsArray(obj_contentObjectFieldNames)) {
3336
+ return new TypeError('Expected "array" but received "' + typeof obj_contentObjectFieldNames + '" (at "' + path_contentObjectFieldNames + '")');
3337
+ }
3338
+ for (let i = 0; i < obj_contentObjectFieldNames.length; i++) {
3339
+ const obj_contentObjectFieldNames_item = obj_contentObjectFieldNames[i];
3340
+ const path_contentObjectFieldNames_item = path_contentObjectFieldNames + '[' + i + ']';
3341
+ let obj_contentObjectFieldNames_item_union0 = null;
3342
+ const obj_contentObjectFieldNames_item_union0_error = (() => {
3343
+ if (typeof obj_contentObjectFieldNames_item !== 'string') {
3344
+ return new TypeError('Expected "string" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
3345
+ }
3346
+ })();
3347
+ if (obj_contentObjectFieldNames_item_union0_error != null) {
3348
+ obj_contentObjectFieldNames_item_union0 = obj_contentObjectFieldNames_item_union0_error.message;
3349
+ }
3350
+ let obj_contentObjectFieldNames_item_union1 = null;
3351
+ const obj_contentObjectFieldNames_item_union1_error = (() => {
3352
+ if (obj_contentObjectFieldNames_item !== null) {
3353
+ return new TypeError('Expected "null" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
3354
+ }
3355
+ })();
3356
+ if (obj_contentObjectFieldNames_item_union1_error != null) {
3357
+ obj_contentObjectFieldNames_item_union1 = obj_contentObjectFieldNames_item_union1_error.message;
3358
+ }
3359
+ if (obj_contentObjectFieldNames_item_union0 && obj_contentObjectFieldNames_item_union1) {
3360
+ let message = 'Object doesn\'t match union (at "' + path_contentObjectFieldNames_item + '")';
3361
+ message += '\n' + obj_contentObjectFieldNames_item_union0.split('\n').map((line) => '\t' + line).join('\n');
3362
+ message += '\n' + obj_contentObjectFieldNames_item_union1.split('\n').map((line) => '\t' + line).join('\n');
3363
+ return new TypeError(message);
3364
+ }
3365
+ }
3333
3366
  const obj_contentObjectName = obj.contentObjectName;
3334
3367
  const path_contentObjectName = path + '.contentObjectName';
3335
3368
  let obj_contentObjectName_union0 = null;
@@ -3461,6 +3494,11 @@ const select$2 = function PersonalizationSchemaRepresentationSelect() {
3461
3494
  plural: true,
3462
3495
  selections: PersonalizationAttributeRepresentation__selections
3463
3496
  },
3497
+ {
3498
+ name: 'contentObjectFieldNames',
3499
+ kind: 'Scalar',
3500
+ plural: true
3501
+ },
3464
3502
  {
3465
3503
  name: 'contentObjectName',
3466
3504
  kind: 'Scalar'
@@ -3573,6 +3611,16 @@ function equals(existing, incoming) {
3573
3611
  if (equals_attributes_items === false) {
3574
3612
  return false;
3575
3613
  }
3614
+ const existing_contentObjectFieldNames = existing.contentObjectFieldNames;
3615
+ const incoming_contentObjectFieldNames = incoming.contentObjectFieldNames;
3616
+ const equals_contentObjectFieldNames_items = equalsArray(existing_contentObjectFieldNames, incoming_contentObjectFieldNames, (existing_contentObjectFieldNames_item, incoming_contentObjectFieldNames_item) => {
3617
+ if (!(existing_contentObjectFieldNames_item === incoming_contentObjectFieldNames_item)) {
3618
+ return false;
3619
+ }
3620
+ });
3621
+ if (equals_contentObjectFieldNames_items === false) {
3622
+ return false;
3623
+ }
3576
3624
  const existing_contentObjectName = existing.contentObjectName;
3577
3625
  const incoming_contentObjectName = incoming.contentObjectName;
3578
3626
  if (!(existing_contentObjectName === incoming_contentObjectName)) {
@@ -3650,6 +3698,7 @@ const createPersonalizationSchema_ConfigPropertyMetadata = [
3650
3698
  generateParamConfigMetadata('label', true, 2 /* Body */, 4 /* Unsupported */),
3651
3699
  generateParamConfigMetadata('name', true, 2 /* Body */, 4 /* Unsupported */),
3652
3700
  generateParamConfigMetadata('attributes', true, 2 /* Body */, 4 /* Unsupported */, true),
3701
+ generateParamConfigMetadata('contentObjectFieldNames', true, 2 /* Body */, 4 /* Unsupported */, true),
3653
3702
  generateParamConfigMetadata('contentObjectName', true, 2 /* Body */, 4 /* Unsupported */),
3654
3703
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 0 /* String */),
3655
3704
  generateParamConfigMetadata('personalizationType', true, 2 /* Body */, 0 /* String */),
@@ -3692,6 +3741,20 @@ function typeCheckConfig$2(untrustedConfig) {
3692
3741
  }
3693
3742
  config.attributes = untrustedConfig_attributes_array;
3694
3743
  }
3744
+ const untrustedConfig_contentObjectFieldNames = untrustedConfig.contentObjectFieldNames;
3745
+ if (ArrayIsArray$1(untrustedConfig_contentObjectFieldNames)) {
3746
+ const untrustedConfig_contentObjectFieldNames_array = [];
3747
+ for (let i = 0, arrayLength = untrustedConfig_contentObjectFieldNames.length; i < arrayLength; i++) {
3748
+ const untrustedConfig_contentObjectFieldNames_item = untrustedConfig_contentObjectFieldNames[i];
3749
+ if (typeof untrustedConfig_contentObjectFieldNames_item === 'string') {
3750
+ untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
3751
+ }
3752
+ if (untrustedConfig_contentObjectFieldNames_item === null) {
3753
+ untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
3754
+ }
3755
+ }
3756
+ config.contentObjectFieldNames = untrustedConfig_contentObjectFieldNames_array;
3757
+ }
3695
3758
  const untrustedConfig_contentObjectName = untrustedConfig.contentObjectName;
3696
3759
  if (typeof untrustedConfig_contentObjectName === 'string') {
3697
3760
  config.contentObjectName = untrustedConfig_contentObjectName;
@@ -13,12 +13,12 @@ export interface CreatePersonalizationPointConfig {
13
13
  abnExperimentName?: string | null;
14
14
  dataSpaceName: string | null;
15
15
  decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
16
+ maxItemsCount?: number | null;
16
17
  profileDataGraphName: string | null;
18
+ rootPersonalizationPointId?: string | null;
17
19
  schemaEnum?: string | null;
18
20
  schemaName?: string | null;
19
21
  source: string;
20
- rootPersonalizationPointId?: string | null;
21
- maxItemsCount?: number | null;
22
22
  }
23
23
  export declare const createResourceParams: (config: CreatePersonalizationPointConfig) => resources_postPersonalizationPersonalizationPoints_ResourceRequestConfig;
24
24
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>): adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>;
@@ -11,6 +11,7 @@ export interface CreatePersonalizationSchemaConfig {
11
11
  label: string | null;
12
12
  name: string | null;
13
13
  attributes: Array<types_PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
14
+ contentObjectFieldNames: Array<string | null>;
14
15
  contentObjectName: string | null;
15
16
  dataSpaceName: string;
16
17
  personalizationType: string;
@@ -14,12 +14,12 @@ export interface UpdatePersonalizationPointConfig {
14
14
  abnExperimentName?: string | null;
15
15
  dataSpaceName: string | null;
16
16
  decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
17
+ maxItemsCount?: number | null;
17
18
  profileDataGraphName: string | null;
19
+ rootPersonalizationPointId?: string | null;
18
20
  schemaEnum?: string | null;
19
21
  schemaName?: string | null;
20
22
  source: string;
21
- rootPersonalizationPointId?: string | null;
22
- maxItemsCount?: number | null;
23
23
  }
24
24
  export declare const createResourceParams: (config: UpdatePersonalizationPointConfig) => resources_putPersonalizationPersonalizationPointsByIdOrName_ResourceRequestConfig;
25
25
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>): adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>;
@@ -9,12 +9,12 @@ export interface ResourceRequestConfig {
9
9
  abnExperimentName?: string | null;
10
10
  dataSpaceName: string | null;
11
11
  decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
12
+ maxItemsCount?: number | null;
12
13
  profileDataGraphName: string | null;
14
+ rootPersonalizationPointId?: string | null;
13
15
  schemaEnum?: string | null;
14
16
  schemaName?: string | null;
15
17
  source: string;
16
- rootPersonalizationPointId?: string | null;
17
- maxItemsCount?: number | null;
18
18
  };
19
19
  }
20
20
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -7,6 +7,7 @@ export interface ResourceRequestConfig {
7
7
  label: string | null;
8
8
  name: string | null;
9
9
  attributes: Array<types_PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
10
+ contentObjectFieldNames: Array<string | null>;
10
11
  contentObjectName: string | null;
11
12
  dataSpaceName: string;
12
13
  personalizationType: string;
@@ -12,12 +12,12 @@ export interface ResourceRequestConfig {
12
12
  abnExperimentName?: string | null;
13
13
  dataSpaceName: string | null;
14
14
  decisions: Array<types_PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation>;
15
+ maxItemsCount?: number | null;
15
16
  profileDataGraphName: string | null;
17
+ rootPersonalizationPointId?: string | null;
16
18
  schemaEnum?: string | null;
17
19
  schemaName?: string | null;
18
20
  source: string;
19
- rootPersonalizationPointId?: string | null;
20
- maxItemsCount?: number | null;
21
21
  };
22
22
  }
23
23
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -1,6 +1,6 @@
1
1
  import { PersonalizationAttributeInputRepresentation as PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation } from './PersonalizationAttributeInputRepresentation';
2
2
  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';
3
- export declare const VERSION = "d9192fe4202610c8af174367fbc5f53c";
3
+ export declare const VERSION = "54061b79e668e28df49a772e1efbd080";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: PersonalizationSchemaInputRepresentation, existing: PersonalizationSchemaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationSchemaInputRepresentationNormalized;
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  export interface PersonalizationSchemaInputRepresentationNormalized {
18
18
  /** List of Personalization Attributes associated with the Personalization Schema */
19
19
  attributes: Array<PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
20
+ /** List of DMO field API names */
21
+ contentObjectFieldNames: Array<string | null>;
20
22
  /** The API name of the associated Content Object */
21
23
  contentObjectName: string | null;
22
24
  /** The API name of the Data Space associated with the Personalization Schema */
@@ -38,6 +40,7 @@ export interface PersonalizationSchemaInputRepresentationNormalized {
38
40
  */
39
41
  export interface PersonalizationSchemaInputRepresentation {
40
42
  attributes: Array<PersonalizationAttributeInputRepresentation_PersonalizationAttributeInputRepresentation>;
43
+ contentObjectFieldNames: Array<string | null>;
41
44
  contentObjectName: string | null;
42
45
  dataSpaceName: string;
43
46
  description: string | null;
@@ -1,7 +1,7 @@
1
1
  import { PersonalizationAttributeRepresentation as PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation } from './PersonalizationAttributeRepresentation';
2
2
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
3
  export declare const TTL = 600;
4
- export declare const VERSION = "5af63dda9547f61a93c8ca2ee190887f";
4
+ export declare const VERSION = "25740f87643de6fdae570c77bbec7377";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
7
7
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -27,6 +27,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
27
27
  export interface PersonalizationSchemaRepresentationNormalized {
28
28
  /** List of Personalization Attributes associated with the Personalization Schema */
29
29
  attributes: Array<PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation>;
30
+ /** List of DMO Field API names */
31
+ contentObjectFieldNames: Array<string | null>;
30
32
  /** The API name of the associated Content Object */
31
33
  contentObjectName: string | null;
32
34
  /** Created by id */
@@ -60,6 +62,7 @@ export interface PersonalizationSchemaRepresentationNormalized {
60
62
  */
61
63
  export interface PersonalizationSchemaRepresentation {
62
64
  attributes: Array<PersonalizationAttributeRepresentation_PersonalizationAttributeRepresentation>;
65
+ contentObjectFieldNames: Array<string | null>;
63
66
  contentObjectName: string | null;
64
67
  createdById: string;
65
68
  createdDate: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-personalization-service",
3
- "version": "1.319.0",
3
+ "version": "1.320.0",
4
4
  "description": "wire adapters for personalization service connect api",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-personalization-service.js",
@@ -41,10 +41,10 @@
41
41
  "test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
42
42
  },
43
43
  "dependencies": {
44
- "@salesforce/lds-bindings": "^1.319.0"
44
+ "@salesforce/lds-bindings": "^1.320.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.319.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.320.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -2535,12 +2535,12 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
2535
2535
  generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
2536
2536
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
2537
2537
  generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
2538
+ generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2538
2539
  generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
2540
+ generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2539
2541
  generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
2540
2542
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2541
2543
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2542
- generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
2543
- generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
2544
2544
  ];
2545
2545
  const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
2546
2546
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
@@ -2594,6 +2594,13 @@ function typeCheckConfig$6(untrustedConfig) {
2594
2594
  }
2595
2595
  config.decisions = untrustedConfig_decisions_array;
2596
2596
  }
2597
+ const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
2598
+ if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
2599
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
2600
+ }
2601
+ if (untrustedConfig_maxItemsCount === null) {
2602
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
2603
+ }
2597
2604
  const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
2598
2605
  if (typeof untrustedConfig_profileDataGraphName === 'string') {
2599
2606
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
@@ -2601,6 +2608,13 @@ function typeCheckConfig$6(untrustedConfig) {
2601
2608
  if (untrustedConfig_profileDataGraphName === null) {
2602
2609
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
2603
2610
  }
2611
+ const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
2612
+ if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
2613
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2614
+ }
2615
+ if (untrustedConfig_rootPersonalizationPointId === null) {
2616
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2617
+ }
2604
2618
  const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
2605
2619
  if (typeof untrustedConfig_schemaEnum === 'string') {
2606
2620
  config.schemaEnum = untrustedConfig_schemaEnum;
@@ -2615,20 +2629,6 @@ function typeCheckConfig$6(untrustedConfig) {
2615
2629
  if (untrustedConfig_schemaName === null) {
2616
2630
  config.schemaName = untrustedConfig_schemaName;
2617
2631
  }
2618
- const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
2619
- if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
2620
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2621
- }
2622
- if (untrustedConfig_rootPersonalizationPointId === null) {
2623
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
2624
- }
2625
- const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
2626
- if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
2627
- config.maxItemsCount = untrustedConfig_maxItemsCount;
2628
- }
2629
- if (untrustedConfig_maxItemsCount === null) {
2630
- config.maxItemsCount = untrustedConfig_maxItemsCount;
2631
- }
2632
2632
  return config;
2633
2633
  }
2634
2634
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -2911,7 +2911,7 @@ function equals$1(existing, incoming) {
2911
2911
  }
2912
2912
 
2913
2913
  const TTL = 600;
2914
- const VERSION = "5af63dda9547f61a93c8ca2ee190887f";
2914
+ const VERSION = "25740f87643de6fdae570c77bbec7377";
2915
2915
  function validate(obj, path = 'PersonalizationSchemaRepresentation') {
2916
2916
  const v_error = (() => {
2917
2917
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2932,6 +2932,39 @@ function validate(obj, path = 'PersonalizationSchemaRepresentation') {
2932
2932
  return new TypeError(message);
2933
2933
  }
2934
2934
  }
2935
+ const obj_contentObjectFieldNames = obj.contentObjectFieldNames;
2936
+ const path_contentObjectFieldNames = path + '.contentObjectFieldNames';
2937
+ if (!ArrayIsArray(obj_contentObjectFieldNames)) {
2938
+ return new TypeError('Expected "array" but received "' + typeof obj_contentObjectFieldNames + '" (at "' + path_contentObjectFieldNames + '")');
2939
+ }
2940
+ for (let i = 0; i < obj_contentObjectFieldNames.length; i++) {
2941
+ const obj_contentObjectFieldNames_item = obj_contentObjectFieldNames[i];
2942
+ const path_contentObjectFieldNames_item = path_contentObjectFieldNames + '[' + i + ']';
2943
+ let obj_contentObjectFieldNames_item_union0 = null;
2944
+ const obj_contentObjectFieldNames_item_union0_error = (() => {
2945
+ if (typeof obj_contentObjectFieldNames_item !== 'string') {
2946
+ return new TypeError('Expected "string" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
2947
+ }
2948
+ })();
2949
+ if (obj_contentObjectFieldNames_item_union0_error != null) {
2950
+ obj_contentObjectFieldNames_item_union0 = obj_contentObjectFieldNames_item_union0_error.message;
2951
+ }
2952
+ let obj_contentObjectFieldNames_item_union1 = null;
2953
+ const obj_contentObjectFieldNames_item_union1_error = (() => {
2954
+ if (obj_contentObjectFieldNames_item !== null) {
2955
+ return new TypeError('Expected "null" but received "' + typeof obj_contentObjectFieldNames_item + '" (at "' + path_contentObjectFieldNames_item + '")');
2956
+ }
2957
+ })();
2958
+ if (obj_contentObjectFieldNames_item_union1_error != null) {
2959
+ obj_contentObjectFieldNames_item_union1 = obj_contentObjectFieldNames_item_union1_error.message;
2960
+ }
2961
+ if (obj_contentObjectFieldNames_item_union0 && obj_contentObjectFieldNames_item_union1) {
2962
+ let message = 'Object doesn\'t match union (at "' + path_contentObjectFieldNames_item + '")';
2963
+ message += '\n' + obj_contentObjectFieldNames_item_union0.split('\n').map((line) => '\t' + line).join('\n');
2964
+ message += '\n' + obj_contentObjectFieldNames_item_union1.split('\n').map((line) => '\t' + line).join('\n');
2965
+ return new TypeError(message);
2966
+ }
2967
+ }
2935
2968
  const obj_contentObjectName = obj.contentObjectName;
2936
2969
  const path_contentObjectName = path + '.contentObjectName';
2937
2970
  let obj_contentObjectName_union0 = null;
@@ -3063,6 +3096,11 @@ const select$4 = function PersonalizationSchemaRepresentationSelect() {
3063
3096
  plural: true,
3064
3097
  selections: PersonalizationAttributeRepresentation__selections
3065
3098
  },
3099
+ {
3100
+ name: 'contentObjectFieldNames',
3101
+ kind: 'Scalar',
3102
+ plural: true
3103
+ },
3066
3104
  {
3067
3105
  name: 'contentObjectName',
3068
3106
  kind: 'Scalar'
@@ -3175,6 +3213,16 @@ function equals(existing, incoming) {
3175
3213
  if (equals_attributes_items === false) {
3176
3214
  return false;
3177
3215
  }
3216
+ const existing_contentObjectFieldNames = existing.contentObjectFieldNames;
3217
+ const incoming_contentObjectFieldNames = incoming.contentObjectFieldNames;
3218
+ const equals_contentObjectFieldNames_items = equalsArray(existing_contentObjectFieldNames, incoming_contentObjectFieldNames, (existing_contentObjectFieldNames_item, incoming_contentObjectFieldNames_item) => {
3219
+ if (!(existing_contentObjectFieldNames_item === incoming_contentObjectFieldNames_item)) {
3220
+ return false;
3221
+ }
3222
+ });
3223
+ if (equals_contentObjectFieldNames_items === false) {
3224
+ return false;
3225
+ }
3178
3226
  const existing_contentObjectName = existing.contentObjectName;
3179
3227
  const incoming_contentObjectName = incoming.contentObjectName;
3180
3228
  if (!(existing_contentObjectName === incoming_contentObjectName)) {
@@ -3252,6 +3300,7 @@ const createPersonalizationSchema_ConfigPropertyMetadata = [
3252
3300
  generateParamConfigMetadata('label', true, 2 /* Body */, 4 /* Unsupported */),
3253
3301
  generateParamConfigMetadata('name', true, 2 /* Body */, 4 /* Unsupported */),
3254
3302
  generateParamConfigMetadata('attributes', true, 2 /* Body */, 4 /* Unsupported */, true),
3303
+ generateParamConfigMetadata('contentObjectFieldNames', true, 2 /* Body */, 4 /* Unsupported */, true),
3255
3304
  generateParamConfigMetadata('contentObjectName', true, 2 /* Body */, 4 /* Unsupported */),
3256
3305
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 0 /* String */),
3257
3306
  generateParamConfigMetadata('personalizationType', true, 2 /* Body */, 0 /* String */),
@@ -3294,6 +3343,20 @@ function typeCheckConfig$5(untrustedConfig) {
3294
3343
  }
3295
3344
  config.attributes = untrustedConfig_attributes_array;
3296
3345
  }
3346
+ const untrustedConfig_contentObjectFieldNames = untrustedConfig.contentObjectFieldNames;
3347
+ if (ArrayIsArray$1(untrustedConfig_contentObjectFieldNames)) {
3348
+ const untrustedConfig_contentObjectFieldNames_array = [];
3349
+ for (let i = 0, arrayLength = untrustedConfig_contentObjectFieldNames.length; i < arrayLength; i++) {
3350
+ const untrustedConfig_contentObjectFieldNames_item = untrustedConfig_contentObjectFieldNames[i];
3351
+ if (typeof untrustedConfig_contentObjectFieldNames_item === 'string') {
3352
+ untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
3353
+ }
3354
+ if (untrustedConfig_contentObjectFieldNames_item === null) {
3355
+ untrustedConfig_contentObjectFieldNames_array.push(untrustedConfig_contentObjectFieldNames_item);
3356
+ }
3357
+ }
3358
+ config.contentObjectFieldNames = untrustedConfig_contentObjectFieldNames_array;
3359
+ }
3297
3360
  const untrustedConfig_contentObjectName = untrustedConfig.contentObjectName;
3298
3361
  if (typeof untrustedConfig_contentObjectName === 'string') {
3299
3362
  config.contentObjectName = untrustedConfig_contentObjectName;
@@ -3880,12 +3943,12 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
3880
3943
  generateParamConfigMetadata('abnExperimentName', false, 2 /* Body */, 4 /* Unsupported */),
3881
3944
  generateParamConfigMetadata('dataSpaceName', true, 2 /* Body */, 4 /* Unsupported */),
3882
3945
  generateParamConfigMetadata('decisions', true, 2 /* Body */, 4 /* Unsupported */, true),
3946
+ generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
3883
3947
  generateParamConfigMetadata('profileDataGraphName', true, 2 /* Body */, 4 /* Unsupported */),
3948
+ generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
3884
3949
  generateParamConfigMetadata('schemaEnum', false, 2 /* Body */, 4 /* Unsupported */),
3885
3950
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
3886
3951
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
3887
- generateParamConfigMetadata('rootPersonalizationPointId', false, 2 /* Body */, 4 /* Unsupported */),
3888
- generateParamConfigMetadata('maxItemsCount', false, 2 /* Body */, 4 /* Unsupported */),
3889
3952
  ];
3890
3953
  const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updatePersonalizationPoint_ConfigPropertyMetadata);
3891
3954
  const createResourceParams = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
@@ -3939,6 +4002,13 @@ function typeCheckConfig(untrustedConfig) {
3939
4002
  }
3940
4003
  config.decisions = untrustedConfig_decisions_array;
3941
4004
  }
4005
+ const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
4006
+ if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
4007
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
4008
+ }
4009
+ if (untrustedConfig_maxItemsCount === null) {
4010
+ config.maxItemsCount = untrustedConfig_maxItemsCount;
4011
+ }
3942
4012
  const untrustedConfig_profileDataGraphName = untrustedConfig.profileDataGraphName;
3943
4013
  if (typeof untrustedConfig_profileDataGraphName === 'string') {
3944
4014
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
@@ -3946,6 +4016,13 @@ function typeCheckConfig(untrustedConfig) {
3946
4016
  if (untrustedConfig_profileDataGraphName === null) {
3947
4017
  config.profileDataGraphName = untrustedConfig_profileDataGraphName;
3948
4018
  }
4019
+ const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
4020
+ if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
4021
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
4022
+ }
4023
+ if (untrustedConfig_rootPersonalizationPointId === null) {
4024
+ config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
4025
+ }
3949
4026
  const untrustedConfig_schemaEnum = untrustedConfig.schemaEnum;
3950
4027
  if (typeof untrustedConfig_schemaEnum === 'string') {
3951
4028
  config.schemaEnum = untrustedConfig_schemaEnum;
@@ -3960,20 +4037,6 @@ function typeCheckConfig(untrustedConfig) {
3960
4037
  if (untrustedConfig_schemaName === null) {
3961
4038
  config.schemaName = untrustedConfig_schemaName;
3962
4039
  }
3963
- const untrustedConfig_rootPersonalizationPointId = untrustedConfig.rootPersonalizationPointId;
3964
- if (typeof untrustedConfig_rootPersonalizationPointId === 'string') {
3965
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3966
- }
3967
- if (untrustedConfig_rootPersonalizationPointId === null) {
3968
- config.rootPersonalizationPointId = untrustedConfig_rootPersonalizationPointId;
3969
- }
3970
- const untrustedConfig_maxItemsCount = untrustedConfig.maxItemsCount;
3971
- if (typeof untrustedConfig_maxItemsCount === 'number' && Math.floor(untrustedConfig_maxItemsCount) === untrustedConfig_maxItemsCount) {
3972
- config.maxItemsCount = untrustedConfig_maxItemsCount;
3973
- }
3974
- if (untrustedConfig_maxItemsCount === null) {
3975
- config.maxItemsCount = untrustedConfig_maxItemsCount;
3976
- }
3977
4040
  return config;
3978
4041
  }
3979
4042
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -4079,4 +4142,4 @@ withDefaultLuvio((luvio) => {
4079
4142
  });
4080
4143
 
4081
4144
  export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
4082
- // version: 1.319.0-73ecdbd0ce
4145
+ // version: 1.320.0-e3e5f3d984
package/src/raml/api.raml CHANGED
@@ -96,6 +96,7 @@ types:
96
96
  enum:
97
97
  - BlockBuilder
98
98
  - ExperienceBuilder
99
+ - FlowBuilder
99
100
  - PersonalizationApp
100
101
  ABnExperimentRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
101
102
  description: ABn Experiment Output Representation
@@ -151,6 +152,7 @@ types:
151
152
  enum:
152
153
  - BlockBuilder
153
154
  - ExperienceBuilder
155
+ - FlowBuilder
154
156
  - PersonalizationApp
155
157
  startedDate:
156
158
  description: Started date
@@ -473,10 +475,18 @@ types:
473
475
  type: array
474
476
  items:
475
477
  type: PersonalizationDecisionInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
478
+ maxItemsCount:
479
+ required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
480
+ description: The max number of content items to be returned
481
+ type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
476
482
  profileDataGraphName:
477
483
  description: The API name of the Profile Data Graph associated with the Personalization
478
484
  Point
479
485
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
486
+ rootPersonalizationPointId:
487
+ required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
488
+ description: The ID of the root Personalization Point
489
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
480
490
  schemaEnum:
481
491
  required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
482
492
  description: A schema enum associated with the Personalization Point if it
@@ -496,15 +506,9 @@ types:
496
506
  enum:
497
507
  - BlockBuilder
498
508
  - ExperienceBuilder
509
+ - FlowBuilder
499
510
  - PersonalizationApp
500
- rootPersonalizationPointId:
501
- required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
502
- description: The ID of the root Personalization Point
503
- type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
504
- maxItemsCount:
505
- required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
506
- description: The max number of content items to be returned
507
- type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
511
+
508
512
  PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
509
513
  description: Personalization Point Output Representation
510
514
  type: object
@@ -550,10 +554,16 @@ types:
550
554
  description:
551
555
  description: Personalization Point description
552
556
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
557
+ maxItemsCount:
558
+ description: The max number of content items to be returned
559
+ type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
553
560
  profileDataGraphName:
554
561
  description: The API name of the Profile Data Graph associated with the Personalization
555
562
  Point
556
563
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
564
+ rootPersonalizationPointId:
565
+ description: The ID of the root Personalization Point
566
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
557
567
  schemaEnum:
558
568
  description: A schema enum associated with the Personalization Point if it
559
569
  has a standard schema
@@ -571,6 +581,7 @@ types:
571
581
  enum:
572
582
  - BlockBuilder
573
583
  - ExperienceBuilder
584
+ - FlowBuilder
574
585
  - PersonalizationApp
575
586
  status:
576
587
  description: Personalization Point status
@@ -582,12 +593,7 @@ types:
582
593
  - Deleting
583
594
  - EditError
584
595
  - Processing
585
- rootPersonalizationPointId:
586
- description: The ID of the root Personalization Point
587
- type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
588
- maxItemsCount:
589
- description: The max number of content items to be returned
590
- type: integer | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
596
+
591
597
  PersonalizationSchemaInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
592
598
  description: Personalization Schema Input Representation
593
599
  type: object
@@ -607,6 +613,11 @@ types:
607
613
  type: array
608
614
  items:
609
615
  type: PersonalizationAttributeInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
616
+ contentObjectFieldNames:
617
+ description: List of DMO field API names
618
+ type: array
619
+ items:
620
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
610
621
  contentObjectName:
611
622
  description: The API name of the associated Content Object
612
623
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
@@ -656,6 +667,11 @@ types:
656
667
  type: array
657
668
  items:
658
669
  type: PersonalizationAttributeRepresentation
670
+ contentObjectFieldNames:
671
+ description: List of DMO Field API names
672
+ type: array
673
+ items:
674
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
659
675
  contentObjectName:
660
676
  description: The API name of the associated Content Object
661
677
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)