@salesforce/lds-adapters-platform-slack-bridge 1.341.0 → 1.343.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/dist/es/es2018/platform-slack-bridge.js +550 -374
- package/dist/es/es2018/types/src/generated/adapters/postSlackConversationMark.d.ts +17 -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 +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectSlackbridgeTeamChannelMarkByChannelIdAndTeamId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/SlackBridgeConversationMarkOutputRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +953 -774
- package/src/raml/api.raml +36 -0
- package/src/raml/luvio.raml +7 -0
package/src/raml/api.raml
CHANGED
|
@@ -140,6 +140,17 @@ types:
|
|
|
140
140
|
searchString:
|
|
141
141
|
description: String used to search this list of conversations (Optional)
|
|
142
142
|
type: string
|
|
143
|
+
SlackBridgeConversationMarkOutputRepresentation:
|
|
144
|
+
description: Representation of a successful call to update the read cursor in
|
|
145
|
+
a slack channel.
|
|
146
|
+
type: object
|
|
147
|
+
properties:
|
|
148
|
+
channelId:
|
|
149
|
+
description: Id of the Channel to which this message belongs
|
|
150
|
+
type: string
|
|
151
|
+
messageTs:
|
|
152
|
+
description: The timestamp of the message that was marked read
|
|
153
|
+
type: string
|
|
143
154
|
SlackBridgeConversationMemberOutputRepresentation:
|
|
144
155
|
description: Contains the details of a Slack member for the Slack conversation
|
|
145
156
|
type: object
|
|
@@ -717,6 +728,31 @@ types:
|
|
|
717
728
|
type: SlackBridgeRecordChannelInfoOutputRepresentation
|
|
718
729
|
/team/{teamId}:
|
|
719
730
|
/channel/{channelId}:
|
|
731
|
+
/mark:
|
|
732
|
+
post:
|
|
733
|
+
displayName: postSlackConversationMark
|
|
734
|
+
description: Request to set the read marker on a slack conversation
|
|
735
|
+
responses:
|
|
736
|
+
'200':
|
|
737
|
+
description: Success
|
|
738
|
+
body:
|
|
739
|
+
application/json:
|
|
740
|
+
type: SlackBridgeConversationMarkOutputRepresentation
|
|
741
|
+
queryParameters:
|
|
742
|
+
messageTs:
|
|
743
|
+
description: The timestamp of the message being marked read.
|
|
744
|
+
type: string
|
|
745
|
+
#override connect api generated value
|
|
746
|
+
required: true
|
|
747
|
+
uriParameters:
|
|
748
|
+
channelId:
|
|
749
|
+
description: Id of the Slack channel where the message exists
|
|
750
|
+
type: string
|
|
751
|
+
required: true
|
|
752
|
+
teamId:
|
|
753
|
+
description: Id of the Slack team where the conversation exists
|
|
754
|
+
type: string
|
|
755
|
+
required: true
|
|
720
756
|
/members:
|
|
721
757
|
get:
|
|
722
758
|
displayName: getSlackConversationMembers
|
package/src/raml/luvio.raml
CHANGED
|
@@ -41,6 +41,9 @@ types:
|
|
|
41
41
|
SlackBridgeRecordChannelInfoOutputRepresentation:
|
|
42
42
|
(luvio.key):
|
|
43
43
|
relatedRecordId: relatedRecordId
|
|
44
|
+
SlackBridgeConversationMarkOutputRepresentation:
|
|
45
|
+
(luvio.key):
|
|
46
|
+
channelId: channelId
|
|
44
47
|
|
|
45
48
|
/connect/slackbridge:
|
|
46
49
|
/conversation/messages:
|
|
@@ -66,6 +69,10 @@ types:
|
|
|
66
69
|
relatedRecordId: urlParams.relatedRecordId
|
|
67
70
|
/team/{teamId}:
|
|
68
71
|
/channel/{channelId}:
|
|
72
|
+
/mark:
|
|
73
|
+
post:
|
|
74
|
+
(luvio.adapter):
|
|
75
|
+
name: postSlackConversationMark
|
|
69
76
|
/members:
|
|
70
77
|
get:
|
|
71
78
|
(luvio.adapter):
|