@salesforce/lds-adapters-cdp-engmt-config 0.1.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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/cdp-engmt-config.js +2195 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createEngagementSignal.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/createEngagementSignalCompoundMetric.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/createEngagementSignalMetric.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteCompoundMetric.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteEngagementSignal.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteEngagementSignalMetric.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getCompoundMetric.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getEngagementSignal.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getEngagementSignalMetric.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getEngagementSignals.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +10 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/deletePersonalizationCompoundMetricsByCompoundMetricIdOrName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deletePersonalizationEngagementSignalsByEngagementSignalId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/deletePersonalizationEngagementSignalsMetricsByEngagementSignalIdAndEngagementSignalMetricId.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationCompoundMetricsByCompoundMetricIdOrName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationEngagementSignals.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationEngagementSignalsByEngagementSignalId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getPersonalizationEngagementSignalsMetricsByEngagementSignalIdAndEngagementSignalMetricId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationCompoundMetrics.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationEngagementSignals.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postPersonalizationEngagementSignalsMetricsByEngagementSignalId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalCollectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalCompoundMetricCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalCompoundMetricInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalCompoundMetricRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalFilterGroupCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalFilterGroupInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalFilterGroupRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalFilterInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalFilterRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalInputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalMetricCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalMetricFieldInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalMetricFieldRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalMetricInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalMetricRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/EngagementSignalRepresentation.d.ts +88 -0
- package/dist/es/es2018/types/src/generated/types/FieldInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FieldRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +69 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2422 -0
- package/src/raml/api.raml +543 -0
- package/src/raml/luvio.raml +85 -0
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '64.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v66.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
|
+
EngagementSignalCollectionRepresentation:
|
|
29
|
+
description: Engagement Signal Collection Output Representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
currentPageUrl:
|
|
33
|
+
description: Current page url
|
|
34
|
+
type: string
|
|
35
|
+
engagementSignals:
|
|
36
|
+
description: Engagement signals
|
|
37
|
+
type: array
|
|
38
|
+
items:
|
|
39
|
+
type: any
|
|
40
|
+
nextPageUrl:
|
|
41
|
+
description: Next page url if it exists
|
|
42
|
+
type: string | nil
|
|
43
|
+
required: false
|
|
44
|
+
totalSize:
|
|
45
|
+
description: Total size of collection
|
|
46
|
+
type: integer
|
|
47
|
+
EngagementSignalCompoundMetricCollectionInputRepresentation:
|
|
48
|
+
description: Engagement Signal Compound Metric Collection Input Representation
|
|
49
|
+
type: object
|
|
50
|
+
properties:
|
|
51
|
+
compoundMetrics:
|
|
52
|
+
description: Engagement Signal Compound Metrics
|
|
53
|
+
type: array
|
|
54
|
+
items:
|
|
55
|
+
type: any
|
|
56
|
+
EngagementSignalCompoundMetricInputRepresentation:
|
|
57
|
+
description: Engagement Signal Compound Metric Input Representation
|
|
58
|
+
type: object
|
|
59
|
+
properties:
|
|
60
|
+
denominatorMetric:
|
|
61
|
+
description: Engagement Signal Compound Metric Denominator
|
|
62
|
+
type: any
|
|
63
|
+
description:
|
|
64
|
+
description: Engagement Signal Compound Metric description
|
|
65
|
+
type: string
|
|
66
|
+
label:
|
|
67
|
+
description: Engagement Signal Compound Metric label
|
|
68
|
+
type: string
|
|
69
|
+
name:
|
|
70
|
+
description: Engagement Signal Compound Metric API name
|
|
71
|
+
type: string
|
|
72
|
+
numeratorMetric:
|
|
73
|
+
description: Engagement Signal Compound Metric Numerator
|
|
74
|
+
type: any
|
|
75
|
+
operator:
|
|
76
|
+
description: Engagement Signal Compound Metric Operator
|
|
77
|
+
type: string
|
|
78
|
+
enum:
|
|
79
|
+
- Ratio
|
|
80
|
+
EngagementSignalCompoundMetricRepresentation:
|
|
81
|
+
description: Engagement Signal Compound Metric output representation
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
denominatorMetric:
|
|
85
|
+
description: Engagement Signal Compound Metric Denominator
|
|
86
|
+
type: EngagementSignalMetricFieldRepresentation
|
|
87
|
+
description:
|
|
88
|
+
description: Engagement Signal Compound Metric description
|
|
89
|
+
type: string
|
|
90
|
+
id:
|
|
91
|
+
description: The 18 character ID of the record
|
|
92
|
+
type: string
|
|
93
|
+
label:
|
|
94
|
+
description: Engagement Signal Compound Metric Label
|
|
95
|
+
type: string
|
|
96
|
+
name:
|
|
97
|
+
description: Engagement Signal Compound Metric Name
|
|
98
|
+
type: string
|
|
99
|
+
numeratorMetric:
|
|
100
|
+
description: Engagement Signal Compound Metric Numerator
|
|
101
|
+
type: EngagementSignalMetricFieldRepresentation
|
|
102
|
+
operator:
|
|
103
|
+
description: Engagement Signal Compound Metric Operator
|
|
104
|
+
type: string
|
|
105
|
+
enum:
|
|
106
|
+
- Ratio
|
|
107
|
+
EngagementSignalFilterGroupCollectionInputRepresentation:
|
|
108
|
+
description: Engagement Signal Filter Group Collection Input Representation
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
filterGroups:
|
|
112
|
+
description: Engagement Signal Filter Groups
|
|
113
|
+
type: array
|
|
114
|
+
items:
|
|
115
|
+
type: array
|
|
116
|
+
items:
|
|
117
|
+
type: any
|
|
118
|
+
EngagementSignalFilterGroupInputRepresentation:
|
|
119
|
+
description: Engagement Signal Filter Group Input Representation
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
conjunctiveOperator:
|
|
123
|
+
description: Engagement Signal Filter Group Condition
|
|
124
|
+
type: string
|
|
125
|
+
enum:
|
|
126
|
+
- And
|
|
127
|
+
- Or
|
|
128
|
+
filters:
|
|
129
|
+
description: Engagement Signal Filter Group Filters
|
|
130
|
+
type: array
|
|
131
|
+
items:
|
|
132
|
+
type: any
|
|
133
|
+
EngagementSignalFilterGroupRepresentation:
|
|
134
|
+
description: Engagement Signal Filter Group output representation
|
|
135
|
+
type: object
|
|
136
|
+
properties:
|
|
137
|
+
conjunctiveOperator:
|
|
138
|
+
description: Engagement Signal Filter Group Condition
|
|
139
|
+
type: string
|
|
140
|
+
enum:
|
|
141
|
+
- And
|
|
142
|
+
- Or
|
|
143
|
+
filters:
|
|
144
|
+
description: Engagement Signal Filter Group Filters
|
|
145
|
+
type: array
|
|
146
|
+
items:
|
|
147
|
+
type: any
|
|
148
|
+
EngagementSignalFilterInputRepresentation:
|
|
149
|
+
description: Engagement Signal Filter Input Representation
|
|
150
|
+
type: object
|
|
151
|
+
properties:
|
|
152
|
+
action:
|
|
153
|
+
description: Engagement Signal Filter Action
|
|
154
|
+
type: string
|
|
155
|
+
enum:
|
|
156
|
+
- Excludes
|
|
157
|
+
- Includes
|
|
158
|
+
field:
|
|
159
|
+
description: Engagement Signal Filter Field
|
|
160
|
+
type: any
|
|
161
|
+
operator:
|
|
162
|
+
description: Engagement Signal Filter Operator
|
|
163
|
+
type: string
|
|
164
|
+
enum:
|
|
165
|
+
- Equals
|
|
166
|
+
values:
|
|
167
|
+
description: Engagement Signal Filter Values
|
|
168
|
+
type: array
|
|
169
|
+
items:
|
|
170
|
+
type: string
|
|
171
|
+
EngagementSignalFilterRepresentation:
|
|
172
|
+
description: Engagement Signal Filter output representation
|
|
173
|
+
type: object
|
|
174
|
+
properties:
|
|
175
|
+
action:
|
|
176
|
+
description: Engagement Signal Filter Action
|
|
177
|
+
type: string
|
|
178
|
+
enum:
|
|
179
|
+
- Excludes
|
|
180
|
+
- Includes
|
|
181
|
+
field:
|
|
182
|
+
description: Engagement Signal Filter Field
|
|
183
|
+
type: any
|
|
184
|
+
operator:
|
|
185
|
+
description: Engagement Signal Filter Operator
|
|
186
|
+
type: string
|
|
187
|
+
enum:
|
|
188
|
+
- Equals
|
|
189
|
+
values:
|
|
190
|
+
description: Engagement Signal Filter Values
|
|
191
|
+
type: array
|
|
192
|
+
items:
|
|
193
|
+
type: string
|
|
194
|
+
EngagementSignalInputRepresentation:
|
|
195
|
+
description: Engagement Signal Input Representation
|
|
196
|
+
type: object
|
|
197
|
+
properties:
|
|
198
|
+
catalogIdField:
|
|
199
|
+
description: Engagement Signal Catalog Id Field
|
|
200
|
+
type: any
|
|
201
|
+
required: false
|
|
202
|
+
compoundMetrics:
|
|
203
|
+
description: Engagement Signal Compound Metrics
|
|
204
|
+
type: array
|
|
205
|
+
required: false
|
|
206
|
+
items:
|
|
207
|
+
type: any
|
|
208
|
+
dataSpaceName:
|
|
209
|
+
description: Engagement Signal Data Space Name
|
|
210
|
+
type: string
|
|
211
|
+
description:
|
|
212
|
+
description: Engagement Signal description
|
|
213
|
+
type: string
|
|
214
|
+
required: false
|
|
215
|
+
distinctFields:
|
|
216
|
+
description: Engagement Signal Distinct On
|
|
217
|
+
type: array
|
|
218
|
+
required: false
|
|
219
|
+
items:
|
|
220
|
+
type: any
|
|
221
|
+
filterGroups:
|
|
222
|
+
description: Engagement Signal Filter Groups
|
|
223
|
+
type: array
|
|
224
|
+
required: false
|
|
225
|
+
items:
|
|
226
|
+
type: any
|
|
227
|
+
label:
|
|
228
|
+
description: Engagement Signal label
|
|
229
|
+
type: string
|
|
230
|
+
metrics:
|
|
231
|
+
description: Engagement Signal Metrics
|
|
232
|
+
type: array
|
|
233
|
+
required: false
|
|
234
|
+
items:
|
|
235
|
+
type: any
|
|
236
|
+
name:
|
|
237
|
+
description: Engagement Signal API name
|
|
238
|
+
type: string
|
|
239
|
+
objectName:
|
|
240
|
+
description: Engagement Signal Object Name
|
|
241
|
+
type: string
|
|
242
|
+
timestampField:
|
|
243
|
+
description: Engagement Signal Timestamp Field
|
|
244
|
+
type: any
|
|
245
|
+
uniqueIdentifier:
|
|
246
|
+
description: Engagement Signal Unique Identifier
|
|
247
|
+
type: any
|
|
248
|
+
userIdField:
|
|
249
|
+
description: Engagement Signal User Id Field
|
|
250
|
+
type: any
|
|
251
|
+
EngagementSignalMetricCollectionInputRepresentation:
|
|
252
|
+
description: Engagement Signal Metric Collection Input Representation
|
|
253
|
+
type: object
|
|
254
|
+
properties:
|
|
255
|
+
metrics:
|
|
256
|
+
description: Engagement Signal Metrics
|
|
257
|
+
type: array
|
|
258
|
+
items:
|
|
259
|
+
type: any
|
|
260
|
+
EngagementSignalMetricFieldInputRepresentation:
|
|
261
|
+
description: Input representation for a engagement signal metricfield
|
|
262
|
+
type: object
|
|
263
|
+
properties:
|
|
264
|
+
engagementSignalMetricName:
|
|
265
|
+
description: Engagement Signal Metric Name
|
|
266
|
+
type: string
|
|
267
|
+
engagementSignalName:
|
|
268
|
+
description: Engagement Signal Name
|
|
269
|
+
type: string
|
|
270
|
+
EngagementSignalMetricFieldRepresentation:
|
|
271
|
+
description: Output representation for a Engagement Signal Metric field
|
|
272
|
+
type: object
|
|
273
|
+
properties:
|
|
274
|
+
engagementSignalMetricName:
|
|
275
|
+
description: Name of the Engagement Signal Metric
|
|
276
|
+
type: string
|
|
277
|
+
engagementSignalName:
|
|
278
|
+
description: Name of the Engagement Signal
|
|
279
|
+
type: string
|
|
280
|
+
EngagementSignalMetricInputRepresentation:
|
|
281
|
+
description: Engagement Signal Metric Input Representation
|
|
282
|
+
type: object
|
|
283
|
+
properties:
|
|
284
|
+
aggregateFunction:
|
|
285
|
+
description: Engagement Signal Metric Aggregate Function
|
|
286
|
+
type: string
|
|
287
|
+
enum:
|
|
288
|
+
- Average
|
|
289
|
+
- Count
|
|
290
|
+
- Distinct
|
|
291
|
+
- Select
|
|
292
|
+
- Sum
|
|
293
|
+
description:
|
|
294
|
+
description: Engagement Signal Metric description
|
|
295
|
+
type: string
|
|
296
|
+
required: false
|
|
297
|
+
field:
|
|
298
|
+
description: Engagement Signal Metric Field Name
|
|
299
|
+
type: any
|
|
300
|
+
label:
|
|
301
|
+
description: Engagement Signal Metric label
|
|
302
|
+
type: string
|
|
303
|
+
required: false
|
|
304
|
+
name:
|
|
305
|
+
description: Engagement Signal Metric API name
|
|
306
|
+
type: string
|
|
307
|
+
EngagementSignalMetricRepresentation:
|
|
308
|
+
description: Engagement Signal Metric output representation
|
|
309
|
+
type: object
|
|
310
|
+
properties:
|
|
311
|
+
aggregateFunction:
|
|
312
|
+
description: Engagement Signal Metric Aggregate Function
|
|
313
|
+
type: string
|
|
314
|
+
enum:
|
|
315
|
+
- Average
|
|
316
|
+
- Count
|
|
317
|
+
- Distinct
|
|
318
|
+
- Select
|
|
319
|
+
- Sum
|
|
320
|
+
field:
|
|
321
|
+
description: Engagement Signal Metric Field
|
|
322
|
+
type: any
|
|
323
|
+
id:
|
|
324
|
+
description: The 18 character ID of the record
|
|
325
|
+
type: string
|
|
326
|
+
name:
|
|
327
|
+
description: Engagement Signal Metric Name
|
|
328
|
+
type: string
|
|
329
|
+
EngagementSignalRepresentation:
|
|
330
|
+
description: Engagement Signal Output Representation
|
|
331
|
+
type: object
|
|
332
|
+
properties:
|
|
333
|
+
catalogIdField:
|
|
334
|
+
description: Engagement Signal Catalog Field
|
|
335
|
+
type: any
|
|
336
|
+
required: false
|
|
337
|
+
compoundMetrics:
|
|
338
|
+
description: Engagement Signal Compound Metrics
|
|
339
|
+
type: array
|
|
340
|
+
required: false
|
|
341
|
+
items:
|
|
342
|
+
type: EngagementSignalCompoundMetricRepresentation
|
|
343
|
+
dataSpaceName:
|
|
344
|
+
description: Engagement Signal DataSPace
|
|
345
|
+
type: string
|
|
346
|
+
distinctFields:
|
|
347
|
+
description: Engagement Signal Distinct Fields
|
|
348
|
+
type: array
|
|
349
|
+
required: false
|
|
350
|
+
items:
|
|
351
|
+
type: any
|
|
352
|
+
filterGroups:
|
|
353
|
+
description: Engagement Signal Filter Groups
|
|
354
|
+
type: array
|
|
355
|
+
required: false
|
|
356
|
+
items:
|
|
357
|
+
type: EngagementSignalFilterGroupRepresentation
|
|
358
|
+
id:
|
|
359
|
+
description: The 18 character ID of the record
|
|
360
|
+
type: string
|
|
361
|
+
label:
|
|
362
|
+
description: Engagement Signal Label
|
|
363
|
+
type: string
|
|
364
|
+
metrics:
|
|
365
|
+
description: Engagement Signal Metrics
|
|
366
|
+
type: array
|
|
367
|
+
required: false
|
|
368
|
+
items:
|
|
369
|
+
type: EngagementSignalMetricRepresentation
|
|
370
|
+
name:
|
|
371
|
+
description: Engagement Signal Name
|
|
372
|
+
type: string
|
|
373
|
+
objectName:
|
|
374
|
+
description: Engagement Signal Object
|
|
375
|
+
type: string
|
|
376
|
+
timestampField:
|
|
377
|
+
description: Engagement Signal Timestamp Field
|
|
378
|
+
type: any
|
|
379
|
+
uniqueIdentifier:
|
|
380
|
+
description: Engagement Signal Unique Identifier
|
|
381
|
+
type: any
|
|
382
|
+
userIdField:
|
|
383
|
+
description: Engagement Signal UserId Field
|
|
384
|
+
type: any
|
|
385
|
+
FieldInputRepresentation:
|
|
386
|
+
description: Input representation for a field
|
|
387
|
+
type: object
|
|
388
|
+
properties:
|
|
389
|
+
name:
|
|
390
|
+
description: Name of the field
|
|
391
|
+
type: string
|
|
392
|
+
objectName:
|
|
393
|
+
description: DMO name of the field
|
|
394
|
+
type: string
|
|
395
|
+
FieldRepresentation:
|
|
396
|
+
description: Output representation for a field
|
|
397
|
+
type: object
|
|
398
|
+
properties:
|
|
399
|
+
label:
|
|
400
|
+
description: Label of the field
|
|
401
|
+
type: string
|
|
402
|
+
name:
|
|
403
|
+
description: Name of the field
|
|
404
|
+
type: string
|
|
405
|
+
objectName:
|
|
406
|
+
description: DMO name of the field
|
|
407
|
+
type: string
|
|
408
|
+
/personalization/engagement-signals:
|
|
409
|
+
get:
|
|
410
|
+
displayName: getEngagementSignalCollection
|
|
411
|
+
description: Get Engagement Signals
|
|
412
|
+
responses:
|
|
413
|
+
'200':
|
|
414
|
+
description: Success
|
|
415
|
+
body:
|
|
416
|
+
application/json:
|
|
417
|
+
type: EngagementSignalCollectionRepresentation
|
|
418
|
+
queryParameters:
|
|
419
|
+
dataspaceName:
|
|
420
|
+
type: string
|
|
421
|
+
required: false
|
|
422
|
+
limit:
|
|
423
|
+
type: integer
|
|
424
|
+
required: false
|
|
425
|
+
offset:
|
|
426
|
+
type: integer
|
|
427
|
+
required: false
|
|
428
|
+
profileDataGraphName:
|
|
429
|
+
type: string
|
|
430
|
+
required: false
|
|
431
|
+
post:
|
|
432
|
+
displayName: postEngagementSignalCollection
|
|
433
|
+
description: Create an Engagement Signal
|
|
434
|
+
responses:
|
|
435
|
+
'200':
|
|
436
|
+
description: Success
|
|
437
|
+
body:
|
|
438
|
+
application/json:
|
|
439
|
+
type: EngagementSignalRepresentation
|
|
440
|
+
body:
|
|
441
|
+
application/json:
|
|
442
|
+
type: EngagementSignalInputRepresentation
|
|
443
|
+
# required: false
|
|
444
|
+
(oas-body-name): input
|
|
445
|
+
/personalization/engagement-signals/{engagementSignalId}:
|
|
446
|
+
delete:
|
|
447
|
+
displayName: deleteEngagementSignal
|
|
448
|
+
description: Delete an Engagement Signal
|
|
449
|
+
responses:
|
|
450
|
+
'200':
|
|
451
|
+
description: Success
|
|
452
|
+
get:
|
|
453
|
+
displayName: getEngagementSignal
|
|
454
|
+
description: Get an Engagement Signal
|
|
455
|
+
responses:
|
|
456
|
+
'200':
|
|
457
|
+
description: Success
|
|
458
|
+
body:
|
|
459
|
+
application/json:
|
|
460
|
+
type: EngagementSignalRepresentation
|
|
461
|
+
uriParameters:
|
|
462
|
+
engagementSignalId:
|
|
463
|
+
type: string
|
|
464
|
+
required: true
|
|
465
|
+
/personalization/engagement-signals/{engagementSignalId}/metrics:
|
|
466
|
+
post:
|
|
467
|
+
displayName: postEngagementSignalMetricCollection
|
|
468
|
+
description: Create an Engagement Signal Metric
|
|
469
|
+
responses:
|
|
470
|
+
'200':
|
|
471
|
+
description: Success
|
|
472
|
+
body:
|
|
473
|
+
application/json:
|
|
474
|
+
type: EngagementSignalMetricRepresentation
|
|
475
|
+
body:
|
|
476
|
+
application/json:
|
|
477
|
+
type: EngagementSignalMetricInputRepresentation
|
|
478
|
+
# required: false
|
|
479
|
+
(oas-body-name): input
|
|
480
|
+
uriParameters:
|
|
481
|
+
engagementSignalId:
|
|
482
|
+
type: string
|
|
483
|
+
required: true
|
|
484
|
+
/personalization/compound-metrics:
|
|
485
|
+
post:
|
|
486
|
+
displayName: postCompoundMetricCollection
|
|
487
|
+
description: Create an Compound Metric
|
|
488
|
+
responses:
|
|
489
|
+
'200':
|
|
490
|
+
description: Success
|
|
491
|
+
body:
|
|
492
|
+
application/json:
|
|
493
|
+
type: EngagementSignalCompoundMetricRepresentation
|
|
494
|
+
body:
|
|
495
|
+
application/json:
|
|
496
|
+
type: EngagementSignalCompoundMetricInputRepresentation
|
|
497
|
+
# required: false
|
|
498
|
+
(oas-body-name): input
|
|
499
|
+
|
|
500
|
+
/personalization/engagement-signals/{engagementSignalId}/metrics/{engagementSignalMetricId}:
|
|
501
|
+
delete:
|
|
502
|
+
displayName: deleteEngagementSignalMetric
|
|
503
|
+
description: Delete an Engagement Signal Metric
|
|
504
|
+
responses:
|
|
505
|
+
'200':
|
|
506
|
+
description: Success
|
|
507
|
+
get:
|
|
508
|
+
displayName: getEngagementSignalMetric
|
|
509
|
+
description: Get an Engagement Signal Metric
|
|
510
|
+
responses:
|
|
511
|
+
'200':
|
|
512
|
+
description: Success
|
|
513
|
+
body:
|
|
514
|
+
application/json:
|
|
515
|
+
type: EngagementSignalMetricRepresentation
|
|
516
|
+
uriParameters:
|
|
517
|
+
engagementSignalId:
|
|
518
|
+
type: string
|
|
519
|
+
required: true
|
|
520
|
+
engagementSignalMetricId:
|
|
521
|
+
type: string
|
|
522
|
+
required: true
|
|
523
|
+
|
|
524
|
+
/personalization/compound-metrics/{compoundMetricIdOrName}:
|
|
525
|
+
delete:
|
|
526
|
+
displayName: deleteCompoundMetric
|
|
527
|
+
description: Delete an Compound Metric
|
|
528
|
+
responses:
|
|
529
|
+
'200':
|
|
530
|
+
description: Success
|
|
531
|
+
get:
|
|
532
|
+
displayName: getCompoundMetric
|
|
533
|
+
description: Get an Compound Metric
|
|
534
|
+
responses:
|
|
535
|
+
'200':
|
|
536
|
+
description: Success
|
|
537
|
+
body:
|
|
538
|
+
application/json:
|
|
539
|
+
type: EngagementSignalCompoundMetricRepresentation
|
|
540
|
+
uriParameters:
|
|
541
|
+
compoundMetricIdOrName:
|
|
542
|
+
type: string
|
|
543
|
+
required: true
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'engmt-config'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
EngagementSignalRepresentation:
|
|
11
|
+
(luvio.key):
|
|
12
|
+
id: id
|
|
13
|
+
type: object
|
|
14
|
+
(luvio.ttl): 6000
|
|
15
|
+
|
|
16
|
+
EngagementSignalCollectionRepresentation:
|
|
17
|
+
type: object
|
|
18
|
+
(luvio.ttl): 6000
|
|
19
|
+
|
|
20
|
+
EngagementSignalMetricRepresentation:
|
|
21
|
+
(luvio.key):
|
|
22
|
+
id: id
|
|
23
|
+
type: object
|
|
24
|
+
(luvio.ttl): 6000
|
|
25
|
+
EngagementSignalCompoundMetricRepresentation:
|
|
26
|
+
(luvio.key):
|
|
27
|
+
id: id
|
|
28
|
+
type: object
|
|
29
|
+
(luvio.ttl): 6000
|
|
30
|
+
/personalization/engagement-signals:
|
|
31
|
+
post:
|
|
32
|
+
(luvio.adapter):
|
|
33
|
+
name: createEngagementSignal
|
|
34
|
+
get:
|
|
35
|
+
(luvio.adapter):
|
|
36
|
+
name: getEngagementSignals
|
|
37
|
+
|
|
38
|
+
/personalization/engagement-signals/{engagementSignalId}:
|
|
39
|
+
get:
|
|
40
|
+
(luvio.adapter):
|
|
41
|
+
name: getEngagementSignal
|
|
42
|
+
(luvio.key):
|
|
43
|
+
id: urlParams.engagementSignalId
|
|
44
|
+
|
|
45
|
+
delete:
|
|
46
|
+
(luvio.adapter):
|
|
47
|
+
name: deleteEngagementSignal
|
|
48
|
+
(luvio.key):
|
|
49
|
+
id: urlParams.engagementSignalId
|
|
50
|
+
|
|
51
|
+
/personalization/engagement-signals/{engagementSignalId}/metrics:
|
|
52
|
+
post:
|
|
53
|
+
(luvio.adapter):
|
|
54
|
+
name: createEngagementSignalMetric
|
|
55
|
+
|
|
56
|
+
/personalization/engagement-signals/{engagementSignalId}/metrics/{engagementSignalMetricId}:
|
|
57
|
+
get:
|
|
58
|
+
(luvio.adapter):
|
|
59
|
+
name: getEngagementSignalMetric
|
|
60
|
+
(luvio.key):
|
|
61
|
+
id: urlParams.engagementSignalMetricId
|
|
62
|
+
|
|
63
|
+
delete:
|
|
64
|
+
(luvio.adapter):
|
|
65
|
+
name: deleteEngagementSignalMetric
|
|
66
|
+
(luvio.key):
|
|
67
|
+
id: urlParams.engagementSignalMetricId
|
|
68
|
+
|
|
69
|
+
/personalization/compound-metrics:
|
|
70
|
+
post:
|
|
71
|
+
(luvio.adapter):
|
|
72
|
+
name: createEngagementSignalCompoundMetric
|
|
73
|
+
|
|
74
|
+
/personalization/compound-metrics/{compoundMetricIdOrName}:
|
|
75
|
+
get:
|
|
76
|
+
(luvio.adapter):
|
|
77
|
+
name: getCompoundMetric
|
|
78
|
+
(luvio.key):
|
|
79
|
+
id: urlParams.compoundMetricIdOrName
|
|
80
|
+
|
|
81
|
+
delete:
|
|
82
|
+
(luvio.adapter):
|
|
83
|
+
name: deleteCompoundMetric
|
|
84
|
+
(luvio.key):
|
|
85
|
+
id: urlParams.compoundMetricIdOrName
|