@salesforce/lds-adapters-industries-einstein-aiaccelerator 1.320.0 → 1.321.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-einstein-aiaccelerator.js +677 -195
- package/dist/es/es2018/types/src/generated/adapters/getPredictions.d.ts +9 -2
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorV2Predictions.d.ts +9 -2
- package/dist/es/es2018/types/src/generated/types/CustomAttributesMap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FieldCount.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/NullableCustomAttributesMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutput.d.ts +9 -5
- package/dist/es/es2018/types/src/generated/types/PredictionOutputObject.d.ts +10 -9
- package/dist/es/es2018/types/src/generated/types/PredictionRequestRepresentation.d.ts +13 -13
- package/dist/es/es2018/types/src/generated/types/PredictionResponseRepresentation.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/PredictionWarning.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/Predictor.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/PredictorField.d.ts +11 -11
- package/package.json +6 -5
- package/sfdc/index.js +636 -154
- package/src/raml/api.raml +47 -29
package/src/raml/api.raml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
securedBy:
|
|
3
3
|
- OAuth2
|
|
4
4
|
title: Salesforce Connect API
|
|
5
|
-
version: '
|
|
5
|
+
version: '63.0'
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
@@ -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,9 +330,13 @@ 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
|
|
319
337
|
customPredictionLabel:
|
|
320
338
|
description: .
|
|
321
|
-
type: string
|
|
339
|
+
type: string | nil
|
|
322
340
|
required: false # TODO Hand-rolled W-9314597
|
|
323
341
|
predictionScore:
|
|
324
342
|
description: .
|
|
@@ -329,7 +347,7 @@ types:
|
|
|
329
347
|
description: .
|
|
330
348
|
type: array
|
|
331
349
|
items:
|
|
332
|
-
type: Predictor
|
|
350
|
+
type: Predictor | nil
|
|
333
351
|
required: false # TODO Hand-rolled W-16235747
|
|
334
352
|
PredictionOutputObject:
|
|
335
353
|
description: Prediction for a given record
|
|
@@ -339,7 +357,7 @@ types:
|
|
|
339
357
|
description: .
|
|
340
358
|
type: array
|
|
341
359
|
items:
|
|
342
|
-
type: Error
|
|
360
|
+
type: Error | nil
|
|
343
361
|
required: false # TODO Hand-rolled W-16235747
|
|
344
362
|
isSuccess:
|
|
345
363
|
description: .
|
|
@@ -349,15 +367,15 @@ types:
|
|
|
349
367
|
description: .
|
|
350
368
|
type: array
|
|
351
369
|
items:
|
|
352
|
-
type: PredictionOutput
|
|
370
|
+
type: PredictionOutput | nil
|
|
353
371
|
required: false # TODO Hand-rolled W-16235747
|
|
354
372
|
predictionWarning:
|
|
355
373
|
description: .
|
|
356
|
-
type: PredictionWarning
|
|
374
|
+
type: PredictionWarning | nil
|
|
357
375
|
required: false # TODO Hand-rolled W-16235747
|
|
358
376
|
recordId:
|
|
359
377
|
description: .
|
|
360
|
-
type: string
|
|
378
|
+
type: string | nil
|
|
361
379
|
required: true # TODO Hand-rolled W-16235747
|
|
362
380
|
PredictionOutputRepresentation:
|
|
363
381
|
description: Predictions for a given request
|
|
@@ -463,22 +481,22 @@ types:
|
|
|
463
481
|
properties:
|
|
464
482
|
maxInsights:
|
|
465
483
|
description: .
|
|
466
|
-
type: integer
|
|
484
|
+
type: integer | nil
|
|
467
485
|
required: false # TODO Hand-rolled W-9314597
|
|
468
486
|
predictionModel:
|
|
469
487
|
description: .
|
|
470
488
|
type: string
|
|
471
|
-
required:
|
|
489
|
+
required: true # TODO Hand-rolled W-16235747
|
|
472
490
|
predictionPlatform:
|
|
473
491
|
description: .
|
|
474
|
-
type: string
|
|
492
|
+
type: string | nil
|
|
475
493
|
required: false # TODO Hand-rolled W-16235747
|
|
476
494
|
records:
|
|
477
495
|
type: WrappedList | nil
|
|
478
|
-
required:
|
|
496
|
+
required: false # TODO Hand-rolled W-9314597
|
|
479
497
|
scoreFilterCriteria:
|
|
480
498
|
description: .
|
|
481
|
-
type: string
|
|
499
|
+
type: string | nil
|
|
482
500
|
enum:
|
|
483
501
|
- GreaterThan
|
|
484
502
|
- GreaterThanEquals
|
|
@@ -491,7 +509,7 @@ types:
|
|
|
491
509
|
required: false # TODO Hand-rolled W-9314597
|
|
492
510
|
sortingOrder:
|
|
493
511
|
description: .
|
|
494
|
-
type: string
|
|
512
|
+
type: string | nil
|
|
495
513
|
enum:
|
|
496
514
|
- Asc
|
|
497
515
|
- Desc
|
|
@@ -507,20 +525,20 @@ types:
|
|
|
507
525
|
predictionModel:
|
|
508
526
|
description: .
|
|
509
527
|
type: string
|
|
510
|
-
required:
|
|
528
|
+
required: true # TODO Hand-rolled W-9314597
|
|
511
529
|
predictionOutputObjects:
|
|
512
530
|
description: .
|
|
513
531
|
type: array
|
|
514
532
|
items:
|
|
515
|
-
type: PredictionOutputObject
|
|
533
|
+
type: PredictionOutputObject | nil
|
|
516
534
|
required: false # TODO Hand-rolled W-9314597
|
|
517
535
|
predictionPlatform:
|
|
518
536
|
description: .
|
|
519
|
-
type: string
|
|
537
|
+
type: string | nil
|
|
520
538
|
required: false # TODO Hand-rolled W-9314597
|
|
521
539
|
predictionType:
|
|
522
540
|
description: .
|
|
523
|
-
type: string
|
|
541
|
+
type: string | nil
|
|
524
542
|
required: false # TODO Hand-rolled W-9314597
|
|
525
543
|
status:
|
|
526
544
|
description: .
|
|
@@ -528,7 +546,7 @@ types:
|
|
|
528
546
|
required: true
|
|
529
547
|
usecaseName:
|
|
530
548
|
description: .
|
|
531
|
-
type: string
|
|
549
|
+
type: string | nil
|
|
532
550
|
required: true # TODO Hand-rolled W-9314597
|
|
533
551
|
# TODO Hand-rolled W-16235747
|
|
534
552
|
PredictionRequestWrapperRepresentation:
|
|
@@ -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:
|
|
936
|
+
type: PredictionRequestRepresentation
|
|
919
937
|
(oas-body-name): predictionRequest
|