@salesforce/lds-adapters-service-einstein-copilot-bot 1.316.0 → 1.317.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/service-einstein-copilot-bot.js +1079 -504
- package/dist/es/es2018/types/src/generated/adapters/getBotId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecommendedUtterances.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getWelcomeUtterances.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectConversationRuntimeProxy.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRecommendedUtterances.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectWelcomeUtterances.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/RecommendedUtterancesRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/WelcomeTopicSuggestedUtterancesRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/WelcomeUtterancesRepresentation.d.ts +36 -0
- package/package.json +3 -3
- package/sfdc/index.js +1030 -431
- package/src/raml/api.raml +75 -0
- package/src/raml/luvio.raml +12 -0
package/src/raml/api.raml
CHANGED
|
@@ -491,6 +491,48 @@ types:
|
|
|
491
491
|
description: Error message for the failed get operation
|
|
492
492
|
type: string
|
|
493
493
|
required: false
|
|
494
|
+
RecommendedUtterancesRepresentation:
|
|
495
|
+
description: Represents the result of a get recommended utterances request.
|
|
496
|
+
type: object
|
|
497
|
+
properties:
|
|
498
|
+
utterances:
|
|
499
|
+
description: Recommended utterances.
|
|
500
|
+
type: array
|
|
501
|
+
items:
|
|
502
|
+
type: string
|
|
503
|
+
isSuccess:
|
|
504
|
+
description: Success indicator of the get operation.
|
|
505
|
+
type: boolean
|
|
506
|
+
errorMessage:
|
|
507
|
+
description: Error message for the failed get operation
|
|
508
|
+
type: string
|
|
509
|
+
required: false
|
|
510
|
+
WelcomeTopicSuggestedUtterancesRepresentation:
|
|
511
|
+
description: A single topic and utterances suggested for that topic.
|
|
512
|
+
properties:
|
|
513
|
+
topicApiName:
|
|
514
|
+
type: string
|
|
515
|
+
description: The API Name of the Topic
|
|
516
|
+
utterances:
|
|
517
|
+
type: array
|
|
518
|
+
items:
|
|
519
|
+
type: string
|
|
520
|
+
WelcomeUtterancesRepresentation:
|
|
521
|
+
description: Represents the result of a get welcome-utterances request.
|
|
522
|
+
type: object
|
|
523
|
+
properties:
|
|
524
|
+
topicsAndSuggestedUtterances:
|
|
525
|
+
description: List of topics and their corresponding suggested utterances.
|
|
526
|
+
type: array
|
|
527
|
+
items:
|
|
528
|
+
type: WelcomeTopicSuggestedUtterancesRepresentation
|
|
529
|
+
isSuccess:
|
|
530
|
+
description: Success indicator of the get operation.
|
|
531
|
+
type: boolean
|
|
532
|
+
errorMessage:
|
|
533
|
+
description: Error message for the failed get operation
|
|
534
|
+
type: string
|
|
535
|
+
required: false
|
|
494
536
|
EsTypeMessageRepresentation:
|
|
495
537
|
description: Represents a ES type message
|
|
496
538
|
type: object
|
|
@@ -571,6 +613,11 @@ types:
|
|
|
571
613
|
body:
|
|
572
614
|
application/json:
|
|
573
615
|
type: CopilotBotInfoRepresentation
|
|
616
|
+
queryParameters:
|
|
617
|
+
agentType:
|
|
618
|
+
description: agent type of the bot
|
|
619
|
+
type: string
|
|
620
|
+
required: false
|
|
574
621
|
post:
|
|
575
622
|
displayName: sendMessage
|
|
576
623
|
description: Send messages to the chatbot runtime.
|
|
@@ -661,6 +708,20 @@ types:
|
|
|
661
708
|
application/json:
|
|
662
709
|
type: FollowUpActionsListInputRepresentation
|
|
663
710
|
(oas-body-name): postBody
|
|
711
|
+
/recommended-utterances:
|
|
712
|
+
get:
|
|
713
|
+
displayName: getRecommendedUtterances
|
|
714
|
+
description: Provide a list of recommended utterances based on the criteria passed in.
|
|
715
|
+
responses:
|
|
716
|
+
'200':
|
|
717
|
+
description: Success
|
|
718
|
+
body:
|
|
719
|
+
application/json:
|
|
720
|
+
type: RecommendedUtterancesRepresentation
|
|
721
|
+
queryParameters:
|
|
722
|
+
sessionId:
|
|
723
|
+
type: string
|
|
724
|
+
required: true
|
|
664
725
|
/recommended-actions:
|
|
665
726
|
get:
|
|
666
727
|
displayName: getRecommendedActions
|
|
@@ -697,3 +758,17 @@ types:
|
|
|
697
758
|
- Large
|
|
698
759
|
- Medium
|
|
699
760
|
- Small
|
|
761
|
+
/welcome-utterances:
|
|
762
|
+
get:
|
|
763
|
+
displayName: getWelcomeUtterances
|
|
764
|
+
description: Provides a list of recommended utterances for users to try out copilot capabilities from the welcome screen.
|
|
765
|
+
responses:
|
|
766
|
+
'200':
|
|
767
|
+
description: Success
|
|
768
|
+
body:
|
|
769
|
+
application/json:
|
|
770
|
+
type: WelcomeUtterancesRepresentation
|
|
771
|
+
queryParameters:
|
|
772
|
+
sessionId:
|
|
773
|
+
type: string
|
|
774
|
+
required: false
|
package/src/raml/luvio.raml
CHANGED
|
@@ -37,10 +37,14 @@ types:
|
|
|
37
37
|
(luvio.ttl): 900000
|
|
38
38
|
RecommendedActionsRepresentation:
|
|
39
39
|
(luvio.ttl): 900000
|
|
40
|
+
RecommendedUtterancesRepresentation:
|
|
41
|
+
(luvio.ttl): 900000
|
|
40
42
|
CopilotFollowUpActionsRepresentation:
|
|
41
43
|
(luvio.ttl): 900000
|
|
42
44
|
CopilotObjectListRepresentation:
|
|
43
45
|
(luvio.ttl): 900000
|
|
46
|
+
WelcomeUtterancesRepresentation:
|
|
47
|
+
(luvio.ttl): 30000
|
|
44
48
|
|
|
45
49
|
/connect:
|
|
46
50
|
/conversation-runtime-proxy:
|
|
@@ -63,6 +67,14 @@ types:
|
|
|
63
67
|
get:
|
|
64
68
|
(luvio.adapter):
|
|
65
69
|
name: getRecommendedActions
|
|
70
|
+
/recommended-utterances:
|
|
71
|
+
get:
|
|
72
|
+
(luvio.adapter):
|
|
73
|
+
name: getRecommendedUtterances
|
|
74
|
+
/welcome-utterances:
|
|
75
|
+
get:
|
|
76
|
+
(luvio.adapter):
|
|
77
|
+
name: getWelcomeUtterances
|
|
66
78
|
/copilot:
|
|
67
79
|
/feedback:
|
|
68
80
|
post:
|