@salesforce/lds-adapters-cdp-personalization-service 1.299.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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/cdp-personalization-service.js +2067 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createPersonalizationPoint.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/deletePersonalizationPoint.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getPersonalizationPoint.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/updatePersonalizationPoint.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/resources/deletePersonalizationPersonalizationPointsByIdOrName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationPersonalizationPointsByIdOrName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationPersonalizationPoints.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/putPersonalizationPersonalizationPointsByIdOrName.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/ABnExperimentCohortInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ABnExperimentInputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/ABnExperimentRepresentation.d.ts +79 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationAttributeValueInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationAttributeValueRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDecisionInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationDecisionRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/PersonalizationPointRepresentation.d.ts +87 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2117 -0
- package/src/raml/api.raml +458 -0
- package/src/raml/luvio.raml +34 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v62.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
ABnExperimentCohortInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
29
|
+
description: ABn Experiment Cohort Input Representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
description:
|
|
33
|
+
description: Personalization Base description
|
|
34
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
35
|
+
label:
|
|
36
|
+
description: Personalization Base label
|
|
37
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
38
|
+
name:
|
|
39
|
+
description: Personalization Point API name
|
|
40
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
41
|
+
allocationWeight:
|
|
42
|
+
description: Number between 0 and 10000 (basis points) for traffic percent
|
|
43
|
+
allocation
|
|
44
|
+
type: integer
|
|
45
|
+
attributeValues:
|
|
46
|
+
description: Personalization Attribute Values associated with a Cohort
|
|
47
|
+
type: array
|
|
48
|
+
items:
|
|
49
|
+
type: object
|
|
50
|
+
isControl:
|
|
51
|
+
description: Whether or not this is the control Cohort
|
|
52
|
+
type: boolean
|
|
53
|
+
personalizerName:
|
|
54
|
+
description: The API name of the Personalizer associated with a Cohort
|
|
55
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
56
|
+
ABnExperimentInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
57
|
+
description: ABn Experiment Input Representation
|
|
58
|
+
type: object
|
|
59
|
+
properties:
|
|
60
|
+
description:
|
|
61
|
+
description: Personalization Base description
|
|
62
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
63
|
+
label:
|
|
64
|
+
description: Personalization Base label
|
|
65
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
66
|
+
name:
|
|
67
|
+
description: Personalization Point API name
|
|
68
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
69
|
+
cohorts:
|
|
70
|
+
description: List of Cohorts associated with the Experiment
|
|
71
|
+
type: array
|
|
72
|
+
items:
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: object
|
|
76
|
+
dataSpaceName:
|
|
77
|
+
description: The API name of the Data Space associated with the Experiment
|
|
78
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
79
|
+
profileDataGraphName:
|
|
80
|
+
description: The API name of the Profile Data Graph associated with the Experiment
|
|
81
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
82
|
+
schemaEnum:
|
|
83
|
+
description: A schema enum associated with the Experiment if it has a standard
|
|
84
|
+
schema
|
|
85
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
86
|
+
enum:
|
|
87
|
+
- ExperienceVariation
|
|
88
|
+
- FlowPath
|
|
89
|
+
schemaName:
|
|
90
|
+
description: An API name of a Schema associated with the Experiment if it
|
|
91
|
+
has a custom schema
|
|
92
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
93
|
+
source:
|
|
94
|
+
description: Experiment source
|
|
95
|
+
type: string
|
|
96
|
+
enum:
|
|
97
|
+
- BlockBuilder
|
|
98
|
+
- ExperienceBuilder
|
|
99
|
+
- PersonalizationApp
|
|
100
|
+
ABnExperimentRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
101
|
+
description: ABn Experiment Output Representation
|
|
102
|
+
type: object
|
|
103
|
+
properties:
|
|
104
|
+
createdById:
|
|
105
|
+
description: Created by id
|
|
106
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
107
|
+
createdDate:
|
|
108
|
+
description: Created date
|
|
109
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
110
|
+
id:
|
|
111
|
+
description: The 18 character ID of the record
|
|
112
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
113
|
+
label:
|
|
114
|
+
description: Personalization base output label
|
|
115
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
116
|
+
lastModifiedById:
|
|
117
|
+
description: Last modified by id
|
|
118
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
119
|
+
lastModifiedDate:
|
|
120
|
+
description: Last modified date
|
|
121
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
122
|
+
name:
|
|
123
|
+
description: Personalization base output API name
|
|
124
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
125
|
+
url:
|
|
126
|
+
description: Url
|
|
127
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
128
|
+
dataSpaceName:
|
|
129
|
+
description: The API name of the Data Space associated with the Experiment
|
|
130
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
131
|
+
description:
|
|
132
|
+
description: Experiment description
|
|
133
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
134
|
+
profileDataGraphName:
|
|
135
|
+
description: The API name of the Profile Data Graph associated with the Experiment
|
|
136
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
137
|
+
schemaEnum:
|
|
138
|
+
description: A schema enum associated with the Experiment if it has a standard
|
|
139
|
+
schema
|
|
140
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
141
|
+
enum:
|
|
142
|
+
- ExperienceVariation
|
|
143
|
+
- FlowPath
|
|
144
|
+
schemaName:
|
|
145
|
+
description: An API name of a Schema associated with the Experiment if it
|
|
146
|
+
has a custom schema
|
|
147
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
148
|
+
source:
|
|
149
|
+
description: Where this experiment was created
|
|
150
|
+
type: string
|
|
151
|
+
enum:
|
|
152
|
+
- BlockBuilder
|
|
153
|
+
- ExperienceBuilder
|
|
154
|
+
- PersonalizationApp
|
|
155
|
+
startedDate:
|
|
156
|
+
description: Started date
|
|
157
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
158
|
+
state:
|
|
159
|
+
description: Experiment state
|
|
160
|
+
type: string
|
|
161
|
+
enum:
|
|
162
|
+
- Archived
|
|
163
|
+
- Created
|
|
164
|
+
- Started
|
|
165
|
+
- Stopped
|
|
166
|
+
status:
|
|
167
|
+
description: Experiment off-core sync status
|
|
168
|
+
type: string
|
|
169
|
+
enum:
|
|
170
|
+
- Active
|
|
171
|
+
- CreateError
|
|
172
|
+
- DeleteError
|
|
173
|
+
- Deleting
|
|
174
|
+
- EditError
|
|
175
|
+
- Processing
|
|
176
|
+
stoppedDate:
|
|
177
|
+
description: Stopped date
|
|
178
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
179
|
+
PersonalizationAttributeValueInputRepresentation:
|
|
180
|
+
description: Personalization Attribute Value Input Representation
|
|
181
|
+
type: object
|
|
182
|
+
properties:
|
|
183
|
+
attributeEnum:
|
|
184
|
+
description: Attribute enum if it is assigning a custom attribute
|
|
185
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
186
|
+
enum:
|
|
187
|
+
- FlowPath
|
|
188
|
+
- Variation
|
|
189
|
+
attributeName:
|
|
190
|
+
description: Attribute API name of the Personalization Attribute if it is
|
|
191
|
+
assigning a custom attribute
|
|
192
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
193
|
+
value:
|
|
194
|
+
description: Personalization Attribute Value
|
|
195
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
196
|
+
PersonalizationAttributeValueRepresentation:
|
|
197
|
+
description: Personalization Attribute Value Output Representation
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
attributeEnum:
|
|
201
|
+
description: A standard attribute that the value is being assigned to
|
|
202
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
203
|
+
enum:
|
|
204
|
+
- FlowPath
|
|
205
|
+
- Variation
|
|
206
|
+
attributeName:
|
|
207
|
+
description: An API name of a custom attribute the value is being assigned
|
|
208
|
+
to
|
|
209
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
210
|
+
value:
|
|
211
|
+
description: The value of the Personalization Attribute Value
|
|
212
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
213
|
+
PersonalizationDecisionInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
214
|
+
description: Personalization Decision Input Representation
|
|
215
|
+
type: object
|
|
216
|
+
properties:
|
|
217
|
+
description:
|
|
218
|
+
description: Personalization Base description
|
|
219
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
220
|
+
label:
|
|
221
|
+
description: Personalization Base label
|
|
222
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
223
|
+
name:
|
|
224
|
+
description: Personalization Point API name
|
|
225
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
226
|
+
attributeValues:
|
|
227
|
+
description: Personalization Attribute Values associated with a Personalization
|
|
228
|
+
Decision
|
|
229
|
+
type: array
|
|
230
|
+
items:
|
|
231
|
+
type: PersonalizationAttributeValueInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
232
|
+
criteria:
|
|
233
|
+
description: Personalization Decision criteria
|
|
234
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
235
|
+
personalizerName:
|
|
236
|
+
description: The API name of the Personalizer associated with a Personalization
|
|
237
|
+
Decision
|
|
238
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
239
|
+
PersonalizationDecisionRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
240
|
+
description: Personalization Decision Output Representation
|
|
241
|
+
type: object
|
|
242
|
+
properties:
|
|
243
|
+
createdById:
|
|
244
|
+
description: Created by id
|
|
245
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
246
|
+
createdDate:
|
|
247
|
+
description: Created date
|
|
248
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
249
|
+
id:
|
|
250
|
+
description: The 18 character ID of the record
|
|
251
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
252
|
+
label:
|
|
253
|
+
description: Personalization base output label
|
|
254
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
255
|
+
lastModifiedById:
|
|
256
|
+
description: Last modified by id
|
|
257
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
258
|
+
lastModifiedDate:
|
|
259
|
+
description: Last modified date
|
|
260
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
261
|
+
name:
|
|
262
|
+
description: Personalization base output API name
|
|
263
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
264
|
+
url:
|
|
265
|
+
description: Url
|
|
266
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
267
|
+
attributeValues:
|
|
268
|
+
description: List of PersonalizationAttributeValues associated with the Personalization
|
|
269
|
+
Decision
|
|
270
|
+
type: array
|
|
271
|
+
items:
|
|
272
|
+
type: PersonalizationAttributeValueRepresentation
|
|
273
|
+
criteria:
|
|
274
|
+
description: The criteria of the Personalization Decision
|
|
275
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
276
|
+
description:
|
|
277
|
+
description: Personalization Decision description
|
|
278
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
279
|
+
personalizerName:
|
|
280
|
+
description: The API name of the Personalizer associated with the Personalization
|
|
281
|
+
Decision
|
|
282
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
283
|
+
PersonalizationPointInputRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
284
|
+
description: Personalization Point Input Representation
|
|
285
|
+
type: object
|
|
286
|
+
properties:
|
|
287
|
+
description:
|
|
288
|
+
description: Personalization Base description
|
|
289
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
290
|
+
label:
|
|
291
|
+
description: Personalization Base label
|
|
292
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
293
|
+
name:
|
|
294
|
+
description: Personalization Point API name
|
|
295
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
296
|
+
abnExperimentName:
|
|
297
|
+
description: The API name of an ABn Experiment to associated with the Personalization
|
|
298
|
+
Point
|
|
299
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
300
|
+
dataSpaceName:
|
|
301
|
+
description: The API name of the Data Space associated with the Personalization
|
|
302
|
+
Point
|
|
303
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
304
|
+
decisions:
|
|
305
|
+
description: List of PersonalizationDecisions associated with the Personalization
|
|
306
|
+
Point
|
|
307
|
+
type: array
|
|
308
|
+
items:
|
|
309
|
+
type: PersonalizationDecisionInputRepresentation #Hand-rolled issue #21 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
310
|
+
profileDataGraphName:
|
|
311
|
+
description: The API name of the Profile Data Graph associated with the Personalization
|
|
312
|
+
Point
|
|
313
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
314
|
+
schemaEnum:
|
|
315
|
+
description: A schema enum associated with the Personalization Point if it
|
|
316
|
+
has a standard schema
|
|
317
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
318
|
+
enum:
|
|
319
|
+
- ExperienceVariation
|
|
320
|
+
- FlowPath
|
|
321
|
+
schemaName:
|
|
322
|
+
description: An API name of a Schema associated with the Personalization Point
|
|
323
|
+
if it has a custom schema
|
|
324
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
325
|
+
source:
|
|
326
|
+
description: Personalization Point source
|
|
327
|
+
type: string
|
|
328
|
+
enum:
|
|
329
|
+
- BlockBuilder
|
|
330
|
+
- ExperienceBuilder
|
|
331
|
+
- PersonalizationApp
|
|
332
|
+
PersonalizationPointRepresentation: #Hand-rolled issue #24 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
333
|
+
description: Personalization Point Output Representation
|
|
334
|
+
type: object
|
|
335
|
+
properties:
|
|
336
|
+
createdById:
|
|
337
|
+
description: Created by id
|
|
338
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
339
|
+
createdDate:
|
|
340
|
+
description: Created date
|
|
341
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
342
|
+
id:
|
|
343
|
+
description: The 18 character ID of the record
|
|
344
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
345
|
+
label:
|
|
346
|
+
description: Personalization base output label
|
|
347
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
348
|
+
lastModifiedById:
|
|
349
|
+
description: Last modified by id
|
|
350
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
351
|
+
lastModifiedDate:
|
|
352
|
+
description: Last modified date
|
|
353
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
354
|
+
name:
|
|
355
|
+
description: Personalization base output API name
|
|
356
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
357
|
+
url:
|
|
358
|
+
description: Url
|
|
359
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
360
|
+
abnExperimentName:
|
|
361
|
+
description: The API name of an optional ABn Experiment associated with the
|
|
362
|
+
Personalization Point
|
|
363
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
364
|
+
dataSpaceName:
|
|
365
|
+
description: The API name of the Data Space associated with the Personalization
|
|
366
|
+
Point
|
|
367
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
368
|
+
decisions:
|
|
369
|
+
description: List of PersonalizationDecisions associated with the Personalization
|
|
370
|
+
Point
|
|
371
|
+
type: array
|
|
372
|
+
items:
|
|
373
|
+
type: PersonalizationDecisionRepresentation
|
|
374
|
+
description:
|
|
375
|
+
description: Personalization Point description
|
|
376
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
377
|
+
profileDataGraphName:
|
|
378
|
+
description: The API name of the Profile Data Graph associated with the Personalization
|
|
379
|
+
Point
|
|
380
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
381
|
+
schemaEnum:
|
|
382
|
+
description: A schema enum associated with the Personalization Point if it
|
|
383
|
+
has a standard schema
|
|
384
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
385
|
+
enum:
|
|
386
|
+
- ExperienceVariation
|
|
387
|
+
- FlowPath
|
|
388
|
+
schemaName:
|
|
389
|
+
description: An API name of a Schema associated with the Personalization Point
|
|
390
|
+
if it has a custom schema
|
|
391
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
392
|
+
source:
|
|
393
|
+
description: Personalization Point source
|
|
394
|
+
type: string
|
|
395
|
+
enum:
|
|
396
|
+
- BlockBuilder
|
|
397
|
+
- ExperienceBuilder
|
|
398
|
+
- PersonalizationApp
|
|
399
|
+
status:
|
|
400
|
+
description: Personalization Point status
|
|
401
|
+
type: string
|
|
402
|
+
enum:
|
|
403
|
+
- Active
|
|
404
|
+
- CreateError
|
|
405
|
+
- DeleteError
|
|
406
|
+
- Deleting
|
|
407
|
+
- EditError
|
|
408
|
+
- Processing
|
|
409
|
+
/personalization:
|
|
410
|
+
/personalization-points:
|
|
411
|
+
post:
|
|
412
|
+
displayName: postPersonalizationPointCollection
|
|
413
|
+
description: Create a Personalization Point
|
|
414
|
+
responses:
|
|
415
|
+
'200':
|
|
416
|
+
description: Success
|
|
417
|
+
body:
|
|
418
|
+
application/json:
|
|
419
|
+
type: PersonalizationPointRepresentation
|
|
420
|
+
body:
|
|
421
|
+
application/json:
|
|
422
|
+
type: PersonalizationPointInputRepresentation
|
|
423
|
+
# required: false #Hand-rolled issue #22 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
424
|
+
(oas-body-name): input
|
|
425
|
+
/personalization-points/{idOrName}:
|
|
426
|
+
delete:
|
|
427
|
+
displayName: deletePersonalizationPoint
|
|
428
|
+
description: Delete a Personalization Point
|
|
429
|
+
responses:
|
|
430
|
+
'200':
|
|
431
|
+
description: Success
|
|
432
|
+
get:
|
|
433
|
+
displayName: getPersonalizationPoint
|
|
434
|
+
description: Get a Personalization Point
|
|
435
|
+
responses:
|
|
436
|
+
'200':
|
|
437
|
+
description: Success
|
|
438
|
+
body:
|
|
439
|
+
application/json:
|
|
440
|
+
type: PersonalizationPointRepresentation
|
|
441
|
+
put:
|
|
442
|
+
displayName: putPersonalizationPoint
|
|
443
|
+
description: Update a Personalization Point
|
|
444
|
+
responses:
|
|
445
|
+
'200':
|
|
446
|
+
description: Success
|
|
447
|
+
body:
|
|
448
|
+
application/json:
|
|
449
|
+
type: PersonalizationPointRepresentation
|
|
450
|
+
body:
|
|
451
|
+
application/json:
|
|
452
|
+
type: PersonalizationPointInputRepresentation
|
|
453
|
+
# required: false #Hand-rolled issue #22 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
454
|
+
(oas-body-name): input
|
|
455
|
+
uriParameters:
|
|
456
|
+
idOrName:
|
|
457
|
+
type: string
|
|
458
|
+
required: true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'personalization-service'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
PersonalizationPointRepresentation:
|
|
11
|
+
(luvio.key):
|
|
12
|
+
id: name
|
|
13
|
+
type: object
|
|
14
|
+
(luvio.ttl): 600
|
|
15
|
+
|
|
16
|
+
/personalization/personalization-points:
|
|
17
|
+
post:
|
|
18
|
+
(luvio.adapter):
|
|
19
|
+
name: createPersonalizationPoint
|
|
20
|
+
|
|
21
|
+
/personalization/personalization-points/{idOrName}:
|
|
22
|
+
get:
|
|
23
|
+
(luvio.adapter):
|
|
24
|
+
name: getPersonalizationPoint
|
|
25
|
+
(luvio.key):
|
|
26
|
+
id: urlParams.idOrName
|
|
27
|
+
delete:
|
|
28
|
+
(luvio.adapter):
|
|
29
|
+
name: deletePersonalizationPoint
|
|
30
|
+
(luvio.key):
|
|
31
|
+
id: urlParams.idOrName
|
|
32
|
+
put:
|
|
33
|
+
(luvio.adapter):
|
|
34
|
+
name: updatePersonalizationPoint
|