@salesforce/lds-adapters-industries-einstein-aiaccelerator 0.131.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.
Files changed (45) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-einstein-aiaccelerator.js +3905 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
  4. package/dist/es/es2018/types/src/generated/adapters/fetchRecommendations.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/predictions.d.ts +15 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorPredictions.d.ts +13 -0
  9. package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorRecommendations.d.ts +13 -0
  10. package/dist/es/es2018/types/src/generated/types/Column.d.ts +38 -0
  11. package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +30 -0
  12. package/dist/es/es2018/types/src/generated/types/Error.d.ts +32 -0
  13. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +30 -0
  14. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +30 -0
  15. package/dist/es/es2018/types/src/generated/types/Insight.d.ts +33 -0
  16. package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +30 -0
  17. package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +35 -0
  18. package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +26 -0
  20. package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +43 -0
  23. package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +106 -0
  24. package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +29 -0
  25. package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +41 -0
  26. package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +99 -0
  27. package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +33 -0
  28. package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +29 -0
  29. package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +29 -0
  30. package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +30 -0
  31. package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +46 -0
  32. package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +60 -0
  33. package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +35 -0
  34. package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +54 -0
  35. package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +29 -0
  36. package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +62 -0
  37. package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
  38. package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +33 -0
  39. package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +29 -0
  40. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
  41. package/package.json +63 -0
  42. package/sfdc/index.d.ts +1 -0
  43. package/sfdc/index.js +3935 -0
  44. package/src/raml/api.raml +705 -0
  45. package/src/raml/luvio.raml +31 -0
@@ -0,0 +1,705 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '56.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v58.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
+ Insight:
86
+ description: .
87
+ type: object
88
+ properties:
89
+ columns:
90
+ description: .
91
+ type: array
92
+ items:
93
+ type: Column | nil
94
+ required: false
95
+ value:
96
+ description: .
97
+ format: double
98
+ type: number
99
+ required: false
100
+ # TODO Hand-rolled Union Types for Array W-8253396
101
+ NullableInsightsSettingsMap:
102
+ description: Wrapper for Nullable Map Object.
103
+ type: object
104
+ properties:
105
+ //:
106
+ type: integer | nil
107
+ InsightsSettingsMap:
108
+ description: InsightsSettingsMap wrapper object for use in PredictionInputRepresentation.
109
+ type: object
110
+ properties:
111
+ insightsSettings:
112
+ description: insightsSettings
113
+ type: NullableInsightsSettingsMap | nil
114
+ required: false
115
+ ModelFeature:
116
+ description: .
117
+ type: object
118
+ properties:
119
+ label:
120
+ description: Model field label
121
+ type: string | nil
122
+ required: false
123
+ name:
124
+ description: Model field name
125
+ type: string | nil
126
+ required: false
127
+ type:
128
+ description: Model field type
129
+ type: string | nil
130
+ required: false
131
+ Prediction:
132
+ description: .
133
+ type: object
134
+ properties:
135
+ historyRefPointScore:
136
+ description: .
137
+ format: double
138
+ type: number
139
+ required: false
140
+ insights:
141
+ description: .
142
+ type: array
143
+ items:
144
+ type: Insight | nil
145
+ required: false
146
+ missingColumns:
147
+ description: .
148
+ type: array
149
+ items:
150
+ type: string | nil
151
+ required: false
152
+ outOfBoundsColumns:
153
+ description: .
154
+ type: array
155
+ items:
156
+ type: Column | nil
157
+ required: false
158
+ score:
159
+ description: .
160
+ format: double
161
+ type: number
162
+ required: false
163
+ PredictionInputWrapperRepresentation:
164
+ description: Wrapper for PredictInputRepresentation.
165
+ type: object
166
+ properties:
167
+ predictionInput:
168
+ description: oas body name.
169
+ type: PredictionInputRepresentation
170
+ PredictionInputRepresentation:
171
+ description: Request for which predictions are fetched.
172
+ type: object
173
+ properties:
174
+ async:
175
+ description: .
176
+ type: boolean | nil
177
+ required: false # TODO Hand-rolled W-9314597
178
+ columnNames:
179
+ description: .
180
+ type: WrappedList | nil
181
+ required: false # TODO Hand-rolled W-9314597
182
+ enableFeaturePersistence:
183
+ description: .
184
+ type: boolean | nil
185
+ required: false # TODO Hand-rolled W-9314597
186
+ enableInsightPersistence:
187
+ description: .
188
+ type: boolean | nil
189
+ required: false # TODO Hand-rolled W-9314597
190
+ enableScorePersistence:
191
+ description: .
192
+ type: boolean | nil
193
+ required: false # TODO Hand-rolled W-9314597
194
+ enableSuggestionPersistence:
195
+ description: .
196
+ type: boolean | nil
197
+ required: false # TODO Hand-rolled W-9314597
198
+ enrichModelClassification:
199
+ description: .
200
+ type: boolean | nil
201
+ required: false # TODO Hand-rolled W-9314597
202
+ enrichModelFeatures:
203
+ description: .
204
+ type: boolean | nil
205
+ required: false # TODO Hand-rolled W-9314597
206
+ enrichPredictionDefinition:
207
+ description: .
208
+ type: boolean | nil
209
+ required: false # TODO Hand-rolled W-9314597
210
+ featureColumnMap:
211
+ description: .
212
+ type: ColumnMapWrap | nil
213
+ required: false # TODO Hand-rolled W-9314597
214
+ featureExtractionParameters:
215
+ description: .
216
+ type: FeatureExtractionParametersList | nil
217
+ required: false # TODO Hand-rolled W-9314597
218
+ featureExtractorId:
219
+ description: .
220
+ type: string | nil
221
+ required: false # TODO Hand-rolled W-9314597
222
+ historyReferencePoint:
223
+ description: .
224
+ type: string | nil
225
+ required: false # TODO Hand-rolled W-9314597
226
+ inputType:
227
+ description: .
228
+ type: string
229
+ required: true # TODO Hand-rolled W-9314597
230
+ insightColumnMap:
231
+ description: .
232
+ type: ColumnMapWrap | nil
233
+ required: false # TODO Hand-rolled W-9314597
234
+ insightsSettings:
235
+ description: .
236
+ type: InsightsSettingsMap | nil
237
+ required: false # TODO Hand-rolled W-9314597
238
+ predictionDefinition:
239
+ description: .
240
+ type: string
241
+ required: true # TODO Hand-rolled W-9314597
242
+ rawData:
243
+ description: .
244
+ type: RawDataList | nil
245
+ required: false # TODO Hand-rolled W-9314597
246
+ records:
247
+ description: .
248
+ type: WrappedList | nil
249
+ required: false # TODO Hand-rolled W-9314597
250
+ scorePersistenceColumn:
251
+ description: .
252
+ type: string | nil
253
+ required: false # TODO Hand-rolled W-9314597
254
+ secondaryRecordIdPersistenceField:
255
+ description: .
256
+ type: string | nil
257
+ required: false # TODO Hand-rolled W-9314597
258
+ suggestionColumnMap:
259
+ description: .
260
+ type: ColumnMapWrap | nil
261
+ required: false # TODO Hand-rolled W-9314597
262
+ usecaseDefinition:
263
+ description: .
264
+ type: string
265
+ required: false # TODO Hand-rolled W-9314597
266
+ usecaseDevName:
267
+ description: .
268
+ type: string
269
+ required: false # TODO Hand-rolled W-9314597
270
+ featureExtractorDevName:
271
+ description: .
272
+ type: string
273
+ required: false # TODO Hand-rolled W-9314597
274
+
275
+ # TODO Hand-rolled Union Types for Array W-8253396
276
+ NullableModel:
277
+ description: .
278
+ type: object
279
+ properties:
280
+ //:
281
+ type: string | nil
282
+ PredictionObject:
283
+ description: .
284
+ type: object
285
+ properties:
286
+ model:
287
+ description: .
288
+ type: NullableModel | nil
289
+ required: false
290
+ prediction:
291
+ description: .
292
+ type: Prediction | nil
293
+ required: false
294
+ status:
295
+ description: .
296
+ type: string | nil
297
+ suggestions:
298
+ description: .
299
+ type: array
300
+ items:
301
+ type: Suggestion | nil
302
+ required: false
303
+ PredictionOutputRepresentation:
304
+ description: Predictions for a given request
305
+ type: object
306
+ properties:
307
+ classificationThreshold:
308
+ description: Classification Threshold Value
309
+ format: double
310
+ type: number
311
+ required: false
312
+ classificationType:
313
+ description: Classification model type
314
+ type: string | nil
315
+ required: false
316
+ executionModeWarning:
317
+ description: Indicates the change in execution mode from user specified to
318
+ default mode configuration
319
+ type: string | nil
320
+ required: false
321
+ featureExtractor:
322
+ description: Indicates Feature Extractor Implementation class used for a request
323
+ type: string | nil
324
+ required: false
325
+ featureExtractorType:
326
+ description: Indicates Feature Extractor Type used for a request
327
+ type: string | nil
328
+ required: false
329
+ inputType:
330
+ description: .
331
+ type: string | nil
332
+ required: false
333
+ insightsSettings:
334
+ description: .
335
+ type: object
336
+ properties:
337
+ //:
338
+ type: integer
339
+ required: false
340
+ modelFeatures:
341
+ description: Columns + values that are out of bounds. These values were not
342
+ used when training the model
343
+ type: array
344
+ items:
345
+ type: ModelFeature | nil
346
+ required: false
347
+ outcomeGoal:
348
+ description: Indicates whether predDef maximizes or minimizes the field value.
349
+ type: string | nil
350
+ required: false
351
+ predictionDefinition:
352
+ description: .
353
+ type: string | nil
354
+ required: false
355
+ predictionDefinitionLabel:
356
+ description: Label corresponding to the prediction definiton ID used for prediction
357
+ type: string | nil
358
+ required: false
359
+ predictionPersistenceErrorMessage:
360
+ description: Indicates the condition that all the entities failed to persist
361
+ via persistence manager
362
+ type: string | nil
363
+ required: false
364
+ predictionPlatform:
365
+ description: .
366
+ type: string | nil
367
+ required: false
368
+ predictionPurpose:
369
+ description: .
370
+ type: string | nil
371
+ required: false
372
+ predictions:
373
+ description: .
374
+ type: array
375
+ items:
376
+ type: PredictionObject | nil
377
+ required: false
378
+ primaryResponseObjRecordIds:
379
+ description: Indicates the list of recordIds where the response is persisted
380
+ in primary response object
381
+ type: array
382
+ items:
383
+ type: string | nil
384
+ required: false
385
+ requestId:
386
+ description: .
387
+ type: string | nil
388
+ required: false
389
+ secondaryResponseObjRecordIds:
390
+ description: Indicates the list of recordIds where the response is persisted
391
+ in secondary response object
392
+ type: array
393
+ items:
394
+ type: string | nil
395
+ required: false
396
+ status:
397
+ description: Indicates whether the call succeeded or failed, and in case of
398
+ failure also provides the reason.
399
+ type: Status
400
+ required: true
401
+ Prescription:
402
+ description: .
403
+ type: object
404
+ properties:
405
+ columns:
406
+ description: .
407
+ type: array
408
+ items:
409
+ type: Column | nil
410
+ value:
411
+ description: .
412
+ format: double
413
+ type: number
414
+ RawDataInputRepresentation:
415
+ description: RawDataInputRepresentation wrapper object for use as child wrapper
416
+ of RawDataRep.
417
+ type: object
418
+ properties:
419
+ rawDataInput:
420
+ description: RawDataInput
421
+ type: array
422
+ items:
423
+ type: string | nil
424
+ RawDataInputWrap:
425
+ description: RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
426
+ type: object
427
+ properties:
428
+ rawDataInputWrap:
429
+ type: RawDataInputRepresentation | nil # TODO Hand-rolled W-7093257
430
+ RawDataList:
431
+ description: RawDataList wrapper object for use in PredictionInputRepresentation.
432
+ type: object
433
+ properties:
434
+ rawData:
435
+ description: RawData
436
+ type: array
437
+ items:
438
+ type: RawDataInputWrap | nil # TODO Hand-rolled W-7093257
439
+ # TODO Hand-rolled W-10772396
440
+ Status:
441
+ description: The output representation of the Status of the request.
442
+ type: object
443
+ properties:
444
+ code:
445
+ description: get Code.
446
+ type: integer
447
+ required: true
448
+ message:
449
+ description: Get Error Message
450
+ type: string
451
+ required: true
452
+ Suggestion:
453
+ description: .
454
+ type: object
455
+ properties:
456
+ columns:
457
+ description: .
458
+ type: array
459
+ items:
460
+ type: Column | nil
461
+ required: false
462
+ value:
463
+ description: .
464
+ format: double
465
+ type: number
466
+ required: false
467
+ WrappedList:
468
+ description: WrappedList wrapper object for use in PredictionInputRepresentation.
469
+ type: object
470
+ properties:
471
+ wrappedList:
472
+ description: wrappedList
473
+ type: array
474
+ items:
475
+ type: string | nil
476
+ RecommendationInputWrapperRepresentation:
477
+ description: Wrapper for RecommendationInputRepresentation.
478
+ type: object
479
+ properties:
480
+ recommendationInput:
481
+ description: oas body name.
482
+ type: RecommendationInputRepresentation
483
+ RecommendationInputRepresentation:
484
+ description: Request for which recommendations are fetched.
485
+ type: object
486
+ properties:
487
+ isAsync:
488
+ description: Indicates whether the execution mode is async or not.
489
+ type: boolean | nil
490
+ required: false # TODO Hand-rolled W-9314597
491
+ maxRecommendationsCount:
492
+ description: The maximum number of recommendations to be requested.
493
+ type: integer | nil
494
+ required: false # TODO Hand-rolled W-9314597
495
+ canPersistRecommendations:
496
+ description: Indicates whether the recommendations that are fetched are persisted or not.
497
+ type: boolean | nil
498
+ required: false # TODO Hand-rolled W-9314597
499
+ rcmdRecordIdPersistenceColumn:
500
+ description: The name of the column from the PrimaryResponse object that persists the recommendation record ID when canPersistRecommendations is set to true.
501
+ type: string | nil
502
+ required: false # TODO Hand-rolled W-9314597
503
+ recommendationFieldMapping:
504
+ description: The field mapping that’s used to store the recommendations.
505
+ type: object
506
+ properties:
507
+ //:
508
+ type: string | nil
509
+ strategyName:
510
+ description: The name of the strategy.
511
+ type: string | nil
512
+ required: false # TODO Hand-rolled W-9314597
513
+ rcmdStrategyParameters:
514
+ description: The list of parameters to pass to the flow action for the specified strategy to generate recommendations.
515
+ type: array
516
+ items:
517
+ type: any
518
+ required: false # TODO Hand-rolled W-9314597
519
+ usecaseDefinitionName:
520
+ description: The API name of the usecase definition.
521
+ type: string | nil
522
+ required: false # TODO Hand-rolled W-9314597
523
+ RecommendationOutputRepresentation:
524
+ description: Recommendations for a given request
525
+ type: object
526
+ properties:
527
+ executionModeWarning:
528
+ description: The warning that’s displayed when the execution mode isn’t suitable.
529
+ type: string | nil
530
+ required: false # TODO Hand-rolled W-9314597
531
+ recommendationPersistenceErrorMessage:
532
+ description: The error message that’s displayed when the persistence of recommendations fails.
533
+ type: string | nil
534
+ required: false # TODO Hand-rolled W-9314597
535
+ recommendationRecordIds:
536
+ description: The list of IDs of the recommendation records that are part of the recommendation result.
537
+ type: array
538
+ items:
539
+ type: string | nil
540
+ required: false # TODO Hand-rolled W-9314597
541
+ recommendationStrategyResult:
542
+ description: The recommendation result that’s fetched.
543
+ type: array
544
+ items:
545
+ type: RcmdStrategyResult | nil
546
+ required: false # TODO Hand-rolled W-9314597
547
+ requestId:
548
+ description: The ID of the recommendation request.
549
+ type: string | nil
550
+ required: false # TODO Hand-rolled W-9314597
551
+ status:
552
+ description: The status of the recommendation request.
553
+ type: Status
554
+ required: true # TODO Hand-rolled W-9314597
555
+ strategyName:
556
+ description: The name of the strategy.
557
+ type: string | nil
558
+ required: false # TODO Hand-rolled W-9314597
559
+ usecaseName:
560
+ description: The usecaseName value on the AIUsecaseDefinition object.
561
+ type: string | nil
562
+ required: false # TODO Hand-rolled W-9314597
563
+ Error:
564
+ description: .
565
+ type: object
566
+ properties:
567
+ message:
568
+ description: The message that’s displayed for the error.
569
+ type: string | nil
570
+ required: false # TODO Hand-rolled W-9314597
571
+ statusCode:
572
+ description: The status code that indicates error.
573
+ type: string | nil
574
+ required: false # TODO Hand-rolled W-9314597
575
+ RcmdStrategyResult:
576
+ description: .
577
+ type: object
578
+ properties:
579
+ errors:
580
+ description: Runtime errors that occurred during recommendation request execution.
581
+ type: array
582
+ items:
583
+ type: Error | nil
584
+ required: false # TODO Hand-rolled W-9314597
585
+ onBehalfOfId:
586
+ description: The ID of the user or object for which the recommendation request was executed.
587
+ type: string | nil
588
+ predictionScore:
589
+ description: The prediction score that’s an input for the recommendation request.
590
+ format: double
591
+ required: false # TODO Hand-rolled W-9314597
592
+ type: number
593
+ recommendations:
594
+ description: The list of recommendations returned by a recommendation request.
595
+ type: array
596
+ items:
597
+ type: Recommendation | nil
598
+ required: false # TODO Hand-rolled W-9314597
599
+ recordId:
600
+ description: The ID of the record for which the recommendation request was executed.
601
+ type: string | nil
602
+ required: false # TODO Hand-rolled W-9314597
603
+ isSuccess:
604
+ description: Indicates whether the recommendation request was successful or not.
605
+ type: boolean | nil
606
+ required: false # TODO Hand-rolled W-9314597
607
+ Recommendation:
608
+ description: .
609
+ type: object
610
+ properties:
611
+ acceptanceLabel:
612
+ description: Text indicating user acceptance of the recommendation.
613
+ type: string | nil
614
+ required: false # TODO Hand-rolled W-9314597
615
+ actionStrategyParameters:
616
+ description: The list of parameters to pass to the flow action based on the user’s acceptance or rejection of the recommendation.
617
+ type: array
618
+ items:
619
+ type: RecommendationActionParam | nil
620
+ required: false # TODO Hand-rolled W-9314597
621
+ actionReferenceId:
622
+ description: The ID of the action to perform, for example, launching a flow.
623
+ type: string | nil
624
+ required: false # TODO Hand-rolled W-9314597
625
+ actionReferenceLabel:
626
+ description: .
627
+ type: string | nil
628
+ required: false # TODO Hand-rolled W-9314597
629
+ actionReferenceName:
630
+ description: The name of the action to perform, for example, launching a flow.
631
+ type: string | nil
632
+ required: false # TODO Hand-rolled W-9314597
633
+ actionType:
634
+ description: The type of action.
635
+ type: string | nil
636
+ required: false # TODO Hand-rolled W-9314597
637
+ description:
638
+ description: The description of the recommendation.
639
+ type: string | nil
640
+ required: false # TODO Hand-rolled W-9314597
641
+ id:
642
+ description: The ID of the recommendation.
643
+ type: string | nil
644
+ required: false # TODO Hand-rolled W-9314597
645
+ imageUrl:
646
+ description: The URL of the recommendation image to display.
647
+ type: string | nil
648
+ required: false # TODO Hand-rolled W-9314597
649
+ name:
650
+ description: The name of the recommendation.
651
+ type: string | nil
652
+ required: false # TODO Hand-rolled W-9314597
653
+ rejectionLabel:
654
+ description: Text indicating user rejection of the recommendation
655
+ type: string | nil
656
+ required: false # TODO Hand-rolled W-9314597
657
+ RecommendationActionParam:
658
+ description: .
659
+ type: object
660
+ properties:
661
+ name:
662
+ description: The name of the parameter.
663
+ type: string | nil
664
+ required: false # TODO Hand-rolled W-9314597
665
+ type:
666
+ description: The type of the parameter.
667
+ type: string | nil
668
+ required: false # TODO Hand-rolled W-9314597
669
+ value:
670
+ description: The value of the parameter.
671
+ type: any
672
+ required: false # TODO Hand-rolled W-9314597
673
+
674
+ /connect:
675
+ /aiaccelerator:
676
+ /predictions:
677
+ post:
678
+ description: POST resource to fetch the predictions that need to be performed
679
+ at the store by the sales rep.
680
+ responses:
681
+ '200':
682
+ description: Success
683
+ body:
684
+ application/json:
685
+ type: PredictionOutputRepresentation
686
+ body:
687
+ application/json:
688
+ # TODO Hand-rolled W-10128739. Original type: PredictionInputRepresentation
689
+ type: PredictionInputWrapperRepresentation
690
+ (oas-body-name): predictionInput
691
+ /recommendations:
692
+ post:
693
+ description: POST resource to fetch the recommendations that need to be performed
694
+ at the store by the sales rep.
695
+ responses:
696
+ '200':
697
+ description: Success
698
+ body:
699
+ application/json:
700
+ type: RecommendationOutputRepresentation
701
+ body:
702
+ application/json:
703
+ # TODO Hand-rolled W-10128739. Original type: RecommendationInputRepresentation
704
+ type: RecommendationInputWrapperRepresentation
705
+ (oas-body-name): recommendationInput