@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/dist/es/es2018/platform-slack-bridge.js +727 -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 +48 -0
- package/package.json +3 -3
- package/sfdc/index.js +2530 -2191
- package/src/raml/api.raml +36 -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,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:
|
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
|