@salesforce/lds-adapters-cdp-personalization-service 1.321.0 → 1.322.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.
@@ -1816,7 +1816,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1816
1816
  }
1817
1817
 
1818
1818
  const TTL$1 = 600;
1819
- const VERSION$2 = "124a87f542c0ead35444350baf5f3d06";
1819
+ const VERSION$2 = "e5643ca13ef54c890c9177275a053de3";
1820
1820
  function validate$3(obj, path = 'PersonalizationPointRepresentation') {
1821
1821
  const v_error = (() => {
1822
1822
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2234,6 +2234,32 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
2234
2234
  if (typeof obj_source !== 'string') {
2235
2235
  return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
2236
2236
  }
2237
+ const obj_sourceRecordId = obj.sourceRecordId;
2238
+ const path_sourceRecordId = path + '.sourceRecordId';
2239
+ let obj_sourceRecordId_union0 = null;
2240
+ const obj_sourceRecordId_union0_error = (() => {
2241
+ if (typeof obj_sourceRecordId !== 'string') {
2242
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
2243
+ }
2244
+ })();
2245
+ if (obj_sourceRecordId_union0_error != null) {
2246
+ obj_sourceRecordId_union0 = obj_sourceRecordId_union0_error.message;
2247
+ }
2248
+ let obj_sourceRecordId_union1 = null;
2249
+ const obj_sourceRecordId_union1_error = (() => {
2250
+ if (obj_sourceRecordId !== null) {
2251
+ return new TypeError('Expected "null" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
2252
+ }
2253
+ })();
2254
+ if (obj_sourceRecordId_union1_error != null) {
2255
+ obj_sourceRecordId_union1 = obj_sourceRecordId_union1_error.message;
2256
+ }
2257
+ if (obj_sourceRecordId_union0 && obj_sourceRecordId_union1) {
2258
+ let message = 'Object doesn\'t match union (at "' + path_sourceRecordId + '")';
2259
+ message += '\n' + obj_sourceRecordId_union0.split('\n').map((line) => '\t' + line).join('\n');
2260
+ message += '\n' + obj_sourceRecordId_union1.split('\n').map((line) => '\t' + line).join('\n');
2261
+ return new TypeError(message);
2262
+ }
2237
2263
  const obj_status = obj.status;
2238
2264
  const path_status = path + '.status';
2239
2265
  if (typeof obj_status !== 'string') {
@@ -2377,6 +2403,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
2377
2403
  name: 'source',
2378
2404
  kind: 'Scalar'
2379
2405
  },
2406
+ {
2407
+ name: 'sourceRecordId',
2408
+ kind: 'Scalar'
2409
+ },
2380
2410
  {
2381
2411
  name: 'status',
2382
2412
  kind: 'Scalar'
@@ -2489,6 +2519,11 @@ function equals$2(existing, incoming) {
2489
2519
  if (!(existing_schemaName === incoming_schemaName)) {
2490
2520
  return false;
2491
2521
  }
2522
+ const existing_sourceRecordId = existing.sourceRecordId;
2523
+ const incoming_sourceRecordId = incoming.sourceRecordId;
2524
+ if (!(existing_sourceRecordId === incoming_sourceRecordId)) {
2525
+ return false;
2526
+ }
2492
2527
  const existing_url = existing.url;
2493
2528
  const incoming_url = incoming.url;
2494
2529
  if (!(existing_url === incoming_url)) {
@@ -2574,6 +2609,7 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
2574
2609
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2575
2610
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2576
2611
  generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
2612
+ generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
2577
2613
  ];
2578
2614
  const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
2579
2615
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
@@ -2662,6 +2698,13 @@ function typeCheckConfig$6(untrustedConfig) {
2662
2698
  if (untrustedConfig_schemaName === null) {
2663
2699
  config.schemaName = untrustedConfig_schemaName;
2664
2700
  }
2701
+ const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
2702
+ if (typeof untrustedConfig_sourceRecordId === 'string') {
2703
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
2704
+ }
2705
+ if (untrustedConfig_sourceRecordId === null) {
2706
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
2707
+ }
2665
2708
  return config;
2666
2709
  }
2667
2710
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -2983,6 +3026,7 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
2983
3026
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2984
3027
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2985
3028
  generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
3029
+ generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
2986
3030
  ];
2987
3031
  const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updatePersonalizationPoint_ConfigPropertyMetadata);
2988
3032
  const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
@@ -3071,6 +3115,13 @@ function typeCheckConfig$3(untrustedConfig) {
3071
3115
  if (untrustedConfig_schemaName === null) {
3072
3116
  config.schemaName = untrustedConfig_schemaName;
3073
3117
  }
3118
+ const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
3119
+ if (typeof untrustedConfig_sourceRecordId === 'string') {
3120
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
3121
+ }
3122
+ if (untrustedConfig_sourceRecordId === null) {
3123
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
3124
+ }
3074
3125
  return config;
3075
3126
  }
3076
3127
  function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
@@ -20,6 +20,7 @@ export interface CreatePersonalizationPointConfig {
20
20
  schemaName?: string | null;
21
21
  source: string;
22
22
  isAuthenticationRequired: boolean;
23
+ sourceRecordId?: string | null;
23
24
  }
24
25
  export declare const createResourceParams: (config: CreatePersonalizationPointConfig) => resources_postPersonalizationPersonalizationPoints_ResourceRequestConfig;
25
26
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>): adapter$45$utils_Untrusted<CreatePersonalizationPointConfig>;
@@ -21,6 +21,7 @@ export interface UpdatePersonalizationPointConfig {
21
21
  schemaName?: string | null;
22
22
  source: string;
23
23
  isAuthenticationRequired: boolean;
24
+ sourceRecordId?: string | null;
24
25
  }
25
26
  export declare const createResourceParams: (config: UpdatePersonalizationPointConfig) => resources_putPersonalizationPersonalizationPointsByIdOrName_ResourceRequestConfig;
26
27
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>): adapter$45$utils_Untrusted<UpdatePersonalizationPointConfig>;
@@ -16,6 +16,7 @@ export interface ResourceRequestConfig {
16
16
  schemaName?: string | null;
17
17
  source: string;
18
18
  isAuthenticationRequired: boolean;
19
+ sourceRecordId?: string | null;
19
20
  };
20
21
  }
21
22
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -19,6 +19,7 @@ export interface ResourceRequestConfig {
19
19
  schemaName?: string | null;
20
20
  source: string;
21
21
  isAuthenticationRequired: boolean;
22
+ sourceRecordId?: string | null;
22
23
  };
23
24
  }
24
25
  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, 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 = "843795764aff9e443afcefd87149bb07";
2
+ export declare const VERSION = "a56bb0d42301a5d7f113622bcd19f53f";
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: ABnExperimentInputRepresentation, existing: ABnExperimentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ABnExperimentInputRepresentationNormalized;
@@ -32,6 +32,8 @@ export interface ABnExperimentInputRepresentationNormalized {
32
32
  schemaName: string | null;
33
33
  /** Experiment source */
34
34
  source: string;
35
+ /** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
36
+ sourceRecordId?: string | null;
35
37
  }
36
38
  /**
37
39
  * ABn Experiment Input Representation
@@ -49,4 +51,5 @@ export interface ABnExperimentInputRepresentation {
49
51
  schemaEnum: string | null;
50
52
  schemaName: string | null;
51
53
  source: string;
54
+ sourceRecordId?: string | null;
52
55
  }
@@ -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 = "aa89be3f5e3dc9f43d6e953e75ddee7f";
2
+ export declare const VERSION = "b76725b68a2a994ab2dd2b1a58b80207";
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: ABnExperimentRepresentation, existing: ABnExperimentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ABnExperimentRepresentationNormalized;
@@ -40,6 +40,8 @@ export interface ABnExperimentRepresentationNormalized {
40
40
  schemaName: string | null;
41
41
  /** Where this experiment was created */
42
42
  source: string;
43
+ /** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
44
+ sourceRecordId: string | null;
43
45
  /** Started date */
44
46
  startedDate: string | null;
45
47
  /** Experiment state */
@@ -71,6 +73,7 @@ export interface ABnExperimentRepresentation {
71
73
  schemaEnum: string | null;
72
74
  schemaName: string | null;
73
75
  source: string;
76
+ sourceRecordId: string | null;
74
77
  startedDate: string | null;
75
78
  state: string;
76
79
  status: string;
@@ -1,6 +1,6 @@
1
1
  import { PersonalizationDecisionInputRepresentation as PersonalizationDecisionInputRepresentation_PersonalizationDecisionInputRepresentation } from './PersonalizationDecisionInputRepresentation';
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 = "088f7dafdac5c36490f6eb372c2d1937";
3
+ export declare const VERSION = "0ff402fba9e279e56ef88f49f4a3539d";
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: PersonalizationPointInputRepresentation, existing: PersonalizationPointInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationPointInputRepresentationNormalized;
@@ -41,6 +41,8 @@ export interface PersonalizationPointInputRepresentationNormalized {
41
41
  schemaName?: string | null;
42
42
  /** Personalization Point source */
43
43
  source: string;
44
+ /** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
45
+ sourceRecordId?: string | null;
44
46
  }
45
47
  /**
46
48
  * Personalization Point Input Representation
@@ -62,4 +64,5 @@ export interface PersonalizationPointInputRepresentation {
62
64
  schemaEnum?: string | null;
63
65
  schemaName?: string | null;
64
66
  source: string;
67
+ sourceRecordId?: string | null;
65
68
  }
@@ -1,7 +1,7 @@
1
1
  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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
2
  import { PersonalizationDecisionRepresentation as PersonalizationDecisionRepresentation_PersonalizationDecisionRepresentation } from './PersonalizationDecisionRepresentation';
3
3
  export declare const TTL = 600;
4
- export declare const VERSION = "124a87f542c0ead35444350baf5f3d06";
4
+ export declare const VERSION = "e5643ca13ef54c890c9177275a053de3";
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 {
@@ -70,6 +70,8 @@ export interface PersonalizationPointRepresentationNormalized {
70
70
  schemaName: string | null;
71
71
  /** Personalization Point source */
72
72
  source: string;
73
+ /** A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source. */
74
+ sourceRecordId: string | null;
73
75
  /** Personalization Point status */
74
76
  status: string;
75
77
  /** Url */
@@ -100,6 +102,7 @@ export interface PersonalizationPointRepresentation {
100
102
  schemaEnum: string | null;
101
103
  schemaName: string | null;
102
104
  source: string;
105
+ sourceRecordId: string | null;
103
106
  status: string;
104
107
  url: string | null;
105
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-personalization-service",
3
- "version": "1.321.0",
3
+ "version": "1.322.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.321.0"
44
+ "@salesforce/lds-bindings": "^1.322.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@salesforce/lds-compiler-plugins": "^1.321.0"
47
+ "@salesforce/lds-compiler-plugins": "^1.322.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -1826,7 +1826,7 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
1826
1826
  }
1827
1827
 
1828
1828
  const TTL$1 = 600;
1829
- const VERSION$2 = "124a87f542c0ead35444350baf5f3d06";
1829
+ const VERSION$2 = "e5643ca13ef54c890c9177275a053de3";
1830
1830
  function validate$3(obj, path = 'PersonalizationPointRepresentation') {
1831
1831
  const v_error = (() => {
1832
1832
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2244,6 +2244,32 @@ function validate$3(obj, path = 'PersonalizationPointRepresentation') {
2244
2244
  if (typeof obj_source !== 'string') {
2245
2245
  return new TypeError('Expected "string" but received "' + typeof obj_source + '" (at "' + path_source + '")');
2246
2246
  }
2247
+ const obj_sourceRecordId = obj.sourceRecordId;
2248
+ const path_sourceRecordId = path + '.sourceRecordId';
2249
+ let obj_sourceRecordId_union0 = null;
2250
+ const obj_sourceRecordId_union0_error = (() => {
2251
+ if (typeof obj_sourceRecordId !== 'string') {
2252
+ return new TypeError('Expected "string" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
2253
+ }
2254
+ })();
2255
+ if (obj_sourceRecordId_union0_error != null) {
2256
+ obj_sourceRecordId_union0 = obj_sourceRecordId_union0_error.message;
2257
+ }
2258
+ let obj_sourceRecordId_union1 = null;
2259
+ const obj_sourceRecordId_union1_error = (() => {
2260
+ if (obj_sourceRecordId !== null) {
2261
+ return new TypeError('Expected "null" but received "' + typeof obj_sourceRecordId + '" (at "' + path_sourceRecordId + '")');
2262
+ }
2263
+ })();
2264
+ if (obj_sourceRecordId_union1_error != null) {
2265
+ obj_sourceRecordId_union1 = obj_sourceRecordId_union1_error.message;
2266
+ }
2267
+ if (obj_sourceRecordId_union0 && obj_sourceRecordId_union1) {
2268
+ let message = 'Object doesn\'t match union (at "' + path_sourceRecordId + '")';
2269
+ message += '\n' + obj_sourceRecordId_union0.split('\n').map((line) => '\t' + line).join('\n');
2270
+ message += '\n' + obj_sourceRecordId_union1.split('\n').map((line) => '\t' + line).join('\n');
2271
+ return new TypeError(message);
2272
+ }
2247
2273
  const obj_status = obj.status;
2248
2274
  const path_status = path + '.status';
2249
2275
  if (typeof obj_status !== 'string') {
@@ -2387,6 +2413,10 @@ const select$7 = function PersonalizationPointRepresentationSelect() {
2387
2413
  name: 'source',
2388
2414
  kind: 'Scalar'
2389
2415
  },
2416
+ {
2417
+ name: 'sourceRecordId',
2418
+ kind: 'Scalar'
2419
+ },
2390
2420
  {
2391
2421
  name: 'status',
2392
2422
  kind: 'Scalar'
@@ -2499,6 +2529,11 @@ function equals$2(existing, incoming) {
2499
2529
  if (!(existing_schemaName === incoming_schemaName)) {
2500
2530
  return false;
2501
2531
  }
2532
+ const existing_sourceRecordId = existing.sourceRecordId;
2533
+ const incoming_sourceRecordId = incoming.sourceRecordId;
2534
+ if (!(existing_sourceRecordId === incoming_sourceRecordId)) {
2535
+ return false;
2536
+ }
2502
2537
  const existing_url = existing.url;
2503
2538
  const incoming_url = incoming.url;
2504
2539
  if (!(existing_url === incoming_url)) {
@@ -2584,6 +2619,7 @@ const createPersonalizationPoint_ConfigPropertyMetadata = [
2584
2619
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
2585
2620
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
2586
2621
  generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
2622
+ generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
2587
2623
  ];
2588
2624
  const createPersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, createPersonalizationPoint_ConfigPropertyMetadata);
2589
2625
  const createResourceParams$6 = /*#__PURE__*/ createResourceParams$7(createPersonalizationPoint_ConfigPropertyMetadata);
@@ -2672,6 +2708,13 @@ function typeCheckConfig$6(untrustedConfig) {
2672
2708
  if (untrustedConfig_schemaName === null) {
2673
2709
  config.schemaName = untrustedConfig_schemaName;
2674
2710
  }
2711
+ const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
2712
+ if (typeof untrustedConfig_sourceRecordId === 'string') {
2713
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
2714
+ }
2715
+ if (untrustedConfig_sourceRecordId === null) {
2716
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
2717
+ }
2675
2718
  return config;
2676
2719
  }
2677
2720
  function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
@@ -3993,6 +4036,7 @@ const updatePersonalizationPoint_ConfigPropertyMetadata = [
3993
4036
  generateParamConfigMetadata('schemaName', false, 2 /* Body */, 4 /* Unsupported */),
3994
4037
  generateParamConfigMetadata('source', true, 2 /* Body */, 0 /* String */),
3995
4038
  generateParamConfigMetadata('isAuthenticationRequired', true, 2 /* Body */, 1 /* Boolean */),
4039
+ generateParamConfigMetadata('sourceRecordId', false, 2 /* Body */, 4 /* Unsupported */),
3996
4040
  ];
3997
4041
  const updatePersonalizationPoint_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updatePersonalizationPoint_ConfigPropertyMetadata);
3998
4042
  const createResourceParams = /*#__PURE__*/ createResourceParams$7(updatePersonalizationPoint_ConfigPropertyMetadata);
@@ -4081,6 +4125,13 @@ function typeCheckConfig(untrustedConfig) {
4081
4125
  if (untrustedConfig_schemaName === null) {
4082
4126
  config.schemaName = untrustedConfig_schemaName;
4083
4127
  }
4128
+ const untrustedConfig_sourceRecordId = untrustedConfig.sourceRecordId;
4129
+ if (typeof untrustedConfig_sourceRecordId === 'string') {
4130
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
4131
+ }
4132
+ if (untrustedConfig_sourceRecordId === null) {
4133
+ config.sourceRecordId = untrustedConfig_sourceRecordId;
4134
+ }
4084
4135
  return config;
4085
4136
  }
4086
4137
  function validateAdapterConfig(untrustedConfig, configPropertyNames) {
@@ -4186,4 +4237,4 @@ withDefaultLuvio((luvio) => {
4186
4237
  });
4187
4238
 
4188
4239
  export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
4189
- // version: 1.321.0-40847d67a8
4240
+ // version: 1.322.0-87f682c9f3
package/src/raml/api.raml CHANGED
@@ -98,6 +98,10 @@ types:
98
98
  - ExperienceBuilder
99
99
  - FlowBuilder
100
100
  - PersonalizationApp
101
+ sourceRecordId:
102
+ required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
103
+ description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
104
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
101
105
  ABnExperimentRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
102
106
  description: ABn Experiment Output Representation
103
107
  type: object
@@ -178,6 +182,9 @@ types:
178
182
  stoppedDate:
179
183
  description: Stopped date
180
184
  type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
185
+ sourceRecordId:
186
+ description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
187
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
181
188
  CriteriaRepresentation:
182
189
  description: Personalization Decision Criteria Output Representation
183
190
  type: object
@@ -518,6 +525,11 @@ types:
518
525
  isAuthenticationRequired:
519
526
  description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
520
527
  type: boolean
528
+ sourceRecordId:
529
+ required: false # https://salesforce-internal.slack.com/archives/C5WMAFS02/p1718348083566229
530
+ description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
531
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
532
+
521
533
  PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
522
534
  description: Personalization Point Output Representation
523
535
  type: object
@@ -605,6 +617,9 @@ types:
605
617
  isAuthenticationRequired:
606
618
  description: Whether or not this personalization point requires the user executing it in the runtime to be authenticated
607
619
  type: boolean
620
+ sourceRecordId:
621
+ description: A record which created this Personalization Point and which is responsible for maintaining it. What type of object this is depends on the Source.
622
+ type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
608
623
  PersonalizationSchemaInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
609
624
  description: Personalization Schema Input Representation
610
625
  type: object