@salesforce/lds-adapters-platform-slack-bridge 1.332.0-dev17 → 1.332.0-dev19

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/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,24 @@ 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
581
+ teamId:
582
+ description: The id of the Slack team (Workspace or Enterprise Org) where
583
+ the related threads exist
584
+ type: string
564
585
  SlackBridgeUpdateMessageInputRepresentation:
565
586
  description: Contains the parameters to update a message to Slack
566
587
  type: object
@@ -752,6 +773,21 @@ types:
752
773
  description: Id of the record to which the Slack Conversation is related.
753
774
  type: string
754
775
  required: true
776
+ /related_threads/entity/{entityId}:
777
+ get:
778
+ displayName: getSlackRelatedThreads
779
+ description: Request to get Related Threads
780
+ responses:
781
+ '200':
782
+ description: Success
783
+ body:
784
+ application/json:
785
+ type: SlackBridgeRelatedThreadsOutputRepresentation
786
+ uriParameters:
787
+ entityId:
788
+ description: Entity ID to get related threads
789
+ type: string
790
+ required: true
755
791
  /team/{teamId}:
756
792
  /channel/{channelId}:
757
793
  /mark:
@@ -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