@salesforce/lds-adapters-platform-learning-content 1.296.1 → 1.297.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/platform-learning-content.js +247 -64
- package/dist/es/es2018/types/src/generated/adapters/submitForCoachingMomentsProductPitchFeedback.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postLearningContentPlatformCoachingMomentsAiProductPitchFeedback.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAIFeedbackSummaryOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/CoachingAIProductPitchFeedbackInputRepresentation.d.ts +31 -0
- package/package.json +4 -4
- package/sfdc/index.js +867 -681
- package/src/raml/api.raml +37 -1
- package/src/raml/luvio.raml +8 -0
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: '62.0'
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
@@ -56,6 +56,27 @@ types:
|
|
|
56
56
|
feedback:
|
|
57
57
|
description: Feedback in the form of rich text
|
|
58
58
|
type: string
|
|
59
|
+
CoachingAIFeedbackSummaryOutputRepresentation:
|
|
60
|
+
description: This representation defines the coaching AI feedback summary with
|
|
61
|
+
the generation ID
|
|
62
|
+
type: object
|
|
63
|
+
properties:
|
|
64
|
+
feedback:
|
|
65
|
+
description: Coaching AI feedback summary
|
|
66
|
+
type: string
|
|
67
|
+
generationId:
|
|
68
|
+
description: Generation ID for the coaching AI feedback summary
|
|
69
|
+
type: string
|
|
70
|
+
CoachingAIProductPitchFeedbackInputRepresentation:
|
|
71
|
+
description: Input representation for submitting the product pitch call
|
|
72
|
+
type: object
|
|
73
|
+
properties:
|
|
74
|
+
callId:
|
|
75
|
+
description: Call Id selected by user to get the Product Pitch AI Feedback
|
|
76
|
+
type: string
|
|
77
|
+
productId:
|
|
78
|
+
description: Product Id selected by user to get Product Pitch AI Feedback
|
|
79
|
+
type: string | nil
|
|
59
80
|
EvaluateLearningItemInputWrapperRepresentation: # TODO Hand-rolled W-8334626
|
|
60
81
|
description: Wrapper for evaluate learning item input representation
|
|
61
82
|
type: object
|
|
@@ -623,6 +644,21 @@ types:
|
|
|
623
644
|
application/json:
|
|
624
645
|
type: CoachingAICallSubmissionInputRepresentation
|
|
625
646
|
(oas-body-name): coachingAICallSubmissionInputRepresentation
|
|
647
|
+
/moments/ai-product-pitch-feedback:
|
|
648
|
+
post:
|
|
649
|
+
displayName: postCoachingAIProductPitchFeedback
|
|
650
|
+
description: Return the coaching AI product pitch feedback for the submitted
|
|
651
|
+
call
|
|
652
|
+
responses:
|
|
653
|
+
'200':
|
|
654
|
+
description: Success
|
|
655
|
+
body:
|
|
656
|
+
application/json:
|
|
657
|
+
type: CoachingAIFeedbackSummaryOutputRepresentation
|
|
658
|
+
body:
|
|
659
|
+
application/json:
|
|
660
|
+
type: CoachingAIProductPitchFeedbackInputRepresentation
|
|
661
|
+
(oas-body-name): coachingAIProductPitchFeedbackInputRepresentation
|
|
626
662
|
/{learningItemSubmissionId}/ai-feedback:
|
|
627
663
|
get:
|
|
628
664
|
displayName: getCoachingAIFeedback
|
package/src/raml/luvio.raml
CHANGED
|
@@ -55,6 +55,10 @@ types:
|
|
|
55
55
|
(luvio.ttl): 15000 # 15 seconds
|
|
56
56
|
(luvio.key):
|
|
57
57
|
generation_id: generationId
|
|
58
|
+
CoachingAIFeedbackSummaryOutputRepresentation:
|
|
59
|
+
(luvio.ttl): 15000 # 15 seconds
|
|
60
|
+
(luvio.key):
|
|
61
|
+
generation_id: generationId
|
|
58
62
|
|
|
59
63
|
/learning-content-platform:
|
|
60
64
|
/coaching:
|
|
@@ -62,6 +66,10 @@ types:
|
|
|
62
66
|
post:
|
|
63
67
|
(luvio.adapter):
|
|
64
68
|
name: submitForCoachingAIFeedback
|
|
69
|
+
/moments/ai-product-pitch-feedback:
|
|
70
|
+
post:
|
|
71
|
+
(luvio.adapter):
|
|
72
|
+
name: submitForCoachingMomentsProductPitchFeedback
|
|
65
73
|
/{learningItemSubmissionId}/ai-feedback:
|
|
66
74
|
get:
|
|
67
75
|
(luvio.adapter):
|