@salesforce/lds-adapters-service-einstein-copilot-bot 1.287.0-dev16 → 1.287.0-dev17
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 +567 -273
- package/dist/es/es2018/types/src/generated/adapters/getCopilotObjects.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecommendedActions.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectCopilotObjects.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRecommendedActions.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/ConversationRuntimeProxyMessageRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CopilotObjectInfoRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CopilotObjectListRepresentation.d.ts +30 -0
- package/package.json +3 -3
- package/sfdc/index.js +353 -47
- package/src/raml/api.raml +60 -18
- package/src/raml/luvio.raml +11 -4
package/src/raml/api.raml
CHANGED
|
@@ -185,6 +185,10 @@ types:
|
|
|
185
185
|
enum:
|
|
186
186
|
- Buttons
|
|
187
187
|
- Menu
|
|
188
|
+
isContentSafe:
|
|
189
|
+
description: Flag to indicate if content is safe
|
|
190
|
+
type: boolean
|
|
191
|
+
required: false
|
|
188
192
|
ConversationRuntimeProxyRepresentation:
|
|
189
193
|
description: Represents the results of a conversation runtime proxy message request
|
|
190
194
|
type: object
|
|
@@ -275,6 +279,25 @@ types:
|
|
|
275
279
|
submitFeedbackStatus:
|
|
276
280
|
description: Bot Runtime feedback response
|
|
277
281
|
type: string
|
|
282
|
+
CopilotObjectInfoRepresentation:
|
|
283
|
+
description: Object information, includes object api name and label
|
|
284
|
+
type: object
|
|
285
|
+
properties:
|
|
286
|
+
apiName:
|
|
287
|
+
description: The object API name
|
|
288
|
+
type: string
|
|
289
|
+
label:
|
|
290
|
+
description: The object label
|
|
291
|
+
type: string
|
|
292
|
+
CopilotObjectListRepresentation:
|
|
293
|
+
description: List of objects that can be used within UI API end-points
|
|
294
|
+
type: object
|
|
295
|
+
properties:
|
|
296
|
+
objects:
|
|
297
|
+
description: List of objects
|
|
298
|
+
type: array
|
|
299
|
+
items:
|
|
300
|
+
type: CopilotObjectInfoRepresentation
|
|
278
301
|
CopilotQuickActionRepresentation:
|
|
279
302
|
description: Represents a Copilot QuickAction which can be executed by a Copilot client.
|
|
280
303
|
type: object
|
|
@@ -576,20 +599,39 @@ types:
|
|
|
576
599
|
objectType:
|
|
577
600
|
type: string
|
|
578
601
|
required: true
|
|
579
|
-
/copilot
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
602
|
+
/copilot:
|
|
603
|
+
/feedback:
|
|
604
|
+
post:
|
|
605
|
+
displayName: postConversationLLMFeedback
|
|
606
|
+
description: Submit feedback to the chatbot runtime.
|
|
607
|
+
responses:
|
|
608
|
+
'200':
|
|
609
|
+
description: Success
|
|
610
|
+
body:
|
|
611
|
+
application/json:
|
|
612
|
+
type: CopilotLLMFeedbackOutputRepresentation
|
|
613
|
+
body:
|
|
614
|
+
application/json:
|
|
615
|
+
type: CopilotLLMFeedbackInputRepresentation
|
|
616
|
+
(oas-body-name): submitFeedback
|
|
617
|
+
/objects:
|
|
618
|
+
get:
|
|
619
|
+
displayName: getCopilotObjects
|
|
620
|
+
description: Provides the list of ui-api objects to be used in record picker
|
|
621
|
+
in copilot
|
|
622
|
+
responses:
|
|
623
|
+
'200':
|
|
624
|
+
description: Success
|
|
625
|
+
body:
|
|
626
|
+
application/json:
|
|
627
|
+
type: CopilotObjectListRepresentation
|
|
628
|
+
queryParameters:
|
|
629
|
+
limit:
|
|
630
|
+
type: integer
|
|
631
|
+
required: false
|
|
632
|
+
searchTerm:
|
|
633
|
+
type: string
|
|
634
|
+
required: false
|
|
593
635
|
/follow-up-actions:
|
|
594
636
|
post:
|
|
595
637
|
displayName: getFollowUpActions
|
|
@@ -620,7 +662,7 @@ types:
|
|
|
620
662
|
required: false
|
|
621
663
|
pageType:
|
|
622
664
|
type: string
|
|
623
|
-
required:
|
|
665
|
+
required: true
|
|
624
666
|
actionName:
|
|
625
667
|
type: string
|
|
626
668
|
required: false
|
|
@@ -629,13 +671,13 @@ types:
|
|
|
629
671
|
required: false
|
|
630
672
|
customApplicationName:
|
|
631
673
|
type: string
|
|
632
|
-
required:
|
|
674
|
+
required: true
|
|
633
675
|
sessionId:
|
|
634
676
|
type: string
|
|
635
|
-
required:
|
|
677
|
+
required: true
|
|
636
678
|
formFactor:
|
|
637
679
|
type: string
|
|
638
|
-
required:
|
|
680
|
+
required: true
|
|
639
681
|
enum:
|
|
640
682
|
- Large
|
|
641
683
|
- Medium
|
package/src/raml/luvio.raml
CHANGED
|
@@ -39,6 +39,8 @@ types:
|
|
|
39
39
|
(luvio.ttl): 900000
|
|
40
40
|
CopilotFollowUpActionsRepresentation:
|
|
41
41
|
(luvio.ttl): 900000
|
|
42
|
+
CopilotObjectListRepresentation:
|
|
43
|
+
(luvio.ttl): 900000
|
|
42
44
|
|
|
43
45
|
/connect:
|
|
44
46
|
/conversation-runtime-proxy:
|
|
@@ -61,7 +63,12 @@ types:
|
|
|
61
63
|
get:
|
|
62
64
|
(luvio.adapter):
|
|
63
65
|
name: getRecommendedActions
|
|
64
|
-
/copilot
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
/copilot:
|
|
67
|
+
/feedback:
|
|
68
|
+
post:
|
|
69
|
+
(luvio.adapter):
|
|
70
|
+
name: submitFeedback
|
|
71
|
+
/objects:
|
|
72
|
+
get:
|
|
73
|
+
(luvio.adapter):
|
|
74
|
+
name: getCopilotObjects
|