@salesforce/lds-adapters-cdp-personalization-service 1.354.0-dev16 → 1.354.0-dev18
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.
|
@@ -4950,7 +4950,7 @@ function equals$2(existing, incoming) {
|
|
|
4950
4950
|
return true;
|
|
4951
4951
|
}
|
|
4952
4952
|
|
|
4953
|
-
const VERSION$1 = "
|
|
4953
|
+
const VERSION$1 = "d1b90f3586125de94a321fae68717c07";
|
|
4954
4954
|
function validate$1(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
4955
4955
|
const v_error = (() => {
|
|
4956
4956
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4996,10 +4996,10 @@ function validate$1(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
|
4996
4996
|
if (typeof obj_name !== 'string') {
|
|
4997
4997
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
4998
4998
|
}
|
|
4999
|
-
const
|
|
5000
|
-
const
|
|
5001
|
-
if (
|
|
5002
|
-
return new TypeError('Expected "
|
|
4999
|
+
const obj_profileDataGraphInfo = obj.profileDataGraphInfo;
|
|
5000
|
+
const path_profileDataGraphInfo = path + '.profileDataGraphInfo';
|
|
5001
|
+
if (obj_profileDataGraphInfo === undefined) {
|
|
5002
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_profileDataGraphInfo + '" (at "' + path_profileDataGraphInfo + '")');
|
|
5003
5003
|
}
|
|
5004
5004
|
const obj_status = obj.status;
|
|
5005
5005
|
const path_status = path + '.status';
|
|
@@ -5044,8 +5044,9 @@ const select$2 = function PersonalizationDataMlModelRepresentationSelect() {
|
|
|
5044
5044
|
kind: 'Scalar'
|
|
5045
5045
|
},
|
|
5046
5046
|
{
|
|
5047
|
-
name: '
|
|
5048
|
-
kind: '
|
|
5047
|
+
name: 'profileDataGraphInfo',
|
|
5048
|
+
kind: 'Object',
|
|
5049
|
+
// any
|
|
5049
5050
|
},
|
|
5050
5051
|
{
|
|
5051
5052
|
name: 'status',
|
|
@@ -5075,11 +5076,6 @@ function equals$1(existing, incoming) {
|
|
|
5075
5076
|
if (!(existing_name === incoming_name)) {
|
|
5076
5077
|
return false;
|
|
5077
5078
|
}
|
|
5078
|
-
const existing_profileDataGraphName = existing.profileDataGraphName;
|
|
5079
|
-
const incoming_profileDataGraphName = incoming.profileDataGraphName;
|
|
5080
|
-
if (!(existing_profileDataGraphName === incoming_profileDataGraphName)) {
|
|
5081
|
-
return false;
|
|
5082
|
-
}
|
|
5083
5079
|
const existing_status = existing.status;
|
|
5084
5080
|
const incoming_status = incoming.status;
|
|
5085
5081
|
if (!(existing_status === incoming_status)) {
|
|
@@ -5100,6 +5096,11 @@ function equals$1(existing, incoming) {
|
|
|
5100
5096
|
if (JSONStringify(incoming_mlConfiguredModel) !== JSONStringify(existing_mlConfiguredModel)) {
|
|
5101
5097
|
return false;
|
|
5102
5098
|
}
|
|
5099
|
+
const existing_profileDataGraphInfo = existing.profileDataGraphInfo;
|
|
5100
|
+
const incoming_profileDataGraphInfo = incoming.profileDataGraphInfo;
|
|
5101
|
+
if (JSONStringify(incoming_profileDataGraphInfo) !== JSONStringify(existing_profileDataGraphInfo)) {
|
|
5102
|
+
return false;
|
|
5103
|
+
}
|
|
5103
5104
|
return true;
|
|
5104
5105
|
}
|
|
5105
5106
|
|
package/dist/es/es2018/types/src/generated/types/PersonalizationDataMlModelRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PersonalizationDataMlModelInputFeatureRepresentation as PersonalizationDataMlModelInputFeatureRepresentation_PersonalizationDataMlModelInputFeatureRepresentation } from './PersonalizationDataMlModelInputFeatureRepresentation';
|
|
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 = "
|
|
3
|
+
export declare const VERSION = "d1b90f3586125de94a321fae68717c07";
|
|
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: PersonalizationDataMlModelRepresentation, existing: PersonalizationDataMlModelRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PersonalizationDataMlModelRepresentationNormalized;
|
|
@@ -27,8 +27,8 @@ export interface PersonalizationDataMlModelRepresentationNormalized {
|
|
|
27
27
|
mlConfiguredModel: unknown;
|
|
28
28
|
/** Name of the model mapping */
|
|
29
29
|
name: string;
|
|
30
|
-
/** Profile Data Graph
|
|
31
|
-
|
|
30
|
+
/** Profile Data Graph Info */
|
|
31
|
+
profileDataGraphInfo: unknown;
|
|
32
32
|
/** status of the model mapping */
|
|
33
33
|
status: string;
|
|
34
34
|
}
|
|
@@ -45,6 +45,6 @@ export interface PersonalizationDataMlModelRepresentation {
|
|
|
45
45
|
label: string;
|
|
46
46
|
mlConfiguredModel: unknown;
|
|
47
47
|
name: string;
|
|
48
|
-
|
|
48
|
+
profileDataGraphInfo: unknown;
|
|
49
49
|
status: string;
|
|
50
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-personalization-service",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev18",
|
|
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",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.354.0-
|
|
45
|
+
"@salesforce/lds-bindings": "^1.354.0-dev18"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev18"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -3728,7 +3728,7 @@ function equals$5(existing, incoming) {
|
|
|
3728
3728
|
return true;
|
|
3729
3729
|
}
|
|
3730
3730
|
|
|
3731
|
-
const VERSION$4 = "
|
|
3731
|
+
const VERSION$4 = "d1b90f3586125de94a321fae68717c07";
|
|
3732
3732
|
function validate$7(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
3733
3733
|
const v_error = (() => {
|
|
3734
3734
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3774,10 +3774,10 @@ function validate$7(obj, path = 'PersonalizationDataMlModelRepresentation') {
|
|
|
3774
3774
|
if (typeof obj_name !== 'string') {
|
|
3775
3775
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3776
3776
|
}
|
|
3777
|
-
const
|
|
3778
|
-
const
|
|
3779
|
-
if (
|
|
3780
|
-
return new TypeError('Expected "
|
|
3777
|
+
const obj_profileDataGraphInfo = obj.profileDataGraphInfo;
|
|
3778
|
+
const path_profileDataGraphInfo = path + '.profileDataGraphInfo';
|
|
3779
|
+
if (obj_profileDataGraphInfo === undefined) {
|
|
3780
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_profileDataGraphInfo + '" (at "' + path_profileDataGraphInfo + '")');
|
|
3781
3781
|
}
|
|
3782
3782
|
const obj_status = obj.status;
|
|
3783
3783
|
const path_status = path + '.status';
|
|
@@ -3822,8 +3822,9 @@ const select$a = function PersonalizationDataMlModelRepresentationSelect() {
|
|
|
3822
3822
|
kind: 'Scalar'
|
|
3823
3823
|
},
|
|
3824
3824
|
{
|
|
3825
|
-
name: '
|
|
3826
|
-
kind: '
|
|
3825
|
+
name: 'profileDataGraphInfo',
|
|
3826
|
+
kind: 'Object',
|
|
3827
|
+
// any
|
|
3827
3828
|
},
|
|
3828
3829
|
{
|
|
3829
3830
|
name: 'status',
|
|
@@ -3853,11 +3854,6 @@ function equals$4(existing, incoming) {
|
|
|
3853
3854
|
if (!(existing_name === incoming_name)) {
|
|
3854
3855
|
return false;
|
|
3855
3856
|
}
|
|
3856
|
-
const existing_profileDataGraphName = existing.profileDataGraphName;
|
|
3857
|
-
const incoming_profileDataGraphName = incoming.profileDataGraphName;
|
|
3858
|
-
if (!(existing_profileDataGraphName === incoming_profileDataGraphName)) {
|
|
3859
|
-
return false;
|
|
3860
|
-
}
|
|
3861
3857
|
const existing_status = existing.status;
|
|
3862
3858
|
const incoming_status = incoming.status;
|
|
3863
3859
|
if (!(existing_status === incoming_status)) {
|
|
@@ -3878,6 +3874,11 @@ function equals$4(existing, incoming) {
|
|
|
3878
3874
|
if (JSONStringify(incoming_mlConfiguredModel) !== JSONStringify(existing_mlConfiguredModel)) {
|
|
3879
3875
|
return false;
|
|
3880
3876
|
}
|
|
3877
|
+
const existing_profileDataGraphInfo = existing.profileDataGraphInfo;
|
|
3878
|
+
const incoming_profileDataGraphInfo = incoming.profileDataGraphInfo;
|
|
3879
|
+
if (JSONStringify(incoming_profileDataGraphInfo) !== JSONStringify(existing_profileDataGraphInfo)) {
|
|
3880
|
+
return false;
|
|
3881
|
+
}
|
|
3881
3882
|
return true;
|
|
3882
3883
|
}
|
|
3883
3884
|
|
|
@@ -5473,4 +5474,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5473
5474
|
});
|
|
5474
5475
|
|
|
5475
5476
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationEsModelMapping, getPersonalizationEsModelMapping_imperative, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, getTrainingHistory, getTrainingHistory_imperative, postPersonalizationRecommenderSimulateAction, postPersonalizationRecommenderSimulateAction_imperative, updatePersonalizationPoint };
|
|
5476
|
-
// version: 1.354.0-
|
|
5477
|
+
// version: 1.354.0-dev18-42dc52a64b
|
package/src/raml/api.raml
CHANGED
|
@@ -1182,7 +1182,10 @@ types:
|
|
|
1182
1182
|
type: string
|
|
1183
1183
|
enum:
|
|
1184
1184
|
- CalculatedInsights
|
|
1185
|
+
- Contextual
|
|
1185
1186
|
- Direct
|
|
1187
|
+
- Related
|
|
1188
|
+
- Segment
|
|
1186
1189
|
PersonalizationDataMlModelCollectionRepresentation:
|
|
1187
1190
|
description: Represent Personalization Data Ml Model Collection
|
|
1188
1191
|
type: object
|
|
@@ -1216,9 +1219,9 @@ types:
|
|
|
1216
1219
|
mlConfiguredModel:
|
|
1217
1220
|
description: Einstein Studio Configured Model
|
|
1218
1221
|
type: any
|
|
1219
|
-
|
|
1220
|
-
description: Profile Data Graph
|
|
1221
|
-
type:
|
|
1222
|
+
profileDataGraphInfo:
|
|
1223
|
+
description: Profile Data Graph Info
|
|
1224
|
+
type: any
|
|
1222
1225
|
status:
|
|
1223
1226
|
description: status of the model mapping
|
|
1224
1227
|
type: string
|