@salesforce/lds-adapters-industries-einstein-aiaccelerator 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/industries-einstein-aiaccelerator.js +4683 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/fetchRecommendations.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getPredictions.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/adapters/predictions.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorPredictions.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorRecommendations.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorV2Predictions.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/Column.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CustomAttributesMap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Error.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FieldCount.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableCustomAttributesMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +105 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutput.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutputObject.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +98 -0
- package/dist/es/es2018/types/src/generated/types/PredictionRequestRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/PredictionRequestWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PredictionResponseRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/PredictionWarning.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/Predictor.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PredictorField.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +71 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4715 -0
- package/src/raml/api.raml +937 -0
- package/src/raml/luvio.raml +39 -0
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '63.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
|
+
Column:
|
|
29
|
+
description: .
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
columnLabel:
|
|
33
|
+
description: .
|
|
34
|
+
type: string | nil
|
|
35
|
+
required: false
|
|
36
|
+
columnName:
|
|
37
|
+
description: .
|
|
38
|
+
type: string | nil
|
|
39
|
+
required: false
|
|
40
|
+
columnValue:
|
|
41
|
+
description: .
|
|
42
|
+
type: string | nil
|
|
43
|
+
required: false
|
|
44
|
+
initialValue:
|
|
45
|
+
description: .
|
|
46
|
+
type: string | nil
|
|
47
|
+
required: false
|
|
48
|
+
# TODO Hand-rolled Union Types for Array W-8253396
|
|
49
|
+
NullableColumnMap:
|
|
50
|
+
description: ColumnMapWrap wrapper object for use in PredictionInputRepresentation.
|
|
51
|
+
type: object
|
|
52
|
+
properties:
|
|
53
|
+
//:
|
|
54
|
+
type: string | nil
|
|
55
|
+
ColumnMapWrap:
|
|
56
|
+
description: ColumnMapWrap wrapper object for use in PredictionInputRepresentation.
|
|
57
|
+
type: object
|
|
58
|
+
properties:
|
|
59
|
+
columnMap:
|
|
60
|
+
description: Map of the Field Map.
|
|
61
|
+
type: NullableColumnMap | nil
|
|
62
|
+
FeatureExtractionParametersList:
|
|
63
|
+
description: featureExtractionParametersList wrapper object for use in PredictionInputRepresentation.
|
|
64
|
+
type: object
|
|
65
|
+
properties:
|
|
66
|
+
featureExtractionParameters:
|
|
67
|
+
description: FeatureExtractionParameters
|
|
68
|
+
type: array
|
|
69
|
+
items:
|
|
70
|
+
type: FeatureExtractionParametersMapValue | nil # TODO Hand-rolled W-7093257
|
|
71
|
+
required: false
|
|
72
|
+
# TODO Hand-rolled Union Types for Array W-8253396
|
|
73
|
+
NullableFeatureExtractionParametersMapValue:
|
|
74
|
+
description: Wrapper to make the object null
|
|
75
|
+
type: object
|
|
76
|
+
FeatureExtractionParametersMapValue:
|
|
77
|
+
description: featureExtractionParameterMapValue wrapper object for use as child
|
|
78
|
+
wrapper of FeatureExtractionParametersMap.
|
|
79
|
+
type: object
|
|
80
|
+
properties:
|
|
81
|
+
featureExtractionParametersMapValue:
|
|
82
|
+
description: Map of the Field Map.
|
|
83
|
+
type: NullableFeatureExtractionParametersMapValue | nil # TODO Hand-rolled W-7093257
|
|
84
|
+
required: false
|
|
85
|
+
FieldCount:
|
|
86
|
+
description: .
|
|
87
|
+
type: object
|
|
88
|
+
properties:
|
|
89
|
+
count:
|
|
90
|
+
description: .
|
|
91
|
+
type: integer | nil
|
|
92
|
+
required: false # TODO Hand-rolled W-16235747
|
|
93
|
+
fieldValue:
|
|
94
|
+
description: .
|
|
95
|
+
type: string | nil
|
|
96
|
+
required: false # TODO Hand-rolled W-16235747
|
|
97
|
+
Insight:
|
|
98
|
+
description: .
|
|
99
|
+
type: object
|
|
100
|
+
properties:
|
|
101
|
+
columns:
|
|
102
|
+
description: .
|
|
103
|
+
type: array
|
|
104
|
+
items:
|
|
105
|
+
type: Column | nil
|
|
106
|
+
required: false
|
|
107
|
+
value:
|
|
108
|
+
description: .
|
|
109
|
+
format: double
|
|
110
|
+
type: number
|
|
111
|
+
required: false
|
|
112
|
+
# TODO Hand-rolled Union Types for Array W-8253396
|
|
113
|
+
NullableInsightsSettingsMap:
|
|
114
|
+
description: Wrapper for Nullable Map Object.
|
|
115
|
+
type: object
|
|
116
|
+
properties:
|
|
117
|
+
//:
|
|
118
|
+
type: integer | nil
|
|
119
|
+
InsightsSettingsMap:
|
|
120
|
+
description: InsightsSettingsMap wrapper object for use in PredictionInputRepresentation.
|
|
121
|
+
type: object
|
|
122
|
+
properties:
|
|
123
|
+
insightsSettings:
|
|
124
|
+
description: insightsSettings
|
|
125
|
+
type: NullableInsightsSettingsMap | nil
|
|
126
|
+
required: false
|
|
127
|
+
NullableCustomAttributesMap:
|
|
128
|
+
description: Wrapper for Nullable Map Object.
|
|
129
|
+
type: object
|
|
130
|
+
properties:
|
|
131
|
+
//:
|
|
132
|
+
type: string | nil
|
|
133
|
+
CustomAttributesMap:
|
|
134
|
+
description: CustomAttributesMap wrapper object for use in PredictionInputRepresentation.
|
|
135
|
+
type: object
|
|
136
|
+
properties:
|
|
137
|
+
customAttributes:
|
|
138
|
+
description: customAttributes
|
|
139
|
+
type: NullableCustomAttributesMap | nil
|
|
140
|
+
required: false
|
|
141
|
+
ModelFeature:
|
|
142
|
+
description: .
|
|
143
|
+
type: object
|
|
144
|
+
properties:
|
|
145
|
+
label:
|
|
146
|
+
description: Model field label
|
|
147
|
+
type: string | nil
|
|
148
|
+
required: false
|
|
149
|
+
name:
|
|
150
|
+
description: Model field name
|
|
151
|
+
type: string | nil
|
|
152
|
+
required: false
|
|
153
|
+
type:
|
|
154
|
+
description: Model field type
|
|
155
|
+
type: string | nil
|
|
156
|
+
required: false
|
|
157
|
+
Prediction:
|
|
158
|
+
description: .
|
|
159
|
+
type: object
|
|
160
|
+
properties:
|
|
161
|
+
historyRefPointScore:
|
|
162
|
+
description: .
|
|
163
|
+
format: double
|
|
164
|
+
type: number
|
|
165
|
+
required: false
|
|
166
|
+
insights:
|
|
167
|
+
description: .
|
|
168
|
+
type: array
|
|
169
|
+
items:
|
|
170
|
+
type: Insight | nil
|
|
171
|
+
required: false
|
|
172
|
+
missingColumns:
|
|
173
|
+
description: .
|
|
174
|
+
type: array
|
|
175
|
+
items:
|
|
176
|
+
type: string | nil
|
|
177
|
+
required: false
|
|
178
|
+
outOfBoundsColumns:
|
|
179
|
+
description: .
|
|
180
|
+
type: array
|
|
181
|
+
items:
|
|
182
|
+
type: Column | nil
|
|
183
|
+
required: false
|
|
184
|
+
score:
|
|
185
|
+
description: .
|
|
186
|
+
format: double
|
|
187
|
+
type: number
|
|
188
|
+
required: false
|
|
189
|
+
PredictionInputWrapperRepresentation:
|
|
190
|
+
description: Wrapper for PredictInputRepresentation.
|
|
191
|
+
type: object
|
|
192
|
+
properties:
|
|
193
|
+
predictionInput:
|
|
194
|
+
description: oas body name.
|
|
195
|
+
type: PredictionInputRepresentation
|
|
196
|
+
PredictionInputRepresentation:
|
|
197
|
+
description: Request for which predictions are fetched.
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
async:
|
|
201
|
+
description: .
|
|
202
|
+
type: boolean | nil
|
|
203
|
+
required: false # TODO Hand-rolled W-9314597
|
|
204
|
+
columnNames:
|
|
205
|
+
description: .
|
|
206
|
+
type: WrappedList | nil
|
|
207
|
+
required: false # TODO Hand-rolled W-9314597
|
|
208
|
+
enableFeaturePersistence:
|
|
209
|
+
description: .
|
|
210
|
+
type: boolean | nil
|
|
211
|
+
required: false # TODO Hand-rolled W-9314597
|
|
212
|
+
enableInsightPersistence:
|
|
213
|
+
description: .
|
|
214
|
+
type: boolean | nil
|
|
215
|
+
required: false # TODO Hand-rolled W-9314597
|
|
216
|
+
enableScorePersistence:
|
|
217
|
+
description: .
|
|
218
|
+
type: boolean | nil
|
|
219
|
+
required: false # TODO Hand-rolled W-9314597
|
|
220
|
+
enableSuggestionPersistence:
|
|
221
|
+
description: .
|
|
222
|
+
type: boolean | nil
|
|
223
|
+
required: false # TODO Hand-rolled W-9314597
|
|
224
|
+
enrichModelClassification:
|
|
225
|
+
description: .
|
|
226
|
+
type: boolean | nil
|
|
227
|
+
required: false # TODO Hand-rolled W-9314597
|
|
228
|
+
enrichModelFeatures:
|
|
229
|
+
description: .
|
|
230
|
+
type: boolean | nil
|
|
231
|
+
required: false # TODO Hand-rolled W-9314597
|
|
232
|
+
enrichPredictionDefinition:
|
|
233
|
+
description: .
|
|
234
|
+
type: boolean | nil
|
|
235
|
+
required: false # TODO Hand-rolled W-9314597
|
|
236
|
+
featureColumnMap:
|
|
237
|
+
description: .
|
|
238
|
+
type: ColumnMapWrap | nil
|
|
239
|
+
required: false # TODO Hand-rolled W-9314597
|
|
240
|
+
featureExtractionParameters:
|
|
241
|
+
description: .
|
|
242
|
+
type: FeatureExtractionParametersList | nil
|
|
243
|
+
required: false # TODO Hand-rolled W-9314597
|
|
244
|
+
featureExtractorId:
|
|
245
|
+
description: .
|
|
246
|
+
type: string | nil
|
|
247
|
+
required: false # TODO Hand-rolled W-9314597
|
|
248
|
+
historyReferencePoint:
|
|
249
|
+
description: .
|
|
250
|
+
type: string | nil
|
|
251
|
+
required: false # TODO Hand-rolled W-9314597
|
|
252
|
+
inputType:
|
|
253
|
+
description: .
|
|
254
|
+
type: string
|
|
255
|
+
required: true # TODO Hand-rolled W-9314597
|
|
256
|
+
insightColumnMap:
|
|
257
|
+
description: .
|
|
258
|
+
type: ColumnMapWrap | nil
|
|
259
|
+
required: false # TODO Hand-rolled W-9314597
|
|
260
|
+
insightsSettings:
|
|
261
|
+
description: .
|
|
262
|
+
type: InsightsSettingsMap | nil
|
|
263
|
+
required: false # TODO Hand-rolled W-9314597
|
|
264
|
+
predictionDefinition:
|
|
265
|
+
description: .
|
|
266
|
+
type: string
|
|
267
|
+
required: true # TODO Hand-rolled W-9314597
|
|
268
|
+
rawData:
|
|
269
|
+
description: .
|
|
270
|
+
type: RawDataList | nil
|
|
271
|
+
required: false # TODO Hand-rolled W-9314597
|
|
272
|
+
records:
|
|
273
|
+
description: .
|
|
274
|
+
type: WrappedList | nil
|
|
275
|
+
required: false # TODO Hand-rolled W-9314597
|
|
276
|
+
scorePersistenceColumn:
|
|
277
|
+
description: .
|
|
278
|
+
type: string | nil
|
|
279
|
+
required: false # TODO Hand-rolled W-9314597
|
|
280
|
+
secondaryRecordIdPersistenceField:
|
|
281
|
+
description: .
|
|
282
|
+
type: string | nil
|
|
283
|
+
required: false # TODO Hand-rolled W-9314597
|
|
284
|
+
suggestionColumnMap:
|
|
285
|
+
description: .
|
|
286
|
+
type: ColumnMapWrap | nil
|
|
287
|
+
required: false # TODO Hand-rolled W-9314597
|
|
288
|
+
usecaseDefinition:
|
|
289
|
+
description: .
|
|
290
|
+
type: string
|
|
291
|
+
required: false # TODO Hand-rolled W-9314597
|
|
292
|
+
usecaseDevName:
|
|
293
|
+
description: .
|
|
294
|
+
type: string
|
|
295
|
+
required: false # TODO Hand-rolled W-9314597
|
|
296
|
+
featureExtractorDevName:
|
|
297
|
+
description: .
|
|
298
|
+
type: string
|
|
299
|
+
required: false # TODO Hand-rolled W-9314597
|
|
300
|
+
|
|
301
|
+
# TODO Hand-rolled Union Types for Array W-8253396
|
|
302
|
+
NullableModel:
|
|
303
|
+
description: .
|
|
304
|
+
type: object
|
|
305
|
+
properties:
|
|
306
|
+
//:
|
|
307
|
+
type: string | nil
|
|
308
|
+
PredictionObject:
|
|
309
|
+
description: .
|
|
310
|
+
type: object
|
|
311
|
+
properties:
|
|
312
|
+
model:
|
|
313
|
+
description: .
|
|
314
|
+
type: NullableModel | nil
|
|
315
|
+
required: false
|
|
316
|
+
prediction:
|
|
317
|
+
description: .
|
|
318
|
+
type: Prediction | nil
|
|
319
|
+
required: false
|
|
320
|
+
status:
|
|
321
|
+
description: .
|
|
322
|
+
type: string | nil
|
|
323
|
+
suggestions:
|
|
324
|
+
description: .
|
|
325
|
+
type: array
|
|
326
|
+
items:
|
|
327
|
+
type: Suggestion | nil
|
|
328
|
+
required: false
|
|
329
|
+
PredictionOutput:
|
|
330
|
+
description: Predicted object representation for prediction.
|
|
331
|
+
type: object
|
|
332
|
+
properties:
|
|
333
|
+
customAttributes:
|
|
334
|
+
description: .
|
|
335
|
+
type: CustomAttributesMap | nil
|
|
336
|
+
required: false # TODO Hand-rolled W-9314597
|
|
337
|
+
customPredictionLabel:
|
|
338
|
+
description: .
|
|
339
|
+
type: string | nil
|
|
340
|
+
required: false # TODO Hand-rolled W-9314597
|
|
341
|
+
predictionScore:
|
|
342
|
+
description: .
|
|
343
|
+
format: float
|
|
344
|
+
type: number
|
|
345
|
+
required: false # TODO Hand-rolled W-16235747
|
|
346
|
+
topPredictors:
|
|
347
|
+
description: .
|
|
348
|
+
type: array
|
|
349
|
+
items:
|
|
350
|
+
type: Predictor | nil
|
|
351
|
+
required: false # TODO Hand-rolled W-16235747
|
|
352
|
+
PredictionOutputObject:
|
|
353
|
+
description: Prediction for a given record
|
|
354
|
+
type: object
|
|
355
|
+
properties:
|
|
356
|
+
errors:
|
|
357
|
+
description: .
|
|
358
|
+
type: array
|
|
359
|
+
items:
|
|
360
|
+
type: Error | nil
|
|
361
|
+
required: false # TODO Hand-rolled W-16235747
|
|
362
|
+
isSuccess:
|
|
363
|
+
description: .
|
|
364
|
+
type: boolean | nil
|
|
365
|
+
required: true # TODO Hand-rolled W-16235747
|
|
366
|
+
predictionOutput:
|
|
367
|
+
description: .
|
|
368
|
+
type: array
|
|
369
|
+
items:
|
|
370
|
+
type: PredictionOutput | nil
|
|
371
|
+
required: false # TODO Hand-rolled W-16235747
|
|
372
|
+
predictionWarning:
|
|
373
|
+
description: .
|
|
374
|
+
type: PredictionWarning | nil
|
|
375
|
+
required: false # TODO Hand-rolled W-16235747
|
|
376
|
+
recordId:
|
|
377
|
+
description: .
|
|
378
|
+
type: string | nil
|
|
379
|
+
required: true # TODO Hand-rolled W-16235747
|
|
380
|
+
PredictionOutputRepresentation:
|
|
381
|
+
description: Predictions for a given request
|
|
382
|
+
type: object
|
|
383
|
+
properties:
|
|
384
|
+
classificationThreshold:
|
|
385
|
+
description: Classification Threshold Value
|
|
386
|
+
format: double
|
|
387
|
+
type: number
|
|
388
|
+
required: false
|
|
389
|
+
classificationType:
|
|
390
|
+
description: Classification model type
|
|
391
|
+
type: string | nil
|
|
392
|
+
required: false
|
|
393
|
+
executionModeWarning:
|
|
394
|
+
description: Indicates the change in execution mode from user specified to
|
|
395
|
+
default mode configuration
|
|
396
|
+
type: string | nil
|
|
397
|
+
required: false
|
|
398
|
+
featureExtractor:
|
|
399
|
+
description: Indicates Feature Extractor Implementation class used for a request
|
|
400
|
+
type: string | nil
|
|
401
|
+
required: false
|
|
402
|
+
featureExtractorType:
|
|
403
|
+
description: Indicates Feature Extractor Type used for a request
|
|
404
|
+
type: string | nil
|
|
405
|
+
required: false
|
|
406
|
+
inputType:
|
|
407
|
+
description: .
|
|
408
|
+
type: string | nil
|
|
409
|
+
required: false
|
|
410
|
+
insightsSettings:
|
|
411
|
+
description: .
|
|
412
|
+
type: object
|
|
413
|
+
properties:
|
|
414
|
+
//:
|
|
415
|
+
type: integer
|
|
416
|
+
required: false
|
|
417
|
+
modelFeatures:
|
|
418
|
+
description: Columns + values that are out of bounds. These values were not
|
|
419
|
+
used when training the model
|
|
420
|
+
type: array
|
|
421
|
+
items:
|
|
422
|
+
type: ModelFeature | nil
|
|
423
|
+
required: false
|
|
424
|
+
outcomeGoal:
|
|
425
|
+
description: Indicates whether predDef maximizes or minimizes the field value.
|
|
426
|
+
type: string | nil
|
|
427
|
+
required: false
|
|
428
|
+
predictionDefinition:
|
|
429
|
+
description: .
|
|
430
|
+
type: string | nil
|
|
431
|
+
required: false
|
|
432
|
+
predictionDefinitionLabel:
|
|
433
|
+
description: Label corresponding to the prediction definiton ID used for prediction
|
|
434
|
+
type: string | nil
|
|
435
|
+
required: false
|
|
436
|
+
predictionPersistenceErrorMessage:
|
|
437
|
+
description: Indicates the condition that all the entities failed to persist
|
|
438
|
+
via persistence manager
|
|
439
|
+
type: string | nil
|
|
440
|
+
required: false
|
|
441
|
+
predictionPlatform:
|
|
442
|
+
description: .
|
|
443
|
+
type: string | nil
|
|
444
|
+
required: false
|
|
445
|
+
predictionPurpose:
|
|
446
|
+
description: .
|
|
447
|
+
type: string | nil
|
|
448
|
+
required: false
|
|
449
|
+
predictions:
|
|
450
|
+
description: .
|
|
451
|
+
type: array
|
|
452
|
+
items:
|
|
453
|
+
type: PredictionObject | nil
|
|
454
|
+
required: false
|
|
455
|
+
primaryResponseObjRecordIds:
|
|
456
|
+
description: Indicates the list of recordIds where the response is persisted
|
|
457
|
+
in primary response object
|
|
458
|
+
type: array
|
|
459
|
+
items:
|
|
460
|
+
type: string | nil
|
|
461
|
+
required: false
|
|
462
|
+
requestId:
|
|
463
|
+
description: .
|
|
464
|
+
type: string | nil
|
|
465
|
+
required: false
|
|
466
|
+
secondaryResponseObjRecordIds:
|
|
467
|
+
description: Indicates the list of recordIds where the response is persisted
|
|
468
|
+
in secondary response object
|
|
469
|
+
type: array
|
|
470
|
+
items:
|
|
471
|
+
type: string | nil
|
|
472
|
+
required: false
|
|
473
|
+
status:
|
|
474
|
+
description: Indicates whether the call succeeded or failed, and in case of
|
|
475
|
+
failure also provides the reason.
|
|
476
|
+
type: Status
|
|
477
|
+
required: true # TODO Hand-rolled W-16235747
|
|
478
|
+
PredictionRequestRepresentation:
|
|
479
|
+
description: Request for which predictions are fetched.
|
|
480
|
+
type: object
|
|
481
|
+
properties:
|
|
482
|
+
maxInsights:
|
|
483
|
+
description: .
|
|
484
|
+
type: integer | nil
|
|
485
|
+
required: false # TODO Hand-rolled W-9314597
|
|
486
|
+
predictionModel:
|
|
487
|
+
description: .
|
|
488
|
+
type: string
|
|
489
|
+
required: true # TODO Hand-rolled W-16235747
|
|
490
|
+
predictionPlatform:
|
|
491
|
+
description: .
|
|
492
|
+
type: string | nil
|
|
493
|
+
required: false # TODO Hand-rolled W-16235747
|
|
494
|
+
records:
|
|
495
|
+
type: WrappedList | nil
|
|
496
|
+
required: false # TODO Hand-rolled W-9314597
|
|
497
|
+
scoreFilterCriteria:
|
|
498
|
+
description: .
|
|
499
|
+
type: string | nil
|
|
500
|
+
enum:
|
|
501
|
+
- GreaterThan
|
|
502
|
+
- GreaterThanEquals
|
|
503
|
+
- LessThan
|
|
504
|
+
required: false # TODO Hand-rolled W-9314597
|
|
505
|
+
scoringThreshold:
|
|
506
|
+
description: .
|
|
507
|
+
format: float
|
|
508
|
+
type: number
|
|
509
|
+
required: false # TODO Hand-rolled W-9314597
|
|
510
|
+
sortingOrder:
|
|
511
|
+
description: .
|
|
512
|
+
type: string | nil
|
|
513
|
+
enum:
|
|
514
|
+
- Asc
|
|
515
|
+
- Desc
|
|
516
|
+
required: false # TODO Hand-rolled W-9314597
|
|
517
|
+
usecaseName:
|
|
518
|
+
description: .
|
|
519
|
+
type: string
|
|
520
|
+
required: true # TODO Hand-rolled W-16235747
|
|
521
|
+
PredictionResponseRepresentation:
|
|
522
|
+
description: Predictions for a given request
|
|
523
|
+
type: object
|
|
524
|
+
properties:
|
|
525
|
+
predictionModel:
|
|
526
|
+
description: .
|
|
527
|
+
type: string
|
|
528
|
+
required: true # TODO Hand-rolled W-9314597
|
|
529
|
+
predictionOutputObjects:
|
|
530
|
+
description: .
|
|
531
|
+
type: array
|
|
532
|
+
items:
|
|
533
|
+
type: PredictionOutputObject | nil
|
|
534
|
+
required: false # TODO Hand-rolled W-9314597
|
|
535
|
+
predictionPlatform:
|
|
536
|
+
description: .
|
|
537
|
+
type: string | nil
|
|
538
|
+
required: false # TODO Hand-rolled W-9314597
|
|
539
|
+
predictionType:
|
|
540
|
+
description: .
|
|
541
|
+
type: string | nil
|
|
542
|
+
required: false # TODO Hand-rolled W-9314597
|
|
543
|
+
status:
|
|
544
|
+
description: .
|
|
545
|
+
type: Status
|
|
546
|
+
required: true
|
|
547
|
+
usecaseName:
|
|
548
|
+
description: .
|
|
549
|
+
type: string | nil
|
|
550
|
+
required: true # TODO Hand-rolled W-9314597
|
|
551
|
+
# TODO Hand-rolled W-16235747
|
|
552
|
+
PredictionRequestWrapperRepresentation:
|
|
553
|
+
description: Wrapper for PredictionRequestRepresentation.
|
|
554
|
+
type: object
|
|
555
|
+
properties:
|
|
556
|
+
predictionRequest:
|
|
557
|
+
description: oas body name.
|
|
558
|
+
type: PredictionRequestRepresentation
|
|
559
|
+
|
|
560
|
+
PredictionWarning:
|
|
561
|
+
description: Warning for a prediction of a particular record
|
|
562
|
+
type: object
|
|
563
|
+
properties:
|
|
564
|
+
missingFieldNames:
|
|
565
|
+
description: .
|
|
566
|
+
type: array
|
|
567
|
+
items:
|
|
568
|
+
type: string | nil
|
|
569
|
+
required: false # TODO Hand-rolled W-16235747
|
|
570
|
+
|
|
571
|
+
outOfBoundFields:
|
|
572
|
+
description: .
|
|
573
|
+
type: array
|
|
574
|
+
items:
|
|
575
|
+
type: FieldCount | nil
|
|
576
|
+
required: false # TODO Hand-rolled W-16235747
|
|
577
|
+
|
|
578
|
+
Predictor:
|
|
579
|
+
description: Predicted object representation for prediction
|
|
580
|
+
type: object
|
|
581
|
+
properties:
|
|
582
|
+
predictorFields:
|
|
583
|
+
description: .
|
|
584
|
+
type: array
|
|
585
|
+
items:
|
|
586
|
+
type: PredictorField | nil
|
|
587
|
+
required: false # TODO Hand-rolled W-16235747
|
|
588
|
+
contributionValue:
|
|
589
|
+
description: .
|
|
590
|
+
format: float
|
|
591
|
+
type: number
|
|
592
|
+
required: false # TODO Hand-rolled W-16235747
|
|
593
|
+
PredictorField:
|
|
594
|
+
description: Field representation for predictor.
|
|
595
|
+
type: object
|
|
596
|
+
properties:
|
|
597
|
+
customText:
|
|
598
|
+
description: .
|
|
599
|
+
type: string | nil
|
|
600
|
+
required: false # TODO Hand-rolled W-16235747
|
|
601
|
+
label:
|
|
602
|
+
description: .
|
|
603
|
+
type: string | nil
|
|
604
|
+
required: false # TODO Hand-rolled W-16235747
|
|
605
|
+
name:
|
|
606
|
+
description: .
|
|
607
|
+
type: string | nil
|
|
608
|
+
required: false # TODO Hand-rolled W-16235747
|
|
609
|
+
prescribedValue:
|
|
610
|
+
description: .
|
|
611
|
+
type: string | nil
|
|
612
|
+
required: false # TODO Hand-rolled W-16235747
|
|
613
|
+
value:
|
|
614
|
+
description: .
|
|
615
|
+
type: string | nil
|
|
616
|
+
required: false # TODO Hand-rolled W-16235747
|
|
617
|
+
Prescription:
|
|
618
|
+
description: .
|
|
619
|
+
type: object
|
|
620
|
+
properties:
|
|
621
|
+
columns:
|
|
622
|
+
description: .
|
|
623
|
+
type: array
|
|
624
|
+
items:
|
|
625
|
+
type: Column | nil
|
|
626
|
+
value:
|
|
627
|
+
description: .
|
|
628
|
+
format: double
|
|
629
|
+
type: number
|
|
630
|
+
RawDataInputRepresentation:
|
|
631
|
+
description: RawDataInputRepresentation wrapper object for use as child wrapper
|
|
632
|
+
of RawDataRep.
|
|
633
|
+
type: object
|
|
634
|
+
properties:
|
|
635
|
+
rawDataInput:
|
|
636
|
+
description: RawDataInput
|
|
637
|
+
type: array
|
|
638
|
+
items:
|
|
639
|
+
type: string | nil
|
|
640
|
+
RawDataInputWrap:
|
|
641
|
+
description: RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
|
|
642
|
+
type: object
|
|
643
|
+
properties:
|
|
644
|
+
rawDataInputWrap:
|
|
645
|
+
type: RawDataInputRepresentation | nil # TODO Hand-rolled W-7093257
|
|
646
|
+
RawDataList:
|
|
647
|
+
description: RawDataList wrapper object for use in PredictionInputRepresentation.
|
|
648
|
+
type: object
|
|
649
|
+
properties:
|
|
650
|
+
rawData:
|
|
651
|
+
description: RawData
|
|
652
|
+
type: array
|
|
653
|
+
items:
|
|
654
|
+
type: RawDataInputWrap | nil # TODO Hand-rolled W-7093257
|
|
655
|
+
# TODO Hand-rolled W-10772396
|
|
656
|
+
Status:
|
|
657
|
+
description: The output representation of the Status of the request.
|
|
658
|
+
type: object
|
|
659
|
+
properties:
|
|
660
|
+
code:
|
|
661
|
+
description: get Code.
|
|
662
|
+
type: integer
|
|
663
|
+
required: true
|
|
664
|
+
message:
|
|
665
|
+
description: Get Error Message
|
|
666
|
+
type: string
|
|
667
|
+
required: true
|
|
668
|
+
Suggestion:
|
|
669
|
+
description: .
|
|
670
|
+
type: object
|
|
671
|
+
properties:
|
|
672
|
+
columns:
|
|
673
|
+
description: .
|
|
674
|
+
type: array
|
|
675
|
+
items:
|
|
676
|
+
type: Column | nil
|
|
677
|
+
required: false
|
|
678
|
+
value:
|
|
679
|
+
description: .
|
|
680
|
+
format: double
|
|
681
|
+
type: number
|
|
682
|
+
required: false
|
|
683
|
+
WrappedList:
|
|
684
|
+
description: WrappedList wrapper object for use in PredictionInputRepresentation.
|
|
685
|
+
type: object
|
|
686
|
+
properties:
|
|
687
|
+
wrappedList:
|
|
688
|
+
description: wrappedList
|
|
689
|
+
type: array
|
|
690
|
+
items:
|
|
691
|
+
type: string | nil
|
|
692
|
+
RecommendationInputWrapperRepresentation:
|
|
693
|
+
description: Wrapper for RecommendationInputRepresentation.
|
|
694
|
+
type: object
|
|
695
|
+
properties:
|
|
696
|
+
recommendationInput:
|
|
697
|
+
description: oas body name.
|
|
698
|
+
type: RecommendationInputRepresentation
|
|
699
|
+
RecommendationInputRepresentation:
|
|
700
|
+
description: Request for which recommendations are fetched.
|
|
701
|
+
type: object
|
|
702
|
+
properties:
|
|
703
|
+
isAsync:
|
|
704
|
+
description: Indicates whether the execution mode is async or not.
|
|
705
|
+
type: boolean | nil
|
|
706
|
+
required: false # TODO Hand-rolled W-9314597
|
|
707
|
+
maxRecommendationsCount:
|
|
708
|
+
description: The maximum number of recommendations to be requested.
|
|
709
|
+
type: integer | nil
|
|
710
|
+
required: false # TODO Hand-rolled W-9314597
|
|
711
|
+
canPersistRecommendations:
|
|
712
|
+
description: Indicates whether the recommendations that are fetched are persisted or not.
|
|
713
|
+
type: boolean | nil
|
|
714
|
+
required: false # TODO Hand-rolled W-9314597
|
|
715
|
+
rcmdRecordIdPersistenceColumn:
|
|
716
|
+
description: The name of the column from the PrimaryResponse object that persists the recommendation record ID when canPersistRecommendations is set to true.
|
|
717
|
+
type: string | nil
|
|
718
|
+
required: false # TODO Hand-rolled W-9314597
|
|
719
|
+
recommendationFieldMapping:
|
|
720
|
+
description: The field mapping that’s used to store the recommendations.
|
|
721
|
+
type: object
|
|
722
|
+
properties:
|
|
723
|
+
//:
|
|
724
|
+
type: string | nil
|
|
725
|
+
strategyName:
|
|
726
|
+
description: The name of the strategy.
|
|
727
|
+
type: string | nil
|
|
728
|
+
required: false # TODO Hand-rolled W-9314597
|
|
729
|
+
rcmdStrategyParameters:
|
|
730
|
+
description: The list of parameters to pass to the flow action for the specified strategy to generate recommendations.
|
|
731
|
+
type: array
|
|
732
|
+
items:
|
|
733
|
+
type: any
|
|
734
|
+
required: false # TODO Hand-rolled W-9314597
|
|
735
|
+
usecaseDefinitionName:
|
|
736
|
+
description: The API name of the usecase definition.
|
|
737
|
+
type: string | nil
|
|
738
|
+
required: false # TODO Hand-rolled W-9314597
|
|
739
|
+
RecommendationOutputRepresentation:
|
|
740
|
+
description: Recommendations for a given request
|
|
741
|
+
type: object
|
|
742
|
+
properties:
|
|
743
|
+
executionModeWarning:
|
|
744
|
+
description: The warning that’s displayed when the execution mode isn’t suitable.
|
|
745
|
+
type: string | nil
|
|
746
|
+
required: false # TODO Hand-rolled W-9314597
|
|
747
|
+
recommendationPersistenceErrorMessage:
|
|
748
|
+
description: The error message that’s displayed when the persistence of recommendations fails.
|
|
749
|
+
type: string | nil
|
|
750
|
+
required: false # TODO Hand-rolled W-9314597
|
|
751
|
+
recommendationRecordIds:
|
|
752
|
+
description: The list of IDs of the recommendation records that are part of the recommendation result.
|
|
753
|
+
type: array
|
|
754
|
+
items:
|
|
755
|
+
type: string | nil
|
|
756
|
+
required: false # TODO Hand-rolled W-9314597
|
|
757
|
+
recommendationStrategyResult:
|
|
758
|
+
description: The recommendation result that’s fetched.
|
|
759
|
+
type: array
|
|
760
|
+
items:
|
|
761
|
+
type: RcmdStrategyResult | nil
|
|
762
|
+
required: false # TODO Hand-rolled W-9314597
|
|
763
|
+
requestId:
|
|
764
|
+
description: The ID of the recommendation request.
|
|
765
|
+
type: string | nil
|
|
766
|
+
required: false # TODO Hand-rolled W-9314597
|
|
767
|
+
status:
|
|
768
|
+
description: The status of the recommendation request.
|
|
769
|
+
type: Status
|
|
770
|
+
required: true # TODO Hand-rolled W-9314597
|
|
771
|
+
strategyName:
|
|
772
|
+
description: The name of the strategy.
|
|
773
|
+
type: string | nil
|
|
774
|
+
required: false # TODO Hand-rolled W-9314597
|
|
775
|
+
usecaseName:
|
|
776
|
+
description: The usecaseName value on the AIUsecaseDefinition object.
|
|
777
|
+
type: string | nil
|
|
778
|
+
required: false # TODO Hand-rolled W-9314597
|
|
779
|
+
Error:
|
|
780
|
+
description: .
|
|
781
|
+
type: object
|
|
782
|
+
properties:
|
|
783
|
+
message:
|
|
784
|
+
description: The message that’s displayed for the error.
|
|
785
|
+
type: string | nil
|
|
786
|
+
required: false # TODO Hand-rolled W-9314597
|
|
787
|
+
statusCode:
|
|
788
|
+
description: The status code that indicates error.
|
|
789
|
+
type: string | nil
|
|
790
|
+
required: false # TODO Hand-rolled W-9314597
|
|
791
|
+
RcmdStrategyResult:
|
|
792
|
+
description: .
|
|
793
|
+
type: object
|
|
794
|
+
properties:
|
|
795
|
+
errors:
|
|
796
|
+
description: Runtime errors that occurred during recommendation request execution.
|
|
797
|
+
type: array
|
|
798
|
+
items:
|
|
799
|
+
type: Error | nil
|
|
800
|
+
required: false # TODO Hand-rolled W-9314597
|
|
801
|
+
onBehalfOfId:
|
|
802
|
+
description: The ID of the user or object for which the recommendation request was executed.
|
|
803
|
+
type: string | nil
|
|
804
|
+
predictionScore:
|
|
805
|
+
description: The prediction score that’s an input for the recommendation request.
|
|
806
|
+
format: double
|
|
807
|
+
required: false # TODO Hand-rolled W-9314597
|
|
808
|
+
type: number
|
|
809
|
+
recommendations:
|
|
810
|
+
description: The list of recommendations returned by a recommendation request.
|
|
811
|
+
type: array
|
|
812
|
+
items:
|
|
813
|
+
type: Recommendation | nil
|
|
814
|
+
required: false # TODO Hand-rolled W-9314597
|
|
815
|
+
recordId:
|
|
816
|
+
description: The ID of the record for which the recommendation request was executed.
|
|
817
|
+
type: string | nil
|
|
818
|
+
required: false # TODO Hand-rolled W-9314597
|
|
819
|
+
isSuccess:
|
|
820
|
+
description: Indicates whether the recommendation request was successful or not.
|
|
821
|
+
type: boolean | nil
|
|
822
|
+
required: false # TODO Hand-rolled W-9314597
|
|
823
|
+
Recommendation:
|
|
824
|
+
description: .
|
|
825
|
+
type: object
|
|
826
|
+
properties:
|
|
827
|
+
acceptanceLabel:
|
|
828
|
+
description: Text indicating user acceptance of the recommendation.
|
|
829
|
+
type: string | nil
|
|
830
|
+
required: false # TODO Hand-rolled W-9314597
|
|
831
|
+
actionStrategyParameters:
|
|
832
|
+
description: The list of parameters to pass to the flow action based on the user’s acceptance or rejection of the recommendation.
|
|
833
|
+
type: array
|
|
834
|
+
items:
|
|
835
|
+
type: RecommendationActionParam | nil
|
|
836
|
+
required: false # TODO Hand-rolled W-9314597
|
|
837
|
+
actionReferenceId:
|
|
838
|
+
description: The ID of the action to perform, for example, launching a flow.
|
|
839
|
+
type: string | nil
|
|
840
|
+
required: false # TODO Hand-rolled W-9314597
|
|
841
|
+
actionReferenceLabel:
|
|
842
|
+
description: .
|
|
843
|
+
type: string | nil
|
|
844
|
+
required: false # TODO Hand-rolled W-9314597
|
|
845
|
+
actionReferenceName:
|
|
846
|
+
description: The name of the action to perform, for example, launching a flow.
|
|
847
|
+
type: string | nil
|
|
848
|
+
required: false # TODO Hand-rolled W-9314597
|
|
849
|
+
actionType:
|
|
850
|
+
description: The type of action.
|
|
851
|
+
type: string | nil
|
|
852
|
+
required: false # TODO Hand-rolled W-9314597
|
|
853
|
+
description:
|
|
854
|
+
description: The description of the recommendation.
|
|
855
|
+
type: string | nil
|
|
856
|
+
required: false # TODO Hand-rolled W-9314597
|
|
857
|
+
id:
|
|
858
|
+
description: The ID of the recommendation.
|
|
859
|
+
type: string | nil
|
|
860
|
+
required: false # TODO Hand-rolled W-9314597
|
|
861
|
+
imageUrl:
|
|
862
|
+
description: The URL of the recommendation image to display.
|
|
863
|
+
type: string | nil
|
|
864
|
+
required: false # TODO Hand-rolled W-9314597
|
|
865
|
+
name:
|
|
866
|
+
description: The name of the recommendation.
|
|
867
|
+
type: string | nil
|
|
868
|
+
required: false # TODO Hand-rolled W-9314597
|
|
869
|
+
rejectionLabel:
|
|
870
|
+
description: Text indicating user rejection of the recommendation
|
|
871
|
+
type: string | nil
|
|
872
|
+
required: false # TODO Hand-rolled W-9314597
|
|
873
|
+
RecommendationActionParam:
|
|
874
|
+
description: .
|
|
875
|
+
type: object
|
|
876
|
+
properties:
|
|
877
|
+
name:
|
|
878
|
+
description: The name of the parameter.
|
|
879
|
+
type: string | nil
|
|
880
|
+
required: false # TODO Hand-rolled W-9314597
|
|
881
|
+
type:
|
|
882
|
+
description: The type of the parameter.
|
|
883
|
+
type: string | nil
|
|
884
|
+
required: false # TODO Hand-rolled W-9314597
|
|
885
|
+
value:
|
|
886
|
+
description: The value of the parameter.
|
|
887
|
+
type: any
|
|
888
|
+
required: false # TODO Hand-rolled W-9314597
|
|
889
|
+
|
|
890
|
+
/connect:
|
|
891
|
+
/aiaccelerator:
|
|
892
|
+
/predictions:
|
|
893
|
+
post:
|
|
894
|
+
description: POST resource to fetch the predictions that need to be performed
|
|
895
|
+
at the store by the sales rep.
|
|
896
|
+
responses:
|
|
897
|
+
'200':
|
|
898
|
+
description: Success
|
|
899
|
+
body:
|
|
900
|
+
application/json:
|
|
901
|
+
type: PredictionOutputRepresentation
|
|
902
|
+
body:
|
|
903
|
+
application/json:
|
|
904
|
+
# TODO Hand-rolled W-10128739. Original type: PredictionInputRepresentation
|
|
905
|
+
type: PredictionInputWrapperRepresentation
|
|
906
|
+
(oas-body-name): predictionInput
|
|
907
|
+
/recommendations:
|
|
908
|
+
post:
|
|
909
|
+
description: POST resource to fetch the recommendations that need to be performed
|
|
910
|
+
at the store by the sales rep.
|
|
911
|
+
responses:
|
|
912
|
+
'200':
|
|
913
|
+
description: Success
|
|
914
|
+
body:
|
|
915
|
+
application/json:
|
|
916
|
+
type: RecommendationOutputRepresentation
|
|
917
|
+
body:
|
|
918
|
+
application/json:
|
|
919
|
+
# TODO Hand-rolled W-10128739. Original type: RecommendationInputRepresentation
|
|
920
|
+
type: RecommendationInputWrapperRepresentation
|
|
921
|
+
(oas-body-name): recommendationInput
|
|
922
|
+
/v2/predictions:
|
|
923
|
+
post:
|
|
924
|
+
displayName: postAIPrediction
|
|
925
|
+
description: POST resource to fetch the predictions that need to be performed
|
|
926
|
+
at the store by the sales rep.
|
|
927
|
+
responses:
|
|
928
|
+
'200':
|
|
929
|
+
description: Success
|
|
930
|
+
body:
|
|
931
|
+
application/json:
|
|
932
|
+
type: PredictionResponseRepresentation
|
|
933
|
+
body:
|
|
934
|
+
application/json:
|
|
935
|
+
# TODO Hand-rolled W-10128739. Original type: PredictionRequestRepresentation
|
|
936
|
+
type: PredictionRequestRepresentation
|
|
937
|
+
(oas-body-name): predictionRequest
|