@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev17 → 1.332.0-dev18
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-slack-bridge.js +713 -396
- package/dist/es/es2018/types/src/generated/adapters/getRelatedThreads.d.ts +27 -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 +3 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectSlackbridgeRelated_threadsEntityByEntityId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRelatedThreadsOutputRepresentation.d.ts +45 -0
- package/package.json +3 -3
- package/sfdc/index.js +2523 -2198
- package/src/raml/api.raml +32 -0
- package/src/raml/luvio.raml +6 -0
package/src/raml/api.raml
CHANGED
|
@@ -397,6 +397,9 @@ types:
|
|
|
397
397
|
properties:
|
|
398
398
|
//:
|
|
399
399
|
type: any
|
|
400
|
+
channelId:
|
|
401
|
+
description: Id of the Channel to which this message belong to
|
|
402
|
+
type: string | nil
|
|
400
403
|
files:
|
|
401
404
|
description: List of files attached to this message
|
|
402
405
|
type: array
|
|
@@ -561,6 +564,20 @@ types:
|
|
|
561
564
|
teamId:
|
|
562
565
|
description: The Slack ID of the Slack team
|
|
563
566
|
type: string
|
|
567
|
+
SlackBridgeRelatedThreadsOutputRepresentation:
|
|
568
|
+
description: Contains the Slack Related Threads
|
|
569
|
+
type: object
|
|
570
|
+
properties:
|
|
571
|
+
conversations:
|
|
572
|
+
description: List of Slack conversation information
|
|
573
|
+
type: array
|
|
574
|
+
items:
|
|
575
|
+
type: SlackBridgeConversationInfoOutputRepresentation
|
|
576
|
+
messages:
|
|
577
|
+
description: List of Slack messages
|
|
578
|
+
type: array
|
|
579
|
+
items:
|
|
580
|
+
type: SlackBridgeMessageOutputRepresentation
|
|
564
581
|
SlackBridgeUpdateMessageInputRepresentation:
|
|
565
582
|
description: Contains the parameters to update a message to Slack
|
|
566
583
|
type: object
|
|
@@ -752,6 +769,21 @@ types:
|
|
|
752
769
|
description: Id of the record to which the Slack Conversation is related.
|
|
753
770
|
type: string
|
|
754
771
|
required: true
|
|
772
|
+
/related_threads/entity/{entityId}:
|
|
773
|
+
get:
|
|
774
|
+
displayName: getSlackRelatedThreads
|
|
775
|
+
description: Request to get Related Threads
|
|
776
|
+
responses:
|
|
777
|
+
'200':
|
|
778
|
+
description: Success
|
|
779
|
+
body:
|
|
780
|
+
application/json:
|
|
781
|
+
type: SlackBridgeRelatedThreadsOutputRepresentation
|
|
782
|
+
uriParameters:
|
|
783
|
+
entityId:
|
|
784
|
+
description: Entity ID to get related threads
|
|
785
|
+
type: string
|
|
786
|
+
required: true
|
|
755
787
|
/team/{teamId}:
|
|
756
788
|
/channel/{channelId}:
|
|
757
789
|
/mark:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -41,6 +41,8 @@ types:
|
|
|
41
41
|
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
42
42
|
(luvio.key):
|
|
43
43
|
relatedRecordId: relatedRecordId
|
|
44
|
+
SlackBridgeRelatedThreadsOutputRepresentation:
|
|
45
|
+
(luvio.ttl): 500
|
|
44
46
|
SlackBridgeConversationMarkOutputRepresentation:
|
|
45
47
|
(luvio.key):
|
|
46
48
|
channelId: channelId
|
|
@@ -156,3 +158,7 @@ types:
|
|
|
156
158
|
(luvio.key):
|
|
157
159
|
slackUserId: urlParams.slackUserId
|
|
158
160
|
teamId: urlParams.teamId
|
|
161
|
+
/related_threads/entity/{entityId}:
|
|
162
|
+
get:
|
|
163
|
+
(luvio.adapter):
|
|
164
|
+
name: getRelatedThreads
|