@salesforce/lds-adapters-cdp-personalization-service 1.306.0 → 1.308.0-dev1
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.
|
@@ -666,7 +666,7 @@ function validate$7(obj, path = 'SubjectRepresentation') {
|
|
|
666
666
|
return v_error === undefined ? null : v_error;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
const VERSION$5 = "
|
|
669
|
+
const VERSION$5 = "53a3f4b1f9467dccd40ae739c6bb39cf";
|
|
670
670
|
function validate$6(obj, path = 'FilterRepresentation') {
|
|
671
671
|
const v_error = (() => {
|
|
672
672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -805,8 +805,8 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
805
805
|
const path_firstBoundValue = path + '.firstBoundValue';
|
|
806
806
|
let obj_firstBoundValue_union0 = null;
|
|
807
807
|
const obj_firstBoundValue_union0_error = (() => {
|
|
808
|
-
if (typeof obj_firstBoundValue !== '
|
|
809
|
-
return new TypeError('Expected "
|
|
808
|
+
if (typeof obj_firstBoundValue !== 'number') {
|
|
809
|
+
return new TypeError('Expected "number" but received "' + typeof obj_firstBoundValue + '" (at "' + path_firstBoundValue + '")');
|
|
810
810
|
}
|
|
811
811
|
})();
|
|
812
812
|
if (obj_firstBoundValue_union0_error != null) {
|
|
@@ -913,8 +913,8 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
913
913
|
const path_secondBoundValue = path + '.secondBoundValue';
|
|
914
914
|
let obj_secondBoundValue_union0 = null;
|
|
915
915
|
const obj_secondBoundValue_union0_error = (() => {
|
|
916
|
-
if (typeof obj_secondBoundValue !== '
|
|
917
|
-
return new TypeError('Expected "
|
|
916
|
+
if (typeof obj_secondBoundValue !== 'number') {
|
|
917
|
+
return new TypeError('Expected "number" but received "' + typeof obj_secondBoundValue + '" (at "' + path_secondBoundValue + '")');
|
|
918
918
|
}
|
|
919
919
|
})();
|
|
920
920
|
if (obj_secondBoundValue_union0_error != null) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FiltersWrapRepresentation as FiltersWrapRepresentation_FiltersWrapRepresentation } from './FiltersWrapRepresentation';
|
|
2
2
|
import { SubjectRepresentation as SubjectRepresentation_SubjectRepresentation } from './SubjectRepresentation';
|
|
3
3
|
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';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "53a3f4b1f9467dccd40ae739c6bb39cf";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: FilterRepresentation, existing: FilterRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilterRepresentationNormalized;
|
|
@@ -25,7 +25,7 @@ export interface FilterRepresentationNormalized {
|
|
|
25
25
|
/** Filters */
|
|
26
26
|
filters?: Array<$64$luvio_engine_StoreLink | null>;
|
|
27
27
|
/** First Bound Value */
|
|
28
|
-
firstBoundValue?:
|
|
28
|
+
firstBoundValue?: number | null;
|
|
29
29
|
/** Operator */
|
|
30
30
|
operator?: string | null;
|
|
31
31
|
/** Path */
|
|
@@ -33,7 +33,7 @@ export interface FilterRepresentationNormalized {
|
|
|
33
33
|
/** Rule Time Zone */
|
|
34
34
|
ruleTimeZone?: string | null;
|
|
35
35
|
/** Second Bound Value */
|
|
36
|
-
secondBoundValue?:
|
|
36
|
+
secondBoundValue?: number | null;
|
|
37
37
|
/** Subject */
|
|
38
38
|
subject?: SubjectRepresentation_SubjectRepresentation | null;
|
|
39
39
|
/** Type */
|
|
@@ -54,11 +54,11 @@ export interface FilterRepresentation {
|
|
|
54
54
|
comparison?: FilterRepresentation | null;
|
|
55
55
|
filter?: FiltersWrapRepresentation_FiltersWrapRepresentation | null;
|
|
56
56
|
filters?: Array<FilterRepresentation | null>;
|
|
57
|
-
firstBoundValue?:
|
|
57
|
+
firstBoundValue?: number | null;
|
|
58
58
|
operator?: string | null;
|
|
59
59
|
path?: Array<Array<SubjectRepresentation_SubjectRepresentation>>;
|
|
60
60
|
ruleTimeZone?: string | null;
|
|
61
|
-
secondBoundValue?:
|
|
61
|
+
secondBoundValue?: number | null;
|
|
62
62
|
subject?: SubjectRepresentation_SubjectRepresentation | null;
|
|
63
63
|
type?: string | null;
|
|
64
64
|
value?: number | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-personalization-service",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.308.0-dev1",
|
|
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.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.308.0-dev1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.308.0-dev1"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -676,7 +676,7 @@ function validate$7(obj, path = 'SubjectRepresentation') {
|
|
|
676
676
|
return v_error === undefined ? null : v_error;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
const VERSION$5 = "
|
|
679
|
+
const VERSION$5 = "53a3f4b1f9467dccd40ae739c6bb39cf";
|
|
680
680
|
function validate$6(obj, path = 'FilterRepresentation') {
|
|
681
681
|
const v_error = (() => {
|
|
682
682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -815,8 +815,8 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
815
815
|
const path_firstBoundValue = path + '.firstBoundValue';
|
|
816
816
|
let obj_firstBoundValue_union0 = null;
|
|
817
817
|
const obj_firstBoundValue_union0_error = (() => {
|
|
818
|
-
if (typeof obj_firstBoundValue !== '
|
|
819
|
-
return new TypeError('Expected "
|
|
818
|
+
if (typeof obj_firstBoundValue !== 'number') {
|
|
819
|
+
return new TypeError('Expected "number" but received "' + typeof obj_firstBoundValue + '" (at "' + path_firstBoundValue + '")');
|
|
820
820
|
}
|
|
821
821
|
})();
|
|
822
822
|
if (obj_firstBoundValue_union0_error != null) {
|
|
@@ -923,8 +923,8 @@ function validate$6(obj, path = 'FilterRepresentation') {
|
|
|
923
923
|
const path_secondBoundValue = path + '.secondBoundValue';
|
|
924
924
|
let obj_secondBoundValue_union0 = null;
|
|
925
925
|
const obj_secondBoundValue_union0_error = (() => {
|
|
926
|
-
if (typeof obj_secondBoundValue !== '
|
|
927
|
-
return new TypeError('Expected "
|
|
926
|
+
if (typeof obj_secondBoundValue !== 'number') {
|
|
927
|
+
return new TypeError('Expected "number" but received "' + typeof obj_secondBoundValue + '" (at "' + path_secondBoundValue + '")');
|
|
928
928
|
}
|
|
929
929
|
})();
|
|
930
930
|
if (obj_secondBoundValue_union0_error != null) {
|
|
@@ -3881,4 +3881,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3881
3881
|
});
|
|
3882
3882
|
|
|
3883
3883
|
export { createPersonalizationPoint, createPersonalizationSchema, deletePersonalizationPoint, deletePersonalizationSchema, getPersonalizationPoint, getPersonalizationPoint_imperative, getPersonalizationSchema, getPersonalizationSchemaNotifyChange, getPersonalizationSchema_imperative, updatePersonalizationPoint };
|
|
3884
|
-
// version: 1.
|
|
3884
|
+
// version: 1.308.0-dev1-36d38ba652
|
package/src/raml/api.raml
CHANGED
|
@@ -216,7 +216,7 @@ types:
|
|
|
216
216
|
firstBoundValue:
|
|
217
217
|
required: false
|
|
218
218
|
description: First Bound Value
|
|
219
|
-
type:
|
|
219
|
+
type: number | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
220
220
|
operator:
|
|
221
221
|
required: false
|
|
222
222
|
description: Operator
|
|
@@ -236,7 +236,7 @@ types:
|
|
|
236
236
|
secondBoundValue:
|
|
237
237
|
required: false
|
|
238
238
|
description: Second Bound Value
|
|
239
|
-
type:
|
|
239
|
+
type: number | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
240
240
|
subject:
|
|
241
241
|
required: false
|
|
242
242
|
description: Subject
|