@salesforce/lds-adapters-industries-einstein-aiaccelerator 1.308.0 → 1.309.0-dev9

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/src/raml/api.raml CHANGED
@@ -88,11 +88,11 @@ types:
88
88
  properties:
89
89
  count:
90
90
  description: .
91
- type: integer
91
+ type: integer | nil
92
92
  required: false # TODO Hand-rolled W-16235747
93
93
  fieldValue:
94
94
  description: .
95
- type: string
95
+ type: string | nil
96
96
  required: false # TODO Hand-rolled W-16235747
97
97
  Insight:
98
98
  description: .
@@ -124,6 +124,20 @@ types:
124
124
  description: insightsSettings
125
125
  type: NullableInsightsSettingsMap | nil
126
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
127
141
  ModelFeature:
128
142
  description: .
129
143
  type: object
@@ -316,6 +330,14 @@ types:
316
330
  description: Predicted object representation for prediction.
317
331
  type: object
318
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
319
341
  predictionScore:
320
342
  description: .
321
343
  format: float
@@ -325,7 +347,7 @@ types:
325
347
  description: .
326
348
  type: array
327
349
  items:
328
- type: Predictor
350
+ type: Predictor | nil
329
351
  required: false # TODO Hand-rolled W-16235747
330
352
  PredictionOutputObject:
331
353
  description: Prediction for a given record
@@ -335,25 +357,25 @@ types:
335
357
  description: .
336
358
  type: array
337
359
  items:
338
- type: Error
360
+ type: Error | nil
339
361
  required: false # TODO Hand-rolled W-16235747
340
362
  isSuccess:
341
363
  description: .
342
- type: string
364
+ type: boolean | nil
343
365
  required: true # TODO Hand-rolled W-16235747
344
366
  predictionOutput:
345
367
  description: .
346
368
  type: array
347
369
  items:
348
- type: PredictionOutput
370
+ type: PredictionOutput | nil
349
371
  required: false # TODO Hand-rolled W-16235747
350
372
  predictionWarning:
351
373
  description: .
352
- type: PredictionWarning
374
+ type: PredictionWarning | nil
353
375
  required: false # TODO Hand-rolled W-16235747
354
376
  recordId:
355
377
  description: .
356
- type: string
378
+ type: string | nil
357
379
  required: true # TODO Hand-rolled W-16235747
358
380
  PredictionOutputRepresentation:
359
381
  description: Predictions for a given request
@@ -459,22 +481,22 @@ types:
459
481
  properties:
460
482
  maxInsights:
461
483
  description: .
462
- type: integer
484
+ type: integer | nil
463
485
  required: false # TODO Hand-rolled W-9314597
464
486
  predictionModel:
465
487
  description: .
466
488
  type: string
467
- required: false # TODO Hand-rolled W-16235747
489
+ required: true # TODO Hand-rolled W-16235747
468
490
  predictionPlatform:
469
491
  description: .
470
- type: string
492
+ type: string | nil
471
493
  required: false # TODO Hand-rolled W-16235747
472
494
  records:
473
495
  type: WrappedList | nil
474
- required: true # TODO Hand-rolled W-9314597
496
+ required: false # TODO Hand-rolled W-9314597
475
497
  scoreFilterCriteria:
476
498
  description: .
477
- type: string
499
+ type: string | nil
478
500
  enum:
479
501
  - GreaterThan
480
502
  - GreaterThanEquals
@@ -487,7 +509,7 @@ types:
487
509
  required: false # TODO Hand-rolled W-9314597
488
510
  sortingOrder:
489
511
  description: .
490
- type: string
512
+ type: string | nil
491
513
  enum:
492
514
  - Asc
493
515
  - Desc
@@ -503,20 +525,20 @@ types:
503
525
  predictionModel:
504
526
  description: .
505
527
  type: string
506
- required: false # TODO Hand-rolled W-9314597
528
+ required: true # TODO Hand-rolled W-9314597
507
529
  predictionOutputObjects:
508
530
  description: .
509
531
  type: array
510
532
  items:
511
- type: PredictionOutputObject
533
+ type: PredictionOutputObject | nil
512
534
  required: false # TODO Hand-rolled W-9314597
513
535
  predictionPlatform:
514
536
  description: .
515
- type: string
537
+ type: string | nil
516
538
  required: false # TODO Hand-rolled W-9314597
517
539
  predictionType:
518
540
  description: .
519
- type: string
541
+ type: string | nil
520
542
  required: false # TODO Hand-rolled W-9314597
521
543
  status:
522
544
  description: .
@@ -524,12 +546,8 @@ types:
524
546
  required: true
525
547
  usecaseName:
526
548
  description: .
527
- type: string
549
+ type: string | nil
528
550
  required: true # TODO Hand-rolled W-9314597
529
- customPredictionLabel:
530
- description: .
531
- type: string
532
- required: false # TODO Hand-rolled W-9314597
533
551
  # TODO Hand-rolled W-16235747
534
552
  PredictionRequestWrapperRepresentation:
535
553
  description: Wrapper for PredictionRequestRepresentation.
@@ -547,14 +565,14 @@ types:
547
565
  description: .
548
566
  type: array
549
567
  items:
550
- type: string
568
+ type: string | nil
551
569
  required: false # TODO Hand-rolled W-16235747
552
570
 
553
571
  outOfBoundFields:
554
572
  description: .
555
573
  type: array
556
574
  items:
557
- type: FieldCount
575
+ type: FieldCount | nil
558
576
  required: false # TODO Hand-rolled W-16235747
559
577
 
560
578
  Predictor:
@@ -565,7 +583,7 @@ types:
565
583
  description: .
566
584
  type: array
567
585
  items:
568
- type: PredictorField
586
+ type: PredictorField | nil
569
587
  required: false # TODO Hand-rolled W-16235747
570
588
  contributionValue:
571
589
  description: .
@@ -578,23 +596,23 @@ types:
578
596
  properties:
579
597
  customText:
580
598
  description: .
581
- type: string
599
+ type: string | nil
582
600
  required: false # TODO Hand-rolled W-16235747
583
601
  label:
584
602
  description: .
585
- type: string
603
+ type: string | nil
586
604
  required: false # TODO Hand-rolled W-16235747
587
605
  name:
588
606
  description: .
589
- type: string
607
+ type: string | nil
590
608
  required: false # TODO Hand-rolled W-16235747
591
609
  prescribedValue:
592
610
  description: .
593
- type: string
611
+ type: string | nil
594
612
  required: false # TODO Hand-rolled W-16235747
595
613
  value:
596
614
  description: .
597
- type: string
615
+ type: string | nil
598
616
  required: false # TODO Hand-rolled W-16235747
599
617
  Prescription:
600
618
  description: .
@@ -915,5 +933,5 @@ types:
915
933
  body:
916
934
  application/json:
917
935
  # TODO Hand-rolled W-10128739. Original type: PredictionRequestRepresentation
918
- type: PredictionRequestWrapperRepresentation
936
+ type: PredictionRequestRepresentation
919
937
  (oas-body-name): predictionRequest