@salesforce/lds-adapters-platform-slack-bridge 1.347.0 → 1.348.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/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
@@ -583,10 +600,15 @@ types:
583
600
  type: string | nil
584
601
  image24:
585
602
  description: 24x24 version of the Slack User image
603
+ required: false
586
604
  type: string | nil
587
605
  imageOriginal:
588
606
  description: Original version of the Slack User image
589
607
  type: string | nil
608
+ profileImage:
609
+ description: Profile image used for this Slack user
610
+ required: false
611
+ type: string | nil
590
612
  inHuddle:
591
613
  description: Is this Slack User currently in a Huddle?
592
614
  type: boolean | nil
@@ -596,6 +618,10 @@ types:
596
618
  isExternal:
597
619
  description: Is Slack User external?
598
620
  type: boolean | nil
621
+ isWorkflowBot:
622
+ description: Is this a Workflow Bot?
623
+ required: false
624
+ type: boolean
599
625
  name:
600
626
  description: Name of the Slack User
601
627
  type: string
@@ -743,6 +769,21 @@ types:
743
769
  description: Id of the record to which the Slack Conversation is related.
744
770
  type: string
745
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
746
787
  /team/{teamId}:
747
788
  /channel/{channelId}:
748
789
  /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