@salesforce/lds-adapters-cdp-personalization-service 1.353.1 → 1.354.0-dev2
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.
- package/dist/es/es2018/cdp-personalization-service.js +73 -116
- package/dist/es/es2018/types/src/generated/adapters/postPersonalizationRecommenderSimulateAction.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationRecommendersActionsSimulateByIdOrName.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/types/BasePredicateInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/BaseRuleInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/PersonalizationRecommenderSimulateActionInputRepresentation.d.ts +6 -7
- package/dist/es/es2018/types/src/generated/types/RuleGroupInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/RuleGroupInputRepresentation2.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +77 -121
- package/src/raml/api.raml +43 -11
package/src/raml/api.raml
CHANGED
|
@@ -233,11 +233,31 @@ types:
|
|
|
233
233
|
BasePredicateInputRepresentation:
|
|
234
234
|
description: The right hand side against which the filter condition is checked.
|
|
235
235
|
type: object
|
|
236
|
-
properties:
|
|
236
|
+
properties:
|
|
237
|
+
type:
|
|
238
|
+
description: The type of Predicate object.
|
|
239
|
+
type: string
|
|
240
|
+
enum:
|
|
241
|
+
- Field
|
|
242
|
+
- RelatedField
|
|
243
|
+
- CalculatedInsight
|
|
244
|
+
- Segment
|
|
245
|
+
- DateOnly
|
|
246
|
+
- RelativeToNow
|
|
247
|
+
- Boolean
|
|
248
|
+
- Text
|
|
249
|
+
- Number
|
|
237
250
|
BaseRuleInputRepresentation:
|
|
238
251
|
description: Base Rule Input Representation
|
|
239
252
|
type: object
|
|
240
|
-
properties:
|
|
253
|
+
properties:
|
|
254
|
+
type:
|
|
255
|
+
description: The type of Rule object.
|
|
256
|
+
type: string
|
|
257
|
+
enum:
|
|
258
|
+
- Field
|
|
259
|
+
- RelatedField
|
|
260
|
+
- CalculatedInsight
|
|
241
261
|
CalculatedInsightPredicateInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
242
262
|
description: Calculated Insight Predicate Input Representation
|
|
243
263
|
type: object
|
|
@@ -819,16 +839,12 @@ types:
|
|
|
819
839
|
type: AnchorReferenceRepresentation
|
|
820
840
|
required: false
|
|
821
841
|
excludeFilters:
|
|
822
|
-
description: The filters being applied before rendering the recommendations.
|
|
823
|
-
type:
|
|
824
|
-
items:
|
|
825
|
-
type: RuleGroupInputRepresentation
|
|
842
|
+
description: The exclude filters being applied before rendering the recommendations.
|
|
843
|
+
type: RuleGroupInputRepresentation2
|
|
826
844
|
required: false
|
|
827
845
|
includeFilters:
|
|
828
|
-
description: The filters being applied before rendering the recommendations.
|
|
829
|
-
type:
|
|
830
|
-
items:
|
|
831
|
-
type: RuleGroupInputRepresentation
|
|
846
|
+
description: The include filters being applied before rendering the recommendations.
|
|
847
|
+
type: RuleGroupInputRepresentation
|
|
832
848
|
required: false
|
|
833
849
|
individualId:
|
|
834
850
|
description: The individual id associated to a Data Cloud profile.
|
|
@@ -1018,7 +1034,23 @@ types:
|
|
|
1018
1034
|
description: The filter conditions of the recommender.
|
|
1019
1035
|
type: array
|
|
1020
1036
|
items:
|
|
1021
|
-
type:
|
|
1037
|
+
type: any
|
|
1038
|
+
RuleGroupInputRepresentation2: #Hand-rolled - Identical to RuleGroupInputRepresentation object, both these objects need to stay in sync
|
|
1039
|
+
description: Rule Group Representation
|
|
1040
|
+
type: object
|
|
1041
|
+
properties:
|
|
1042
|
+
operator:
|
|
1043
|
+
description: The field which gives the information whether to include/exclude
|
|
1044
|
+
all the filter conditions or any one of them.
|
|
1045
|
+
type: string
|
|
1046
|
+
enum:
|
|
1047
|
+
- And
|
|
1048
|
+
- Or
|
|
1049
|
+
rules:
|
|
1050
|
+
description: The filter conditions of the recommender.
|
|
1051
|
+
type: array
|
|
1052
|
+
items:
|
|
1053
|
+
type: any
|
|
1022
1054
|
SegmentMembershipPredicateInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
1023
1055
|
description: Segment Membership Predicate Input Representation
|
|
1024
1056
|
type: object
|